Breakpoint 3, nv30_screen_destroy (pscreen=0x80777b8) at nv30/nv30_screen.c:310 310 { (gdb) c Continuing. Breakpoint 2, 0xb7c08b70 in close () from /usr/lib/libc.so.6 (gdb) bt #0 0xb7c08b70 in close () from /usr/lib/libc.so.6 #1 0xb7ad0902 in dri2DestroyScreen (base=0x805f5f8) at dri2_glx.c:712 #2 0xb7aa9d59 in FreeScreenConfigs (priv=0x805da10, priv=0x805da10) at glxext.c:208 #3 0xb7aa9de2 in glx_display_free (priv=priv@entry=0x805da10) at glxext.c:231 #4 0xb7aa9f33 in __glXCloseDisplay (dpy=0x804e348, codes=0x805da54) at glxext.c:277 #5 0xb7e663e1 in XCloseDisplay () from /usr/lib/libX11.so.6 #6 0x08048d3b in glxtest() () #7 0x08048d85 in main () (gdb) up #1 0xb7ad0902 in dri2DestroyScreen (base=0x805f5f8) at dri2_glx.c:712 712 close(psc->fd); (gdb) p psc->fd $1 = 4 (gdb) c Continuing. Breakpoint 3, nv30_screen_destroy (pscreen=0x80777b8) at nv30/nv30_screen.c:310 310 { (gdb) c Continuing. Breakpoint 2, 0xb7c08b70 in close () from /usr/lib/libc.so.6 (gdb) bt #0 0xb7c08b70 in close () from /usr/lib/libc.so.6 #1 0xb7a1585f in drmClose () from /usr/lib/libdrm.so.2 #2 0xb550f5ab in nouveau_device_del () from /usr/lib/libdrm_nouveau.so.2 #3 0xb72632d7 in nouveau_screen_fini (screen=0x80777b8) at nouveau_screen.c:224 #4 0xb726b18b in nv30_screen_destroy (pscreen=0x80777b8) at nv30/nv30_screen.c:339 #5 0xb72536a9 in dri_destroy_screen_helper (screen=0x80b4e40) at dri_screen.c:378 #6 0xb725374e in dri_destroy_screen (sPriv=0x80b4ce0) at dri_screen.c:388 #7 0xb724ffd6 in driDestroyScreen (psp=0x80b4ce0) at dri_util.c:235 #8 0xb7ad08ed in dri2DestroyScreen (base=0x80818c8) at dri2_glx.c:710 #9 0xb7aa9d59 in FreeScreenConfigs (priv=0x805da10, priv=0x805da10) at glxext.c:208 #10 0xb7aa9de2 in glx_display_free (priv=priv@entry=0x805da10) at glxext.c:231 #11 0xb7aa9f33 in __glXCloseDisplay (dpy=0x804e348, codes=0x805da54) at glxext.c:277 #12 0xb7e663e1 in XCloseDisplay () from /usr/lib/libX11.so.6 #13 0x08048d3b in glxtest() () #14 0x08048d85 in main () (gdb) up #1 0xb7a1585f in drmClose () from /usr/lib/libdrm.so.2 (gdb) c Continuing. Breakpoint 2, 0xb7c08b70 in close () from /usr/lib/libc.so.6 (gdb) bt #0 0xb7c08b70 in close () from /usr/lib/libc.so.6 #1 0xb7ad0902 in dri2DestroyScreen (base=0x80818c8) at dri2_glx.c:712 #2 0xb7aa9d59 in FreeScreenConfigs (priv=0x805da10, priv=0x805da10) at glxext.c:208 #3 0xb7aa9de2 in glx_display_free (priv=priv@entry=0x805da10) at glxext.c:231 #4 0xb7aa9f33 in __glXCloseDisplay (dpy=0x804e348, codes=0x805da54) at glxext.c:277 #5 0xb7e663e1 in XCloseDisplay () from /usr/lib/libX11.so.6 #6 0x08048d3b in glxtest() () #7 0x08048d85 in main () (gdb) up #1 0xb7ad0902 in dri2DestroyScreen (base=0x80818c8) at dri2_glx.c:712 712 close(psc->fd); (gdb) p psc->fd $2 = 6 (gdb) c Continuing. Breakpoint 2, 0xb7c08b70 in close () from /usr/lib/libc.so.6 (gdb) bt #0 0xb7c08b70 in close () from /usr/lib/libc.so.6 #1 0xb7b12aca in xcb_disconnect () from /usr/lib/libxcb.so.1 #2 0xb7e66410 in XCloseDisplay () from /usr/lib/libX11.so.6 #3 0x08048d3b in glxtest() () #4 0x08048d85 in main () (gdb) up #1 0xb7b12aca in xcb_disconnect () from /usr/lib/libxcb.so.1 (gdb) c Continuing. VENDOR nouveau RENDERER Gallium 0.4 on NV34 VERSION 1.5 Mesa 10.2.1 TFP TRUE [Inferior 1 (process 29981) exited normally]