canonical / dqlite

Embeddable, replicated and fault-tolerant SQL engine.
https://dqlite.io
Other
3.77k stars 212 forks source link

Use execinfo.h instead of libbacktrace #621

Closed cole-miller closed 3 months ago

cole-miller commented 4 months ago

@just-now suggested this

https://man7.org/linux/man-pages/man3/backtrace.3.html

cole-miller commented 4 months ago

what will be involved in this:

cole-miller commented 3 months ago

I can't assign the issue to him but @letFunny is working on this

cole-miller commented 3 months ago

Closing because the execinfo.h API doesn't read DWARF info, hence you can't get a helpful backtrace unless you postprocess it with addr2line, which makes this feature less convenient for quick debugging -- and quick debugging is really what it's good for.