I downloaded the source and did some more debugging. I found that when the crash happens pPixmap is NULL. Or in other words (pWindow)->devPrivates[cwWindowIndex].ptr == NULL. See the debugging session below. I had to jump through some hoops because the compiler optimized away some local variables.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb7c0aa30 (LWP 5977)]
0xb78d6412 in cwGetBackingPicture (pPicture=0x85d3ac0, x_off=0xbf89d3e8,
y_off=0xbf89d3e4) at ../../../miext/cw/cw_render.c:128
128 ../../../miext/cw/cw_render.c: No such file or directory.
in ../../../miext/cw/cw_render.c
(gdb) print pPixmap
$4 = (PixmapPtr) 0x0
(gdb) print ((WindowPtr)pPicture->pDrawable)->devPrivates[cwWindowIndex]
$6 = {ptr = 0x0, val = 0, uval = 0, fptr = 0}
(gdb)
I downloaded the source and did some more debugging. I found that when the crash happens pPixmap is NULL. Or in other words (pWindow) ->devPrivates[ cwWindowIndex] .ptr == NULL. See the debugging session below. I had to jump through some hoops because the compiler optimized away some local variables.
Program received signal SIGSEGV, Segmentation fault. 0x85d3ac0, x_off=0xbf89d3e8, 0xbf89d3e4) at ../../. ./miext/ cw/cw_render. c:128 ./miext/ cw/cw_render. c: No such file or directory. ./miext/ cw/cw_render. c pPicture- >pDrawable) ->devPrivates[ cwWindowIndex]
[Switching to Thread 0xb7c0aa30 (LWP 5977)]
0xb78d6412 in cwGetBackingPicture (pPicture=
y_off=
128 ../../.
in ../../.
(gdb) print pPixmap
$4 = (PixmapPtr) 0x0
(gdb) print ((WindowPtr)
$6 = {ptr = 0x0, val = 0, uval = 0, fptr = 0}
(gdb)