Date: Fri, 26 Feb 2016 21:50:03 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 207325] projects/clang380-import for TARGET_ARCH=powerpc : c++ exceptions cause SEGV (9 line program) Message-ID: <bug-207325-8-GmodC1oNBD@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-207325-8@https.bugs.freebsd.org/bugzilla/> References: <bug-207325-8@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D207325 --- Comment #3 from Mark Millard <markmi@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::termi= nate 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=3D0x41e12040) 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=3D<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=3D0xffffd090, tinfo=3D0x1810= d8c <typeinfo for std::exception@@GLIBCXX_3.4>, dest=3D<optimized out>) at ../../.././../gcc-4.9-20160210/libstdc++-v3/libsupc++/eh_throw.cc:87 #6 0x01800a3c in main () at exception_test.cpp:5 --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-207325-8-GmodC1oNBD>