Date: Mon, 18 Jan 2016 22:04:40 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 206384] llvm libunwind segfaults while building lang/polyml Message-ID: <bug-206384-8@https.bugs.freebsd.org/bugzilla/>
index | next in thread | raw e-mail
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=206384 Bug ID: 206384 Summary: llvm libunwind segfaults while building lang/polyml Product: Base System Version: 11.0-CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: misc Assignee: freebsd-bugs@FreeBSD.org Reporter: emaste@freebsd.org As reported in PR206039 the lang/polyml build fails when using LLVM's libunwind, due to a segfault during the build. The segfault can be reproduced by running (in the workdir): echo | LD_LIBRARY_PATH=libpolyml/.libs .libs/polyimport -H 50 polytemp.txt -I . The crash looks like: volta% lldb .libs/polyimport -c polyimport.core (lldb) target create ".libs/polyimport" --core "polyimport.core" Core file '/home/emaste/src/ports/lang/polyml/work/polyml.5.5.2/polyimport.core' (x86_64) was loaded. (lldb) bt * thread #1: tid = 0, 0x0000000800efa731 libgcc_s.so.1`libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::setInfoBasedOnIPRegister(this=0x00007fffdfffd648, isReturnAddress=false) + 33 at UnwindCursor.hpp:1171, name = 'polyimport', stop reason = signal SIGSEGV * frame #0: 0x0000000800efa731 libgcc_s.so.1`libunwind::UnwindCursor<libunwind::LocalAddressSpace, libunwind::Registers_x86_64>::setInfoBasedOnIPRegister(this=0x00007fffdfffd648, isReturnAddress=false) + 33 at UnwindCursor.hpp:1171 frame #1: 0x0000000800ef960e libgcc_s.so.1`::unw_init_local(cursor=0x00007fffdfffd648, context=0x00007fffdfffdae0) + 190 at libunwind.cpp:73 frame #2: 0x0000000800ef8ed6 libgcc_s.so.1`unwind_phase2_forced(uc=<unavailable>, exception_object=<unavailable>, stop=<unavailable>, stop_parameter=<unavailable>) + 54 at UnwindLevel1.c:244 frame #3: 0x0000000800ef923c libgcc_s.so.1`_Unwind_ForcedUnwind(exception_object=0x0000000801e155f0, stop=0x0000000800ab4dd0, stop_parameter=0x0000000000000000) + 108 at UnwindLevel1.c:414 frame #4: 0x0000000800ab4c55 libthr.so.3`_pthread_exit_mask [inlined] _Unwind_ForcedUnwind(ex=<unavailable>, stop_func=<unavailable>, stop_arg=<unavailable>) + 501 at thr_exit.c:106 frame #5: 0x0000000800ab4c46 libthr.so.3`_pthread_exit_mask [inlined] thread_unwind + 41 at thr_exit.c:167 frame #6: 0x0000000800ab4c1d libthr.so.3`_pthread_exit_mask(status=<unavailable>, mask=<unavailable>) + 445 at thr_exit.c:242 frame #7: 0x0000000800ab4a5b libthr.so.3`_pthread_exit(status=<unavailable>) + 11 at thr_exit.c:188 frame #8: 0x0000000800aa982c libthr.so.3`thread_start(curthread=<unavailable>) + 300 at thr_create.c:288 -- You are receiving this mail because: You are the assignee for the bug.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206384-8>
