On Thu, 2007-10-04 at 08:37 +0200, Brice Goglin wrote: > Andrew Ruthven wrote: > > Okay, I've installed xserver-xorg-core-dbg, but how do I tell X.org to > > use these debug modules instead? > > > There's nothing to do. The server still uses the same modules, but gdb > will know where to look for the corresponding debugging symbols that > xserver-xorg-core-dbg installed.
Really? I doesn't seem to be... > > Program received signal SIGFPE, Arithmetic exception. > > [Switching to Thread 0xb7c698c0 (LWP 4252)] > > 0xb7b5407d in ?? () from /usr/lib/xorg/modules/drivers//mga_drv.so > > > > Did you have such a SIGFPE before? Nope. And when I run gdb /usr/bin/X11/Xorg it doesn't appear. <snip> > You should enter "bt full" here (at soon as gdb catches a crash). <snip> > Continuing like this gives the hand back to the server which catches its > own crash and outputs the useless backtrace. I had been using the Xdbg script which does the continue and just dumps the log to a file. I've just run gdb manually and grabbed the backtrace. Here it is: (gdb) bt full #0 0x00000000 in ?? () No symbol table info available. #1 0xb7b06728 in ?? () from /usr/lib/xorg/modules/drivers//mga_drv.so No symbol table info available. #2 0x082193b8 in ?? () No symbol table info available. #3 0xb7a7f000 in ?? () No symbol table info available. #4 0x00001c00 in ?? () No symbol table info available. #5 0xbfea4998 in ?? () No symbol table info available. #6 0xb7d48090 in malloc () from /lib/libc.so.6 No symbol table info available. #7 0x08073c9c in AddScreen (pfnInit=0xb7b065d0, argc=1, argv=0xbfea4b74) at ../../dix/main.c:769 i = 0 scanlinepad = <value optimized out> depth = <value optimized out> bitsPerPixel = 1 k = 2 pScreen = <value optimized out> #8 0x080a7f5e in InitOutput (pScreenInfo=0x8204a00, argc=1, argv=0xbfea4b74) at ../../../../hw/xfree86/common/xf86Init.c:850 i = 0 j = <value optimized out> k = <value optimized out> scr_index = 136333824 modulelist = <value optimized out> optionlist = (pointer *) 0x8213558 layout = <value optimized out> screenpix24 = <value optimized out> pix24 = Pix24Use32 pix24From = X_DEFAULT autoconfig = <value optimized out> generation = 1 #9 0x08074426 in main (argc=1, argv=0xbfea4b74, envp=0xbfea4b7c) at ../../dix/main.c:369 i = <value optimized out> error = 136144064 xauthfile = <value optimized out> alwaysCheckForInput = {0, 1} (gdb) -- Andrew Ruthven, Wellington, New Zealand At home: [EMAIL PROTECTED] | This space intentionally | left blank.
signature.asc
Description: This is a digitally signed message part