This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Optimized exception problem!
- From: "Lev Assinovsky" <LAssinovsky at algorithm dot aelita dot com>
- To: "Gcc-Help (E-mail)" <gcc-help at gcc dot gnu dot org>
- Date: Tue, 18 May 2004 17:00:09 +0400
- Subject: Optimized exception problem!
Hi folks!
I have a big application and sometimes (not every build)
I get the following crash in the dynamically loaded shared object):
#0 0xdd8cefb7 in _lwp_kill () from /usr/lib/libc.so.1
#1 0xdd80a3ad in thr_kill () from /usr/lib/libthread.so.1
#2 0xdd8e50fd in raise () from /usr/lib/libc.so.1
#3 0xdd8cff5e in abort () from /usr/lib/libc.so.1
#4 0xdd9ec4bc in _ZN10__cxxabiv111__terminateEPFvvE () from /usr/ADCAgent/libstdc++.so.5
#5 0xdd9ec3a3 in __gxx_personality_v0 () from /usr/ADCAgent/libstdc++.so.5
#6 0xdd963d21 in _Unwind_GetTextRelBase () from /usr/ADCAgent/libgcc_s.so.1
#7 0xdd963e52 in _Unwind_RaiseException () from /usr/ADCAgent/libgcc_s.so.1
#8 0xdd9ec640 in __cxa_throw () from /usr/ADCAgent/libstdc++.so.5
#9 0xdb526552 in
...
...
It happens with gcc 3.2 in Solaris 8 Intel only (not in sparc) and with optimization (-O2, -O3).
Unfortunately I am unable to reproduce this bug in a small test case that's why
I can't show the source code here.
Could anybody suggest the way of how to catch the bug?
Or at least tell me please what the purpose of __gxx_personality_v0 function is?
I didn't find it in gcc source.
Any help will be greatly appreciated!
----
Lev Assinovsky
Quest Software
O&S InTrust Framework Division, Team Leader