From owner-freebsd-bugs@freebsd.org Mon Jan 18 22:04:40 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 22438A87DAA for ; Mon, 18 Jan 2016 22:04:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 07DD91CE8 for ; Mon, 18 Jan 2016 22:04:40 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u0IM4d9F081374 for ; Mon, 18 Jan 2016 22:04:39 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 206384] llvm libunwind segfaults while building lang/polyml Date: Mon, 18 Jan 2016 22:04:40 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: emaste@freebsd.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2016 22:04:40 -0000 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::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::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, exception_object=3D, stop=3D, stop_parameter=3D) + 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, stop_func=3D, stop_arg=3D) + 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, mask=3D= ) + 445 at thr_exit.c:242 frame #7: 0x0000000800ab4a5b libthr.so.3`_pthread_exit(status=3D) + 11 at thr_exit.c:188 frame #8: 0x0000000800aa982c libthr.so.3`thread_start(curthread=3D) + 300 at thr_create.c:2= 88 --=20 You are receiving this mail because: You are the assignee for the bug.=