Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jul 2017 01:16:22 +0200
From:      Joerg Sonnenberger <joerg@bec.de>
To:        Conrad Meyer <cem@freebsd.org>
Cc:        Marc Branchaud <marcnarc@xiplink.com>, "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org>
Subject:   Re: libexecinfo backtrace() in a signal handler
Message-ID:  <20170706231622.GA26699@britannica.bec.de>
In-Reply-To: <CAG6CVpXMMWYniDUOGXakO=qiU%2BBBWCcTEknBjS%2BuQcAsPYB1VQ@mail.gmail.com>
References:  <4d662753-98bc-1275-9394-0cda95eedc65@xiplink.com> <CAG6CVpXMMWYniDUOGXakO=qiU%2BBBWCcTEknBjS%2BuQcAsPYB1VQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20170706231622.GA26699>