With the help of jcristau I got the attached gdb log by doing the following:
--on terminal tty1 $ X --ssh session 1 $ pidof X 3872 $ gdb -p 3872 --ssh session 2 $ export DISPLAY=:0; startkde Thanks and regards, Sten
# gdb -p 3871 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 "i486-linux-gnu". Attaching to process 3871 Reading symbols from /usr/bin/Xorg...Reading symbols from /usr/lib/debug/usr/bin/Xorg...done. done. Reading symbols from /usr/lib/libpciaccess.so.0...done. Loaded symbols for /usr/lib/libpciaccess.so.0 Reading symbols from /lib/i686/cmov/libdl.so.2...done. Loaded symbols for /lib/i686/cmov/libdl.so.2 Reading symbols from /lib/i686/cmov/libpthread.so.0...done. [Thread debugging using libthread_db enabled] [New Thread 0xb7b956b0 (LWP 3871)] Loaded symbols for /lib/i686/cmov/libpthread.so.0 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/libpixman-1.so.0...done. Loaded symbols for /usr/lib/libpixman-1.so.0 Reading symbols from /usr/lib/libhal.so.1...done. Loaded symbols for /usr/lib/libhal.so.1 Reading symbols from /usr/lib/libdbus-1.so.3...done. Loaded symbols for /usr/lib/libdbus-1.so.3 Reading symbols from /usr/lib/libXdmcp.so.6...done. Loaded symbols for /usr/lib/libXdmcp.so.6 Reading symbols from /usr/lib/i686/cmov/libcrypto.so.0.9.8...done. Loaded symbols for /usr/lib/i686/cmov/libcrypto.so.0.9.8 Reading symbols from /lib/i686/cmov/libm.so.6...done. Loaded symbols for /lib/i686/cmov/libm.so.6 Reading symbols from /lib/i686/cmov/librt.so.1...done. Loaded symbols for /lib/i686/cmov/librt.so.1 Reading symbols from /lib/libgcc_s.so.1...done. Loaded symbols for /lib/libgcc_s.so.1 Reading symbols from /lib/i686/cmov/libc.so.6...done. Loaded symbols for /lib/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/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/intel_drv.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/drivers/intel_drv.so...done. done. Loaded symbols for /usr/lib/xorg/modules/drivers//intel_drv.so Reading symbols from /usr/lib/libdrm_intel.so.1...done. Loaded symbols for /usr/lib/libdrm_intel.so.1 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/drivers/sil164.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/drivers/sil164.so...done. done. Loaded symbols for /usr/lib/xorg/modules/drivers//sil164.so Reading symbols from /usr/lib/xorg/modules/drivers/ch7xxx.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/drivers/ch7xxx.so...done. done. Loaded symbols for /usr/lib/xorg/modules/drivers//ch7xxx.so Reading symbols from /usr/lib/xorg/modules/drivers/ivch.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/drivers/ivch.so...done. done. Loaded symbols for /usr/lib/xorg/modules/drivers//ivch.so Reading symbols from /usr/lib/xorg/modules/drivers/tfp410.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/drivers/tfp410.so...done. done. Loaded symbols for /usr/lib/xorg/modules/drivers//tfp410.so Reading symbols from /usr/lib/xorg/modules/drivers/ch7017.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/drivers/ch7017.so...done. done. Loaded symbols for /usr/lib/xorg/modules/drivers//ch7017.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/libexa.so...Reading symbols from /usr/lib/debug/usr/lib/xorg/modules/libexa.so...done. done. Loaded symbols for /usr/lib/xorg/modules//libexa.so Reading symbols from /usr/lib/dri/i915_dri.so...Reading symbols from /usr/lib/debug/usr/lib/dri/i915_dri.so...done. done. Loaded symbols for /usr/lib/dri/i915_dri.so Reading symbols from /usr/lib/libexpat.so.1...done. Loaded symbols for /usr/lib/libexpat.so.1 Reading symbols from /usr/lib/xorg/modules/input/evdev_drv.so...done. Loaded symbols for /usr/lib/xorg/modules/input//evdev_drv.so 0xb7ff8424 in __kernel_vsyscall () (gdb) cont Continuing. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7b956b0 (LWP 3871)] 0xaf72534e in i830_emit_state (intel=0x9ef3360) at i830_vtbl.c:447 447 i830_vtbl.c: No such file or directory. in i830_vtbl.c (gdb) bt full #0 0xaf72534e in i830_emit_state (intel=0x9ef3360) at i830_vtbl.c:447 state = (struct i830_hw_state *) 0x9f06610 i = <value optimized out> ret = 0 count = 0 dirty = 271 __PRETTY_FUNCTION__ = "i830_emit_state" #1 0xaf74cd8c in intelRenderStart (ctx=0x9ef3360) at intel_tris.c:917 No locals. #2 0xaf726360 in intel_run_render (ctx=0x9ef3360, stage=0x9f29b34) at intel_render.c:217 i = 0 #3 0xaf7ed654 in _tnl_run_pipeline (ctx=0x9ef3360) at tnl/t_pipeline.c:158 tnl = (TNLcontext *) 0x9f29908 __tmp = 895 i = 9 mask = 63 #4 0xaf74e5e9 in intelRunPipeline (ctx=0x9ef3360) at intel_tris.c:906 No locals. #5 0xaf7edbc5 in _tnl_draw_prims (ctx=0x9ef3360, arrays=0x9f17d48, prim=0x9f168a4, nr_prims=1, ib=0x0, min_index=0, max_index=3) at tnl/t_draw.c:402 bo = {0x0, 0x9ee1328, 0xbfc14024, 0xb7b1cb10, 0xb7d5dbb4, 0xb7d5f5c8, 0xb7d5c4c4, 0xb7d5c47f, 0x1, 0xb7d79160, 0x49, 0x9ee12c8, 0xbfc13f38, 0xb7d7918c, 0xb7d7918c, 0x0, 0xb7d79190, 0xaf79c74b, 0x9f07e00, 0xaf92b9e0, 0x40, 0xb7c8fe4b, 0xb7d77ff4, 0xaf92b56c, 0xbfc13f58, 0xaf7ae894, 0x9f07e00, 0xaf92b9e0, 0x40, 0xaf764ffa, 0x9f07b88, 0x514, 0xbfc13f78} nr_bo = 0 tnl = (TNLcontext *) 0x9f29908 #6 0xaf7e6755 in vbo_exec_vtx_flush (exec=0x9f16780) at vbo/vbo_exec_draw.c:227 ctx = (GLcontext *) 0x9ef3360 #7 0xaf7e21e8 in vbo_exec_FlushVertices (ctx=0x9ef3360, flags=1) at vbo/vbo_exec_api.c:704 exec = (struct vbo_exec_context *) 0x9f16780 #8 0xaf881791 in _mesa_PopAttrib () at main/attrib.c:855 attr = <value optimized out> next = <value optimized out> ctx = (GLcontext *) 0x9ef3360 #9 0xb7b2d961 in __glXDisp_PopAttrib (pc=0xa1f14fc "\004") at ../../glx/indirect_dispatch.c:1445 No locals. #10 0xb7b575ff in __glXDisp_Render (cl=0x9ebc3e4, pc=0xa1f14f8 "\004") at ../../glx/glxcmds.c:1789 entry = {bytes = 4, varsize = 0} extra = <value optimized out> proc = (__GLXdispatchRenderProcPtr) 0xb7b2d940 <__glXDisp_PopAttrib> err = 0 client = (ClientPtr) 0x9ebb1f0 left = 12 cmdlen = 4 error = -1077854008 commandsDone = 12 glxc = (__GLXcontext *) 0x9ee14d0 sw = <value optimized out> #11 0xb7b5be9a in __glXDispatch (client=0x9ebb1f0) at ../../glx/glxext.c:512 stuff = (xGLXSingleReq *) 0xa1f1470 ---Type <return> to continue, or q <return> to quit--- opcode = 1 '\001' cl = (__GLXclientState *) 0x9ebc3e4 retval = 1 #12 0x0808b79f in Dispatch () at ../../dix/dispatch.c:454 result = <value optimized out> client = (ClientPtr) 0x9ebb1f0 nready = 0 start_tick = 9760 #13 0x0807143d in main (argc=1, argv=0xbfc14244, envp=0x62120aa9) at ../../dix/main.c:441 i = <value optimized out> error = 136118128 xauthfile = <value optimized out> alwaysCheckForInput = {0, 1} (gdb) p *state $1 = {Ctx = {1746929825, 1866473728, 1645349545, 1991507967, 1820428801, 1805650081, 1770004736, 1671432874, 1680017166, 1711358274, 1962934272, 2106064896, 0, 1694498882, 1778384896, 2097283072, 0}, Buffer = {2106458113, 58724352, 0, 0, 2105868288, 8913664, 2088763395, 2105606145, 0, 50267135}, Stipple = {2105737216, 0}, Tex = {{0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}, {0, 0, 0, 0, 0, 0, 0}}, TexBlend = {{1828852097, 1829110017, 1845526597, 1845788741, 0, 0, 0, 0, 0, 0, 0, 0}, { 0 <repeats 12 times>}, {0 <repeats 12 times>}, {0 <repeats 12 times>}}, TexBlendWordsUsed = {4, 0, 0, 0}, draw_region = 0xa0675c0, depth_region = 0x0, tex_buffer = {0x0, 0x0, 0x0, 0x0}, tex_offset = {0, 0, 0, 0}, emitted = 0, active = 271} (gdb)