Pruthvi015 Posted October 30, 2014 Report Share Posted October 30, 2014 Hi all, I'm facing problem in Centos i686 architecture .I'm installed Systemc-2.3.1 according to i686 architecture .It's compiling fine but while running it's giving segmentation Fault (core dumped) .Please tell me solution Thanks, Pruthvi Quote Link to comment Share on other sites More sharing options...
ralph.goergen Posted October 30, 2014 Report Share Posted October 30, 2014 Hi. I think there is a little bit more information needed to help you. Could you please post a stacktrace or the code position of the segmentation fault? Or could you post a minimal working example that triggers the observed problem? Greetings Ralph maehne 1 Quote Link to comment Share on other sites More sharing options...
Pruthvi015 Posted November 12, 2014 Author Report Share Posted November 12, 2014 Hi Ralph, While am running same code in other architecture (X86_64) am not getting any error .If i run in I686 i'm getting following error Program received signal SIGSEGV, Segmentation fault.0x009d2033 in __memcpy_ssse3_rep () from /lib/libc.so.6Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.132.el6_5.2.i686 libgcc-4.4.7-4.el6.i686 libstdc++-4.4.7-4.el6.i686(gdb) Thanks, Pruthvi Quote Link to comment Share on other sites More sharing options...
apfitch Posted November 12, 2014 Report Share Posted November 12, 2014 Using the magic of Google... There's a post here http://eab.abime.net/showthread.php?t=74226 which suggests it's SELINUX related, and suggests a possible work-around as follows: Found a workarround. This on terminal starts fs-uae correctly: __GL_WRITE_TEXT_SECTION=0 fs-uae And the relative documentation for it (/usr/share/doc/nvidia-340/html/openglenvvariables.html) Disabling executable memory optimizations By default, the NVIDIA driver will attempt to use optimizations which rely on being able to write to executable memory. This may cause problems in certain system configurations (e.g., on SELinux when the "allow_execmem" boolean is disabled or "deny_execmem" boolean is enabled, and on grsecurity kernels configured with CONFIG_PAX_MPROTECT). When possible, the driver will attempt to detect when it is running on an unsupported configuration and disable these optimizations automatically. If the __GL_WRITE_TEXT_SECTION environment variable is set to 0, the driver will unconditionally disable these optimizations. Obviously replace fs-uae with the name of your SystemC executable, regards Alan Quote Link to comment Share on other sites More sharing options...
Pruthvi015 Posted November 13, 2014 Author Report Share Posted November 13, 2014 Hi, I read the link and i try to solve the problem but am unable to solve the issue .Can you explain more ??? Thanks, Pruthvi Quote Link to comment Share on other sites More sharing options...
apfitch Posted November 13, 2014 Report Share Posted November 13, 2014 No sorry, I just copied some stuff from Google, I don't really know what it means... Alan Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.