[PATCH] Port cursorScreenDevPriv to the new dixPrivate API

Lukas Hejtmanek xhejtman at ics.muni.cz
Thu Jan 8 04:18:28 PST 2009


On Mon, Jan 05, 2009 at 06:43:24PM -0500, Eamon Walsh wrote:
> Can you try the attached patch to see if it solves the problem?

Well, I got the following crash:
Core was generated by `/usr/bin/X11/X -nolisten tcp'.
Program terminated with signal 6, Aborted.
[New process 2099]
#0  0x00007f7fe58dcf85 in raise () from /lib/libc.so.6
(gdb) where
#0  0x00007f7fe58dcf85 in raise () from /lib/libc.so.6
#1  0x00007f7fe58deaf3 in abort () from /lib/libc.so.6
#2  0x00007f7fe591c218 in __libc_message () from /lib/libc.so.6
#3  0x00007f7fe5921ca8 in malloc_printerr () from /lib/libc.so.6
#4  0x00007f7fe5925f11 in _int_realloc () from /lib/libc.so.6
#5  0x00007f7fe5926d9e in realloc () from /lib/libc.so.6
#6  0x0000000000433bfc in dixAllocatePrivate (privates=0x7f7fe5c17dc0, 
    key=0x7d9340) at ../../dix/privates.c:129
#7  0x0000000000433d45 in dixLookupPrivate (privates=0x833, key=0x833)
    at ../../dix/privates.c:165
#8  0x0000000000528f70 in ValidateOnePicture (pPicture=0x7f7fe5c17b40)
    at ../../render/picture.c:1466
#9  0x0000000000528f99 in ValidatePicture (pPicture=0x833)
    at ../../render/picture.c:1477
#10 0x00000000005294db in CompositePicture (op=3 '\003', pSrc=0x7f7fe5c17b40, 
    pMask=0x0, pDst=0x1a3da30, xSrc=0, ySrc=0, xMask=0, yMask=0, xDst=-22251, 
    yDst=-225, width=0, height=0) at ../../render/picture.c:1666
#11 0x00000000004cf2da in miDCPutUpCursor (pDev=<value optimized out>, 
    pScreen=0x837e90, pCursor=0x1895950, x=0, y=<value optimized out>, 
    source=0, mask=16777215) at ../../mi/midispcur.c:474
#12 0x00000000004dee9e in miSpriteRestoreCursor (pDev=0xaeda00, 
    pScreen=0x837e90) at ../../mi/misprite.c:1025
#13 0x00000000004df3d6 in miSpriteBlockHandler (i=<value optimized out>, 
---Type <return> to continue, or q <return> to quit---
    blockData=0x0, pTimeout=0x0, pReadmask=0x1) at ../../mi/misprite.c:525
#14 0x00007f7fe42ebb27 in I830BlockHandler (i=<value optimized out>, 
    blockData=0x0, pTimeout=0x7fffefdae7d8, pReadmask=0xffffffffffffffff)
    at i830_driver.c:2632
#15 0x0000000000533ad8 in AnimCurScreenBlockHandler (screenNum=0, 
    blockData=0x0, pTimeout=0x7fffefdae7d8, pReadmask=0x7dacc0)
    at ../../render/animcur.c:222
#16 0x00000000004feafe in compBlockHandler (i=0, blockData=0x0, 
    pTimeout=0x7fffefdae7d8, pReadmask=0x7dacc0)
    at ../../composite/compinit.c:158
#17 0x0000000000451270 in BlockHandler (pTimeout=0x7fffefdae7d8, 
    pReadmask=0x7dacc0) at ../../dix/dixutils.c:384
#18 0x00000000004ec981 in WaitForSomething (pClientsReady=0xb78e00)
    at ../../os/WaitFor.c:215
#19 0x000000000044d580 in Dispatch () at ../../dix/dispatch.c:367
#20 0x00000000004332ad in main (argc=3, argv=0x7fffefdae9b8, 
    envp=<value optimized out>) at ../../dix/main.c:383


-- 
Lukáš Hejtmánek



More information about the xorg mailing list