I'm trying to debug a core dump from GoldenCheetah which has been
compiled with clang++ on OpenBSD 6.4 amd64.
gdb fails like this:
$ gdb /usr/local/bin/GoldenCheetah GoldenCheetah.core
GNU gdb 6.3
...
[[loading lots of shared (qt) libraries]]
...
Loaded symbols for /usr/local/lib/libwebpdemux.so.2.0
Die: DW_TAG_<unknown> (abbrev = 85, offset = 20161909)
has children: FALSE
attributes:
DW_AT_type (DW_FORM_ref4) constant ref: 20155712 (adjusted)
Dwarf Error: Cannot find type of die [in module /usr/local/bin/GoldenCheetah]
Die: DW_TAG_<unknown> (abbrev = 85, offset = 20161909)
has children: FALSE
attributes:
DW_AT_type (DW_FORM_ref4) constant ref: 20155712 (adjusted)
Dwarf Error: Cannot find type of die [in module /usr/local/bin/GoldenCheetah]
and lldb crashes:
$ lldb -c GoldenCheetah.core /usr/local/bin/GoldenCheetah
(lldb) target create "/usr/local/bin/GoldenCheetah" --core "GoldenCheetah.core"
Bus error
/var/log/messages shows:
/bsd: coredump of lldb(5642), write failed: errno 14
Any suggestion how I can debug that program? (it's huge and written
in C++ with which I am not familiar anyway :-(
--
Address is valid for this mailing list only.