This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/33937] static variables destruction results in a segmentation fault (Coredumps)



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]