Problems with global and static object destruction on exit g++-3.3.5

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm having a problem with global and static objects when they get destructed on program exit. I get the following stack:

#0  0xb7b8cdb0 in ?? ()
#1  0xb775f65a in __tcf_2 () at WSDLTypeMapping.cpp:10
#2  0xb7bca192 in exit () from /lib/tls/libc.so.6
#3  0x080c6917 in main (argc=4, argv=0xbfffd254) at main.c:625

Can someone give me some suggestions? Previously I was having problems with segfaults when functions declared in the header file during destruction of an object, but moving those function to the .cpp, fixed those.

Also, before exit is being called, I dlclose() the library, because I dlopen() the lib. The lib that I dlclose unloads, however other libs that were loaded by that lib, do not unload on the dlclose...

Any help would be appreciated.

-Joey Ekstrom
begin:vcard
fn:Joseph C. Ekstrom
n:Ekstrom;Joseph C.
org:ekstrom.org
adr:;;131 S. 300 E.;Lindon;UT;84042;USA
email;internet:joey@xxxxxxxxxxx
tel;work:(801)225-1003 ext  108
tel;cell:(801)318-5272
url:http://www.ekstrom.org/~jce/
version:2.1
end:vcard


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux