Hi,

When I try the kernel modules from current drm-git instead of the
stock ones, I get the following crash as soon as compiz launches any
effect with mipmap enabled.
I managed to get a backtrace of the crash, but I got screen corruption
and a full kernel freeze immediately after I quit the debugger.
Nothing particular neither in Xorg nor in kernel logs...
Please let me know if more information is needed to fix this problem.

Regards,

Vincent

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2b3c529934b0 (LWP 5976)]
do_row (format=<value optimized out>, srcWidth=<value optimized out>,
    srcRowA=0x0, srcRowB=0x1000, dstWidth=512, dstRow=0x2f9dc00)
    at main/mipmap.c:162
162                 dst[i][0] = (rowA[j][0] + rowA[k][0] +
(gdb) bt
#0  do_row (format=<value optimized out>, srcWidth=<value optimized out>,
    srcRowA=0x0, srcRowB=0x1000, dstWidth=512, dstRow=0x2f9dc00)
    at main/mipmap.c:162
#1  0x00002b3c646d2d09 in make_2d_mipmap (format=0x4, border=0, srcWidth=1024,
    srcHeight=1024, srcPtr=0x0, dstWidth=512, dstHeight=512,
    dstPtr=0x2f9dc00 "\001") at main/mipmap.c:561
#2  0x00002b3c646d3c1f in _mesa_generate_mipmap (ctx=0xbf3430, target=3553,
    texUnit=<value optimized out>, texObj=0x9f08d0) at main/mipmap.c:1134
#3  0x00002b3c646b70c7 in _mesa_GenerateMipmapEXT (target=3553)
    at main/fbobject.c:1547
#4  0x00002b3c52dcdac0 in __glXDisp_Render (cl=<value optimized out>,
    pc=0x2c89f24 "\b") at ../../../GL/glx/glxcmds.c:1778
#5  0x00002b3c52dd1712 in __glXDispatch (client=0xc71a10)
    at ../../../GL/glx/glxext.c:493
#6  0x000000000044d7ae in Dispatch () at ../../dix/dispatch.c:502
#7  0x00000000004359f5 in main (argc=10, argv=0x7fff5aa6d718,
    envp=<value optimized out>) at ../../dix/main.c:454
(gdb)
(gdb) bt full
#0  do_row (format=<value optimized out>, srcWidth=<value optimized out>,
    srcRowA=0x0, srcRowB=0x1000, dstWidth=512, dstRow=0x2f9dc00)
    at main/mipmap.c:162
        i = 1
        j = 2
        k = 3
        k0 = <value optimized out>
        colStride = 2
#1  0x00002b3c646d2d09 in make_2d_mipmap (format=0x4, border=0, srcWidth=1024,
    srcHeight=1024, srcPtr=0x0, dstWidth=512, dstHeight=512,
    dstPtr=0x2f9dc00 "\001") at main/mipmap.c:561
        bpt = 4
        srcWidthNB = 1024
        dstWidthNB = 512
        dstHeightNB = 512
        srcRowStride = 4096
        dstRowStride = 2048
        srcA = (const GLubyte *) 0x2000 <Address 0x2000 out of bounds>
        srcB = (const GLubyte *) 0x3000 <Address 0x3000 out of bounds>
        dst = (GLubyte *) 0x2f9e400 ""
        row = 1
#2  0x00002b3c646d3c1f in _mesa_generate_mipmap (ctx=0xbf3430, target=3553,
    texUnit=<value optimized out>, texObj=0x9f08d0) at main/mipmap.c:1134
        dstImage = (struct gl_texture_image *) 0x2c86a70
        srcWidth = 1024
        srcHeight = 1024
        dstDepth = 1
        border = 0
        srcImage = (const struct gl_texture_image *) 0x0
        srcDepth = 1
        dstWidth = 512
        dstHeight = 512
        srcImage = (const struct gl_texture_image *) 0x2b3c64a7e160
        convertFormat = (const struct gl_texture_format *) 0x2b3c64a7e160
        srcData = (const GLubyte *) 0x0
        dstData = (GLubyte *) 0x2f9dc00 "\001"
        level = 1
        maxLevels = <value optimized out>
        __PRETTY_FUNCTION__ = "_mesa_generate_mipmap"
#3  0x00002b3c646b70c7 in _mesa_GenerateMipmapEXT (target=3553)
    at main/fbobject.c:1547
        texUnit = (struct gl_texture_unit *) 0xbfe8c8
        texObj = (struct gl_texture_object *) 0x9f08d0
        ctx = (GLcontext *) 0x4
#4  0x00002b3c52dcdac0 in __glXDisp_Render (cl=<value optimized out>,
    pc=0x2c89f24 "\b") at ../../../GL/glx/glxcmds.c:1778
        entry = {bytes = 8, varsize = 0}
        extra = 512
        proc = (
    __GLXdispatchRenderProcPtr) 0x2b3c52dd5fb0 <__glXDisp_GenerateMipmapEXT>
        err = 0
        client = (ClientPtr) 0xc71a10
        left = 136
        cmdlen = 8
        error = 0
        commandsDone = 6
        glxc = (__GLXcontext *) 0xb6a5f0
        sw = <value optimized out>
#5  0x00002b3c52dd1712 in __glXDispatch (client=0xc71a10)
    at ../../../GL/glx/glxext.c:493
        stuff = (xGLXSingleReq *) 0x2c89edc
        opcode = <value optimized out>
        proc = (__GLXdispatchSingleProcPtr) 0x2b3c52dcd9f0 <__glXDisp_Render>
        cl = (__GLXclientState *) 0xc71c08
        retval = 1
#6  0x000000000044d7ae in Dispatch () at ../../dix/dispatch.c:502
        clientReady = <value optimized out>
        result = <value optimized out>
        client = (ClientPtr) 0xc71a10
        nready = 0
        start_tick = 560
#7  0x00000000004359f5 in main (argc=10, argv=0x7fff5aa6d718,
    envp=<value optimized out>) at ../../dix/main.c:454
        pScreen = <value optimized out>
        i = 1
        error = 0
        xauthfile = <value optimized out>
        alwaysCheckForInput = {0, 1}

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
--
_______________________________________________
Dri-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dri-devel

Reply via email to