https://bugzilla.novell.com/show_bug.cgi?id=390722 User mmeeks@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=390722#c339730 Summary: gdb - backtrace grace ? Product: openSUSE 11.0 Version: Beta 2 Platform: Other OS/Version: Other Status: NEW Severity: Major Priority: P5 - None Component: Development AssignedTo: pth@novell.com ReportedBy: mmeeks@novell.com QAContact: qa@suse.de CC: hpj@novell.com, lpechacek@novell.com Found By: --- So - gdb is working less well than I remember it working in the past, and less well than it could be hoped I think :-) This is really an analog of #339730# to which I will also attach my test case. Suffice it to say that most apps that I connect gdb to fail to give a useful stack trace, unless I have full debuginfo installed for all the packages working from the bottom to the top of the stack. As a banal example here is console kit: (gdb) bt #0 0xffffe430 in __kernel_vsyscall () #1 0xb7e163f9 in ioctl () from /lib/libc.so.6 #2 0x0805b810 in ?? () #3 0x0000000a in ?? () #4 0x00005607 in ?? () #5 0x00000030 in ?? () #6 0x00000030 in ?? () #7 0xb7f71770 in g__g_thread_lock () from /usr/lib/libglib-2.0.so.0 #8 0xb7f90ff4 in ?? () from /lib/libpthread.so.0 #9 0xb7f71770 in g__g_thread_lock () from /usr/lib/libglib-2.0.so.0 #10 0x08062444 in ?? () #11 0x08062420 in ?? () #12 0x08062513 in ?? () #13 0xb7a50b58 in ?? () #14 0xb7f70ff4 in ?? () from /usr/lib/libglib-2.0.so.0 now I install ConsoleKit-debuginfo and try again: [Switching to thread 20 (Thread 0xb7a50b90 (LWP 2253))]#0 0xffffe430 in __kernel_vsyscall () (gdb) bt #0 0xffffe430 in __kernel_vsyscall () #1 0xb7e163f9 in ioctl () from /lib/libc.so.6 #2 0x0805b810 in ck_wait_for_active_console_num (console_fd=10, num=48) at ck-sysdeps-unix.c:266 #3 0x080518a2 in vt_thread_start (data=0x8076918) at ck-vt-monitor.c:322 #4 0xb7f2039f in g_thread_create_proxy (data=0x8076928) at gthread.c:635 #5 0xb7f82175 in start_thread (arg=0xb7a50b90) at pthread_create.c:297 #6 0xb7e1ddde in clone () from /lib/libc.so.6 Same running process - same system, no other debuginfo installed [ NB. I have debuginfo for libc & gthread) so ... Anyhow - I created a more minimal test case, which I'll attach. It would be -extremely- useful wrt. debugging things to have a fix here :-) [ also for SLED ] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.