libexecinfo backtrace() in a signal handler

Joerg Sonnenberger joerg at bec.de
Thu Jul 6 23:16:39 UTC 2017


On Thu, Jul 06, 2017 at 03:58:04PM -0700, Conrad Meyer wrote:
> Signal handlers use a special stack frame that libexecinfo is too
> simple to understand.  To get a stack from a signal handler, you might
> want to use libunwind instead.

Actually, that's not the problem. The problem is that nothing registers
the necessary unwind data.

Joerg


More information about the freebsd-hackers mailing list