[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Libunwind-devel] crashes trying to get a backtrace from a signal handle

From: Sven Neumann
Subject: [Libunwind-devel] crashes trying to get a backtrace from a signal handler (ARM)
Date: Mon, 30 Aug 2010 17:30:02 +0200


we are using the latest git master version of libunwind. We have code
that creates a backtrace using libunwind and it works just fine if it is
called explicitely. The same code however crashes on the ARM platform if
it is invoked from a signal handler. The idea is of course to get a
backtrace if the application segfaults. This does work fine (with the
same code) on x86.

We are on Linux, using uCLibC The platform uses an
XScale-V3 based processor that implements the ARMv5te architecture, the

The crash always happens after unwind_step() has reached
__default_sa_restorer() from /lib/ I can't tell exactly what
goes wrong, but it appears that the next call to unwind_step() causes
the crash.

I've compiled tests/test-async-sig.c for the target platform and it also

I've done done googling and stumpled across this post from 2007, I
wonder if it is in any way related:

Any help with this would be much appreciated,

Sven Neumann
Head of Software Development

RAUMFELD GmbH | Reichenberger Str. 124 | 10999 Berlin | Germany
Tel: +49.30.340.60.98.0 | Fax: +49.30.340.60.98.99 | address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]