[Bug 207359] head -r339076 TARGET_ARCH=powerpc64 via powerpc64-gcc : some or all c++ exceptions unbounded loop in _Unwind_RaiseException

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Mar 18 07:36:38 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=207359

Andrey Rusev <andrey.roussev at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |andrey.roussev at gmail.com

--- Comment #12 from Andrey Rusev <andrey.roussev at gmail.com> ---
I have similar error on FreeBSD 12 (not on FreeBSD 11 or older) on amd64: any
C++ exception to be caught will crash application:

[New LWP 100396 of process 21374]
libunwind: getEncodedP
/usr/src/contrib/llvm/projects/libunwind/src/AddressSpace.hpp:280 - unknown
pointer encoding
Thread 1 received signal SIGABRT, Aborted.
0x0000000801d2945a in thr_kill () from /lib/libc.so.7
(gdb) where
#0  0x0000000801d2945a in thr_kill () from /lib/libc.so.7
#1  0x0000000801d27844 in raise () from /lib/libc.so.7
#2  0x0000000801c9a079 in abort () from /lib/libc.so.7
#3  0x00000008005dff3e in ?? () from /lib/libgcc_s.so.1
#4  0x00000008005e0e49 in ?? () from /lib/libgcc_s.so.1
#5  0x00000008005e0d31 in ?? () from /lib/libgcc_s.so.1
#6  0x00000008005381ec in dl_iterate_phdr () from /libexec/ld-elf.so.1
#7  0x00000008005de422 in ?? () from /lib/libgcc_s.so.1
#8  0x00000008005dd21a in ?? () from /lib/libgcc_s.so.1
#9  0x00000008005dbd46 in _Unwind_RaiseException () from /lib/libgcc_s.so.1
#10 0x0000000801f7740d in __cxa_throw () from
/usr/local/lib/compat/libsupc++.so.1
#11 0x00000008006ae2b9 in MessageDecodeProxyContext::findContentType
(this=0x800f67320, hdrLen=@0x7fffffffd97c: 4)
    at /dailybuilds/CSPbuild/CSP/capilite/CMSMessage.cpp:121

As you can see I also get libunwind warning as in Bug #234201

Application is built by GCC 4.2.1 20070719 on FreeBSD 8.1-RELEASE-p12.

If no excetion is thrown everything works fine.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list