This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33937] static variables destruction results in a segmentation fault (Coredumps)
- From: "ssharma at thegoldensource dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 3 Dec 2007 05:09:56 -0000
- Subject: [Bug c++/33937] static variables destruction results in a segmentation fault (Coredumps)
- References: <bug-33937-15280@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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