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)

-- 
Xorg server segfaults in cwGetBackingPicture
https://bugs.launchpad.net/bugs/319402
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to