[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] SIGSEGV in ARM+Alarm handler
From: |
Harald Servat |
Subject: |
[Libunwind-devel] SIGSEGV in ARM+Alarm handler |
Date: |
Wed, 23 Sep 2015 11:49:30 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 |
Dear all,
we have encountered the following SIGSEGV in a ARM system when
unwinding the stack in a alarm handler. We're currently using the latest
version of libunwind available from the GIT repository. The system is
currently running linux kernel 3.11 with the following processor
model name : ARMv7 Processor rev 4 (v7l)
Features : swp half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva
idivt vfpd32 lpae
The libunwind library was compiled using a regular
./configure --prefix=<DIR> and the CFLAGS within the Makefile is
-g -O2 -fexceptions -Wall -Wsign-compare
Our sampling library is compiled with the following flags
-g -O2 -fno-optimize-sibling-calls -funwind-tables -Wall -W
and the binary to be sampled is compiled using
-O3 -g -funwind-tables -march=armv7 -mtune=cortex-a15
-mfloat-abi=hard -mfpu=neon
Any thoughts on what might be wrong? What else could I provide to
help fixing this issue?
Thank you very much in advance.
Core was generated by `./stream.i'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0 _ULarm_step (address@hidden) at arm/Gstep.c:244
244 if ((instr & 0xFFFFD800) == 0xE92DD800)
(gdb) where
#0 _ULarm_step (address@hidden) at arm/Gstep.c:244
#1 0xb6db99b4 in trace_callers (time=4294967297, offset=5, address@hidden,
address@hidden) at calltrace.c:79
#2 0xb6dd0024 in Extrae_SamplingHandler (address=0xb6ce8b6c
<__memcpy_neon+748>)
at sampling-timer.c:96
#3 0xb6dd00d0 in TimeSamplingHandler (sig=<optimized out>,
siginfo=<optimized out>,
context=<optimized out>) at sampling-timer.c:206
#4 <signal handler called>
#5 0xb6ce8b6c in __memcpy_neon ()
at ../ports/sysdeps/arm/armv7/multiarch/memcpy_impl.S:596
#6 0x00008944 in mysecond () at stream.c:422
#7 main () at stream.c:320
WARNING / LEGAL TEXT: This message is intended only for the use of the
individual or entity to which it is addressed and may contain
information which is privileged, confidential, proprietary, or exempt
from disclosure under applicable law. If you are not the intended
recipient or the person responsible for delivering the message to the
intended recipient, you are strictly prohibited from disclosing,
distributing, copying, or in any way using this message. If you have
received this communication in error, please notify the sender and
destroy and delete any copies you may have received.
http://www.bsc.es/disclaimer
- [Libunwind-devel] SIGSEGV in ARM+Alarm handler,
Harald Servat <=