This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24189] crash at exit after dlclose with -fuse-cxa-atexit
- From: "hidden_peak at mail dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Oct 2005 14:17:12 -0000
- Subject: [Bug c++/24189] crash at exit after dlclose with -fuse-cxa-atexit
- References: <bug-24189-9098@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #7 from hidden_peak at mail dot ru 2005-10-04 14:17 -------
But may be this is problem in crtbeginS.o or crtendS.o? I.e. in something like
__cxa_finalize:
> nm /opt/gcc-3.4.4/lib/gcc/i686-pc-linux-gnu/3.4.4/crtbeginS.o
U _GLOBAL_OFFSET_TABLE_
w _Jv_RegisterClasses
00000000 ? __CTOR_LIST__
00000000 ? __DTOR_LIST__
00000000 ? __JCR_LIST__
w __cxa_finalize
00000000 t __do_global_dtors_aux
00000000 D __dso_handle
00000000 b completed.1
00000060 t frame_dummy
00000000 d p.0
> nm /opt/gcc-3.4.4/lib/gcc/i686-pc-linux-gnu/3.4.4/crtendS.o
U _GLOBAL_OFFSET_TABLE_
00000000 ? __CTOR_END__
00000000 ? __DTOR_END__
00000000 ? __FRAME_END__
00000000 ? __JCR_END__
00000000 t __do_global_ctors_aux
BTW, due to access to free memory the result may be SIGFAULT or not.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24189