[Bug c++/33937] static variables destruction results in a segmentation fault (Coredumps)
ssharma at thegoldensource dot com
gcc-bugzilla@gcc.gnu.org
Mon Dec 3 05:10:00 GMT 2007
------- Comment #2 from ssharma at thegoldensource dot com 2007-12-03 05:09 -------
Providing a test case would be difficult since the code is huge cannot be
emailed, however the problem got resolved only when we removed all static
global variables and replaced them by either local variables or member
variables or just removed the static keyword.
But we are still not sure why the Linux gcc is not destroying the objects when
the application is shut down. The same conversion is working on the Solaris
environment without any problems.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33937
More information about the Gcc-bugs
mailing list