gdb: DW_TAG_<unknown> (abbrev = 85, offset = 20161909)

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

gdb: DW_TAG_<unknown> (abbrev = 85, offset = 20161909)

Claus Assmann-4
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.

Reply | Threaded
Open this post in threaded view
|

Re: gdb: DW_TAG_<unknown> (abbrev = 85, offset = 20161909)

Ted Unangst-6
Claus Assmann wrote:
> Any suggestion how I can debug that program?  (it's huge and written
> in C++ with which I am not familiar anyway :-(

You want egdb from ports, especially for anything c++. (pkg_add gdb)

Reply | Threaded
Open this post in threaded view
|

Re: gdb: DW_TAG_<unknown> (abbrev = 85, offset = 20161909)

Claus Assmann-4
On Sun, Feb 10, 2019, Ted Unangst wrote:
> Claus Assmann wrote:
> > Any suggestion how I can debug that program?  (it's huge and written
> > in C++ with which I am not familiar anyway :-(

> You want egdb from ports, especially for anything c++. (pkg_add gdb)

Thanks, that seems to work (sorry for the long delay to reply, I
had to (re)install OpenBSD 6.4 due to a disk failure before I
could try this).

--
Address is valid for this mailing list only.