bugThe libunwind project - Bugs: bug #42855, libunwind is not supporting...


bug #42855: libunwind is not supporting calling from gdb

Submitted by:  None
Submitted on:  Sun 27 Jul 2014 12:18:23 PM UTC  
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sun 27 Jul 2014 12:18:23 PM UTC, original submission:


(gdb) p dlopen("/usr/lib64/libunwind-x86_64.so", 0x102)
Missing separate debuginfo for /usr/lib64/libunwind-x86_64.so
Try: zypper install -C "debuginfo(build-id)=96e954d0e1c06dceb00c1ea7e755640068e502d4"
Missing separate debuginfo for /lib64/libunwind.so.7
Try: zypper install -C "debuginfo(build-id)=79e2850a6685757d46508e6ae0e9f677c88f06f9"
$1 = 6699392
(gdb) p dlopen("/data/code/learn/libunwind/libxtier_backtrace.so", 0x102)
$2 = 6702096
(gdb) p xtier_backtrace
$3 = {void (void)} 0x7f54b994b8d4 <xtier_backtrace>
(gdb) p xtier_backtrace()

Program received signal SIGSEGV, Segmentation fault.
0x00007f54b9d650f4 in ?? () from /usr/lib64/libunwind-x86_64.so
The program being debugged was signaled while in a function called from GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on".
Evaluation of the expression containing the function
(xtier_backtrace) will be abandoned.
When the function is done executing, GDB will silently stop.
(gdb) bt
#0 0x00007f54b9d650f4 in ?? () from /usr/lib64/libunwind-x86_64.so
#1 0x00007f54b9d65714 in _Ux86_64_is_signal_frame () from /usr/lib64/libunwind-x86_64.so
#2 0x00007f54b9d65c45 in _Ux86_64_step () from /usr/lib64/libunwind-x86_64.so
#3 0x00007f54b994b9fb in xtier_backtrace () at unwind_lib.c:17
#4 <function called from gdb>
#5 0x00007f54c8505a4d in accept () from /lib64/libpthread.so.0
#6 0x000000000042e027 in AcceptConnection (acceptPendingSocket=3) at server.cpp:5454
#7 0x000000000042e2bc in ServiceConnections () at server.cpp:5510
#8 0x000000000042f5a1 in main (argc=2, argv=0x7fff0d301158) at server.cpp:6151



(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


CC list is empty


Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.


Please enter the title of George Orwell's famous dystopian book (it's a date):



No Changes Have Been Made to This Item

Back to the top

Powered by Savane 3.1-cleanup1