[Bug 236425] devel/llvm-devel: arm64 lldb crashes on x/i command
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Mar 9 18:05:11 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236425
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 at FreeBSD.org
Reporter: jfc at mit.edu
Assignee: brooks at FreeBSD.org
Flags: maintainer-feedback?(brooks at 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
int main(){}
$ cc empty.c
$ /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 = a.out`main, address = 0x0000000000210260
(lldb) run
Process 10845 launching
Process 10845 launched: '/home/builder/src/a.out' (aarch64)
Process 10845 stopped
* thread #1, name = 'a.out', stop reason = 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 = 'lldb', stop reason = 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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list