Skip site navigation (1)Skip section navigation (2)
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/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206384

            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 reproduc=
ed
by running (in the workdir):

echo | LD_LIBRARY_PATH=3Dlibpolyml/.libs .libs/polyimport -H 50 polytemp.tx=
t -I .

The crash looks like:
volta% lldb .libs/polyimport -c polyimport.core=20
(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 =3D 0, 0x0000000800efa731
libgcc_s.so.1`libunwind::UnwindCursor<libunwind::LocalAddressSpace,
libunwind::Registers_x86_64>::setInfoBasedOnIPRegister(this=3D0x00007fffdff=
fd648,
isReturnAddress=3Dfalse) + 33 at UnwindCursor.hpp:1171, name =3D 'polyimpor=
t', stop
reason =3D signal SIGSEGV
  * frame #0: 0x0000000800efa731
libgcc_s.so.1`libunwind::UnwindCursor<libunwind::LocalAddressSpace,
libunwind::Registers_x86_64>::setInfoBasedOnIPRegister(this=3D0x00007fffdff=
fd648,
isReturnAddress=3Dfalse) + 33 at UnwindCursor.hpp:1171
    frame #1: 0x0000000800ef960e
libgcc_s.so.1`::unw_init_local(cursor=3D0x00007fffdfffd648,
context=3D0x00007fffdfffdae0) + 190 at libunwind.cpp:73
    frame #2: 0x0000000800ef8ed6
libgcc_s.so.1`unwind_phase2_forced(uc=3D<unavailable>,
exception_object=3D<unavailable>, stop=3D<unavailable>,
stop_parameter=3D<unavailable>) + 54 at UnwindLevel1.c:244
    frame #3: 0x0000000800ef923c
libgcc_s.so.1`_Unwind_ForcedUnwind(exception_object=3D0x0000000801e155f0,
stop=3D0x0000000800ab4dd0, stop_parameter=3D0x0000000000000000) + 108 at
UnwindLevel1.c:414
    frame #4: 0x0000000800ab4c55 libthr.so.3`_pthread_exit_mask [inlined]
_Unwind_ForcedUnwind(ex=3D<unavailable>, stop_func=3D<unavailable>,
stop_arg=3D<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=3D<unavailable>, mask=3D<unavailable>=
) + 445
at thr_exit.c:242
    frame #7: 0x0000000800ab4a5b
libthr.so.3`_pthread_exit(status=3D<unavailable>) + 11 at thr_exit.c:188
    frame #8: 0x0000000800aa982c
libthr.so.3`thread_start(curthread=3D<unavailable>) + 300 at thr_create.c:2=
88

--=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-206384-8>