[Bug 207325] projects/clang380-import for TARGET_ARCH=powerpc : c++ exceptions cause SEGV (9 line program)
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 26 21:50:03 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207325
--- Comment #3 from Mark Millard <markmi at dsl-only.net> ---
(In reply to Mark Millard from comment #2)
In the operation there are a sequence of 2 errors, the 2nd of which gets the
SEGV:
A) The catch clause is rejected (or not even found to check?) so std::terminate
is called
B) During the std::terminate related execution the SEGV happens.
(A) is the more fundamental issue but I'v not gotten far with it yet.
In discovering the (A)/(B) split I did get the following information but I will
be deferring investigating this stage for now. . .
During (B) an example backtrace from before the SEGV time frame is:
#0 _Unwind_Resume_or_Rethrow (exc=0x41e12040) at
/usr/src/gnu/lib/libgcc/../../../contrib/gcc/unwind.inc:255
#1 0x4188f2b8 in __cxxabiv1::__cxa_rethrow () at
../../.././../gcc-4.9-20160210/libstdc++-v3/libsupc++/eh_throw.cc:118
#2 0x418926c4 in __gnu_cxx::__verbose_terminate_handler () at
../../.././../gcc-4.9-20160210/libstdc++-v3/libsupc++/vterminate.cc:80
#3 0x4188edbc in __cxxabiv1::__terminate (handler=<optimized out>) at
../../.././../gcc-4.9-20160210/libstdc++-v3/libsupc++/eh_terminate.cc:47
#4 0x4188ee9c in std::terminate () at
../../.././../gcc-4.9-20160210/libstdc++-v3/libsupc++/eh_terminate.cc:57
#5 0x4188f250 in __cxxabiv1::__cxa_throw (obj=0xffffd090, tinfo=0x1810d8c
<typeinfo for std::exception@@GLIBCXX_3.4>, dest=<optimized out>)
at ../../.././../gcc-4.9-20160210/libstdc++-v3/libsupc++/eh_throw.cc:87
#6 0x01800a3c in main () at exception_test.cpp:5
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-bugs
mailing list