Date: Sat, 09 Mar 2019 18:05:08 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 236425] devel/llvm-devel: arm64 lldb crashes on x/i command Message-ID: <bug-236425-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236425 Bug ID: 236425 Summary: devel/llvm-devel: arm64 lldb crashes on x/i command Product: Ports & Packages Version: Latest Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: brooks@FreeBSD.org Reporter: jfc@mit.edu Assignee: brooks@FreeBSD.org Flags: maintainer-feedback?(brooks@FreeBSD.org) The 'x/i' command from gdb crashes lldb on arm64, versions 7.0 (system default), 8.0, and llvm-devel-9.0.d20190122 (built from source). Kernel is 13.0-CURRENT r344398. $ cat empty.c=20 int main(){} $ cc empty.c=20 $ /usr/local/bin/lldb-devel --version lldb version 9.0.0 $ /usr/local/bin/lldb-devel a.out (lldb) target create "a.out" Current executable set to 'a.out' (aarch64). (lldb) b main Breakpoint 1: where =3D a.out`main, address =3D 0x0000000000210260 (lldb) run Process 10845 launching Process 10845 launched: '/home/builder/src/a.out' (aarch64) Process 10845 stopped * thread #1, name =3D 'a.out', stop reason =3D breakpoint 1.1 frame #0: 0x0000000000210260 a.out`main a.out`main: -> 0x210260 <+0>: mov w0, #0x0 0x210264 <+4>: ret 0x210268: udf #0x0 0x21026c: udf #0x0 (lldb) x/i $pc Stack dump: 0. Program arguments: /usr/local/llvm-devel/bin/lldb a.out Segmentation fault (core dumped) There are few symbols so the stack trace is not informative: * thread #1, name =3D 'lldb', stop reason =3D signal SIGSEGV * frame #0: 0x0000000041f88904 liblldb.so.9svn frame #1: 0x0000000041f44d9c liblldb.so.9svn frame #2: 0x0000000041d81574 liblldb.so.9svn frame #3: 0x0000000041df55bc liblldb.so.9svn frame #4: 0x0000000041df5b00 liblldb.so.9svn frame #5: 0x0000000041f80bb8 liblldb.so.9svn frame #6: 0x0000000041f3beb8 liblldb.so.9svn frame #7: 0x0000000041d4fc2c liblldb.so.9svn frame #8: 0x0000000041d4fed8 liblldb.so.9svn frame #9: 0x0000000041d40f58 liblldb.so.9svn frame #10: 0x0000000041c83bf0 liblldb.so.9svn frame #11: 0x0000000041d74454 liblldb.so.9svn frame #12: 0x0000000041cb4398 liblldb.so.9svn frame #13: 0x0000000042ca22b8 liblldb.so.9svn frame #14: 0x0000000041cb1df0 liblldb.so.9svn frame #15: 0x0000000041ca74e4 liblldb.so.9svn frame #16: 0x0000000041caa504 liblldb.so.9svn frame #17: 0x0000000041c1e3a4 liblldb.so.9svn frame #18: 0x0000000041c073dc liblldb.so.9svn frame #19: 0x0000000041cab064 liblldb.so.9svn frame #20: 0x0000000041adc190 liblldb.so.9svn`lldb::SBDebugger::RunCommandInterpreter(bool, bool) + 60 frame #21: 0x0000000000212434 lldb frame #22: 0x00000000002130ac lldb frame #23: 0x00000000002100b8 lldb --=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-236425-7788>