[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Libunwind-devel] Sigsegv while traversing the call-stack in a power8 sy
From: |
Harald Servat |
Subject: |
[Libunwind-devel] Sigsegv while traversing the call-stack in a power8 system |
Date: |
Wed, 4 Nov 2015 14:56:26 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Hello,
the attached program fails to run with a sigsegv on a IBM
power8-based system while it works flawlessly on Intel x86-64 and on a
ARM v7l.
I compiled the code against libunwind downloaded from git on October
13th using the following command:
# gcc --version
gcc (Ubuntu 4.9.1-16ubuntu6) 4.9.1
# gcc -g traverse_callers.c -o traverse_callers -L
$HOME/libunwind/git/lib64/ -lunwind -Wl,-rpath
-Wl,$HOME/libunwind/git/lib64/ -I $HOME/libunwind/git/include -O0
The debugger says:
(gdb) run
Starting program: ./traverse_callers
Program received signal SIGSEGV, Segmentation fault.
_ULppc64_step (cursor=0x3fffffffec08) at ppc64/Gstep.c:442
442 if (*inst == (0xE8410000 + 24)) {
(gdb) where
#0 _ULppc64_step (cursor=0x3fffffffec08) at ppc64/Gstep.c:442
#1 0x0000000010000810 in traverse_callstack () at traverse_callers.c:16
#2 0x000000001000089c in main (argc=1, argv=0x3ffffffff928) at
traverse_callers.c:23
Thank you
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
traverse_callers.c
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Libunwind-devel] Sigsegv while traversing the call-stack in a power8 system,
Harald Servat <=