Excerpts from Michel Dänzer's message of Tue Aug 03 19:07:49 +0200 2010: > On Die, 2010-08-03 at 15:23 +0200, Michal Suchanek wrote: > > Excerpts from Brice Goglin's message of Tue Aug 03 14:43:59 +0200 2010: > > > Le 03/08/2010 14:13, Michal Suchanek a écrit : > > > > There is xserver-xorg-core-dbg but no documentation on using that > > > > package I could find. The X server binary has no symbols so there is no > > > > backtrace whatsoever that can be received with gdb. > > > > > > > > > > $ apt-cache show xserver-xorg-core-dbg > > > Package: xserver-xorg-core-dbg > > > [...] > > > This package provides debugging symbols for the Xorg X server and > > > associated > > > modules. > > > > > > > > > You just need to install this and you'll have Xserver symbols. > > > Add xserver-xorg-video-radeon-dbg for radeon driver symbols. > > > > > > Brice > > > > I have this package installed along with the packages for the radeon > > driver, libdrm, etc. > > > > Still no symbols when I attach to X server. > > Does gdb say anything about why it can't get the symbols? >
Nothing in particular. It just does not show the function name for anything but WaitForSomething which does not help much when there are tens of anonymous stack frames on crash. Actually it shows less readable information than the X crash handler. Script started on Wed 04 Aug 2010 10:45:36 AM CEST ~# ps auxww | grep X root 8450 0.2 0.4 109092 16728 tty7 S<s+ Aug03 2:35 X :0 vt7 vt7 -nolisten tcp root 31923 0.0 0.0 5516 808 pts/3 S+ 10:45 0:00 grep X ~# gdb /usr/lib/debug/usr/bin/Xorg 8450 GNU gdb 6.8-debian Copyright (C) 2008 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu"... Attaching to program: /usr/lib/debug/usr/bin/Xorg, process 8450 warning: Unable to find dynamic linker breakpoint function. GDB will be unable to debug shared library initializers and track explicitly loaded dynamic code. 0x00007f61fdc2c893 in ?? () (gdb) bt #0 0x00007f61fdc2c893 in ?? () #1 0x000000000045ec3a in WaitForSomething (pClientsReady=<value optimized out>) at ../../os/WaitFor.c:229 #2 0x033c063200000632 in ?? () #3 0x0000000002b69ef0 in ?? () #4 0x00000000024d10e0 in ?? () #5 0x0000000002c64e70 in ?? () #6 0x00007fff6300bb70 in ?? () #7 0x00007fff6300bb88 in ?? () #8 0x0000000000000000 in ?? () (gdb) detach Detaching from program: /usr/lib/debug/usr/bin/Xorg, process 8450 (gdb) q[Kquit ~# exit Script done on Wed 04 Aug 2010 10:47:05 AM CEST -- Michal Suchánek michal.sucha...@ruk.cuni.cz tel 224491810 fax 224491594 Univerzita Karlova v Praze Ústav Výpočetní Techniky Ovocný trh 3 Praha 1 -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org