valette@valette-desktop:~$ pgrep Xorg 18094 valette@valette-desktop:~$ sudo gdb /usr/bin/Xorg GNU gdb 6.6-debian Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i486-linux-gnu"... Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". (gdb) attach 18094 Attaching to program: /usr/bin/Xorg, process 18094 Reading symbols from /lib/tls/i686/cmov/libdl.so.2...done. Loaded symbols for /lib/tls/i686/cmov/libdl.so.2 Reading symbols from /usr/lib/libXfont.so.1...done. Loaded symbols for /usr/lib/libXfont.so.1 Reading symbols from /usr/lib/libXau.so.6...done. Loaded symbols for /usr/lib/libXau.so.6 Reading symbols from /usr/lib/libfontenc.so.1...done. Loaded symbols for /usr/lib/libfontenc.so.1 Reading symbols from /usr/lib/libXdmcp.so.6...done. Loaded symbols for /usr/lib/libXdmcp.so.6 Reading symbols from /lib/tls/i686/cmov/libm.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libm.so.6 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/tls/i686/cmov/libc.so.6...done. Loaded symbols for /lib/tls/i686/cmov/libc.so.6 Reading symbols from /lib/ld-linux.so.2...done. Loaded symbols for /lib/ld-linux.so.2 Reading symbols from /usr/lib/libfreetype.so.6...done. Loaded symbols for /usr/lib/libfreetype.so.6 Reading symbols from /usr/lib/libz.so.1...done. Loaded symbols for /usr/lib/libz.so.1 Reading symbols from /usr/lib/xorg/modules/libpcidata.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/libpcidata.so...done. done. Loaded symbols for /usr/lib/xorg/modules//libpcidata.so Reading symbols from /usr/lib/xorg/modules/extensions/libextmod.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/extensions/libextmod.so...done. done. Loaded symbols for /usr/lib/xorg/modules/extensions//libextmod.so Reading symbols from /usr/lib/xorg/modules/extensions/libdbe.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/extensions/libdbe.so...done. done. Loaded symbols for /usr/lib/xorg/modules/extensions//libdbe.so Reading symbols from /usr/lib/xorg/modules/extensions/libglx.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/extensions/libglx.so...done. done. Loaded symbols for /usr/lib/xorg/modules/extensions//libglx.so Reading symbols from /usr/lib/xorg/modules/fonts/libfreetype.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/fonts/libfreetype.so...done. done. Loaded symbols for /usr/lib/xorg/modules//fonts/libfreetype.so Reading symbols from /usr/lib/xorg/modules/extensions/librecord.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/extensions/librecord.so...done. done. Loaded symbols for /usr/lib/xorg/modules/extensions//librecord.so Reading symbols from /usr/lib/xorg/modules/extensions/libdri.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/extensions/libdri.so...done. done. Loaded symbols for /usr/lib/xorg/modules/extensions//libdri.so Reading symbols from /usr/lib/libdrm.so.2...done. Loaded symbols for /usr/lib/libdrm.so.2 Reading symbols from /usr/lib/xorg/modules/drivers/ati_drv.so...done. Loaded symbols for /usr/lib/xorg/modules/drivers//ati_drv.so Reading symbols from /usr/lib/xorg/modules/input/kbd_drv.so...done. Loaded symbols for /usr/lib/xorg/modules/input//kbd_drv.so Reading symbols from /usr/lib/xorg/modules/input/mouse_drv.so...done. Loaded symbols for /usr/lib/xorg/modules/input//mouse_drv.so Reading symbols from /usr/lib/xorg/modules/drivers/radeon_drv.so...done. Loaded symbols for /usr/lib/xorg/modules/drivers//radeon_drv.so Reading symbols from /usr/lib/xorg/modules/libvgahw.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/libvgahw.so...done. done. Loaded symbols for /usr/lib/xorg/modules//libvgahw.so Reading symbols from /usr/lib/xorg/modules/libint10.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/libint10.so...done. done. Loaded symbols for /usr/lib/xorg/modules//libint10.so Reading symbols from /usr/lib/xorg/modules/libfb.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/libfb.so...done. done. Loaded symbols for /usr/lib/xorg/modules//libfb.so Reading symbols from /usr/lib/xorg/modules/libxaa.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/libxaa.so...done. done. Loaded symbols for /usr/lib/xorg/modules//libxaa.so Reading symbols from /usr/lib/xorg/modules/multimedia/theatre_detect_drv.so...done. Loaded symbols for /usr/lib/xorg/modules/multimedia//theatre_detect_drv.so Reading symbols from /usr/lib/xorg/modules/extensions/libGLcore.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/extensions/libGLcore.so...done. done. Loaded symbols for /usr/lib/xorg/modules/extensions//libGLcore.so 0xffffe410 in __kernel_vsyscall () (gdb) cont Continuing. Program received signal SIGSEGV, Segmentation fault. 0xaf7ac6b1 in _mesa_DrawBuffer (buffer=1029) at buffers.c:350 350 buffers.c: No such file or directory. in buffers.c (gdb) backtrace full #0 0xaf7ac6b1 in _mesa_DrawBuffer (buffer=1029) at buffers.c:350 bufferID = destMask = ctx = (GLcontext *) 0x847d270 #1 0xb7c3a9d8 in __glXDisp_DrawBuffer (pc=0x879afe0 "\005\004") at ../../../GL/glx/indirect_dispatch.c:1329 No locals. #2 0xb7c33625 in DoRender (cl=0x83e47b8, pc=0x879afdc "\b", do_swap=0) at ../../../GL/glx/glxcmds.c:1842 entry = {bytes = 8, varsize = 0} extra = proc = (__GLXdispatchRenderProcPtr) 0xb7c3a9b0 <__glXDisp_DrawBuffer> err = 0 client = (ClientPtr) 0x843f188 left = 2496 cmdlen = 8 error = commandsDone = 10 glxc = (__GLXcontext *) 0x8441ea8 sw = #3 0xb7c336bc in __glXDisp_Render (cl=0x83e47b8, pc=0x879af70 "\217\001\213\002\001") at ../../../GL/glx/glxcmds.c:1856 No locals. #4 0xb7c37b2c in __glXDispatch (client=0x843f188) at ../../../GL/glx/glxext.c:551 stuff = (xGLXSingleReq *) 0x879af70 opcode = 1 '\001' ---Type to continue, or q to quit--- proc = (__GLXdispatchSingleProcPtr) 0xb7c33690 <__glXDisp_Render> cl = (__GLXclientState *) 0x83e47b8 retval = 1 #5 0x0815754e in XaceCatchExtProc (client=0x843f188) at ../../Xext/xace.c:299 major = 143 ext = #6 0x0808f47a in Dispatch () at ../../dix/dispatch.c:457 result = client = (ClientPtr) 0x843f188 nready = 0 start_tick = 15900 #7 0x08076f05 in main (argc=10, argv=0xbf8f69c4, envp=Cannot access memory at address 0x86 ) at ../../dix/main.c:477 pScreen = i = error = 136217184 xauthfile = alwaysCheckForInput = {0, 1}