Here is a clearer backtrace of the crash in case it helps.
Program received signal SIGSEGV, Segmentation fault.
0x0807fdae in privateExists (privates=0x14f, key=0xffa0fc) at ../../dix/privates.c:79
79 return *key && *privates &&
(gdb) bt full
#0 0x0807fdae in privateExists (privates=0x14f, key=0xffa0fc) at ../../dix/privates.c:79
No locals.
#1 0x0807ffd1 in dixLookupPrivate (privates=0x14f, key=0xffa0fc) at ../../dix/privates.c:162
ptr = 0x4f0
#2 0x00ff6bf9 in DRI2GetScreen (pScreen=0xffffffff) at ../../../../hw/xfree86/dri2/dri2.c:78
No locals.
#3 0x00ff731b in DRI2DestroyDrawable (pDraw=0xbae9110) at ../../../../hw/xfree86/dri2/dri2.c:344
ds = 0xa25c568
pPriv = 0x0
pWin = 0xffa100
pPixmap = 0xbae9490
#4 0x0056c7f9 in __glXDRIdrawableDestroy (drawable=0xbae93c0) at ../../glx/glxdri2.c:110
private = 0xbae93c0
core = 0x129bd40
#5 0x0055cd31 in DrawableGone (glxPriv=0xbae93c0, xid=67108869) at ../../glx/glxext.c:163
c = 0x0
#6 0x08094ab3 in FreeClientResources (client=0xb9ec3a8) at ../../dix/resource.c:806
rtype = 54
head = 0xb9ec47c
resources = 0xb9ec468
this = 0xbae9a10
j = 5
#7 0x0808fa43 in CloseDownClient (client=0xb9ec3a8) at ../../dix/dispatch.c:3631 really_close_down = 1
#8 0x08087bc8 in Dispatch () at ../../dix/dispatch.c:424
clientReady = 0xb8feac8
result = -1
client = 0xb9ec3a8
nready = 0
icheck = 0x82594fc
start_tick = 720
#9 0x08066d33 in main (argc=8, argv=0xbfd8efd4, envp=0xbfd8eff8) at ../../dix/main.c:285
i = 1 alwaysCheckForInput = {0, 1}
Here is a clearer backtrace of the crash in case it helps.
Program received signal SIGSEGV, Segmentation fault. privates. c:79 privates. c:79 privates. c:162 0xffffffff) at ../../. ./../hw/ xfree86/ dri2/dri2. c:78 ./../hw/ xfree86/ dri2/dri2. c:344 eDestroy (drawable= 0xbae93c0) at ../../glx/ glxdri2. c:110 glxext. c:163 resource. c:806 dispatch. c:3631
really_ close_down = 1 dispatch. c:424 main.c: 285
alwaysCheckFor Input = {0, 1}
0x0807fdae in privateExists (privates=0x14f, key=0xffa0fc) at ../../dix/
79 return *key && *privates &&
(gdb) bt full
#0 0x0807fdae in privateExists (privates=0x14f, key=0xffa0fc) at ../../dix/
No locals.
#1 0x0807ffd1 in dixLookupPrivate (privates=0x14f, key=0xffa0fc) at ../../dix/
ptr = 0x4f0
#2 0x00ff6bf9 in DRI2GetScreen (pScreen=
No locals.
#3 0x00ff731b in DRI2DestroyDrawable (pDraw=0xbae9110) at ../../.
ds = 0xa25c568
pPriv = 0x0
pWin = 0xffa100
pPixmap = 0xbae9490
#4 0x0056c7f9 in __glXDRIdrawabl
private = 0xbae93c0
core = 0x129bd40
#5 0x0055cd31 in DrawableGone (glxPriv=0xbae93c0, xid=67108869) at ../../glx/
c = 0x0
#6 0x08094ab3 in FreeClientResources (client=0xb9ec3a8) at ../../dix/
rtype = 54
head = 0xb9ec47c
resources = 0xb9ec468
this = 0xbae9a10
j = 5
#7 0x0808fa43 in CloseDownClient (client=0xb9ec3a8) at ../../dix/
#8 0x08087bc8 in Dispatch () at ../../dix/
clientReady = 0xb8feac8
result = -1
client = 0xb9ec3a8
nready = 0
icheck = 0x82594fc
start_tick = 720
#9 0x08066d33 in main (argc=8, argv=0xbfd8efd4, envp=0xbfd8eff8) at ../../dix/
i = 1