[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#478893: libgl1-mesa-dri: stalls or crashes on GLX



> > [Switching to Thread 0x2b9953c7f2c0 (LWP 4684)]
> > 0x00002b99662bfceb in copy_array_to_vbo_array (brw=0x13c7330, i=<value optimized out>, array=0x1fd0f58, element_size=12, count=983040) at brw_draw_upload.c:263
> > 263     brw_draw_upload.c: No such file or directory.
> >         in brw_draw_upload.c
> Please send the output of "bt full" instead of "bt" right here, nothing
> else should be needed.
enjoy! and thanks!
#0  0x00002b18c3b19ceb in copy_array_to_vbo_array (brw=0x1b12fa0, 
    i=<value optimized out>, array=0x1f63258, element_size=12, count=983040)
    at brw_draw_upload.c:263
        map = (GLubyte *) 0x0
        ctx = <value optimized out>
        size = 11796480
        vbo = (struct gl_buffer_object *) 0xb7c570
        offset = <value optimized out>
        __PRETTY_FUNCTION__ = "copy_array_to_vbo_array"
#1  0x00002b18c3b1a22a in brw_upload_vertices (brw=0x1b12fa0, min_index=0, 
    max_index=983039) at brw_draw_upload.c:478
        input = (struct brw_vertex_element *) 0x1b27648
        tmp = 0
        vep = {header = {length = 0, opcode = 0}, ve = {{ve0 = {
        src_offset = 0, pad = 0, src_format = 0, pad0 = 0, valid = 0, 
        vertex_buffer_index = 0}, ve1 = {dst_offset = 0, pad = 0, 
        vfcomponent3 = 0, vfcomponent2 = 0, vfcomponent1 = 0, 
        vfcomponent0 = 0}} <repeats 18 times>}}
        vbp = {header = {bits = {length = 0, opcode = 0}, dword = 0}, vb = {{
      vb0 = {bits = {pitch = 0, pad = 0, access_type = 0, vb_index = 0}, 
        dword = 0}, buffer = 0x0, offset = 0, max_index = 0, 
      instance_data_step_rate = 0} <repeats 17 times>}}
        i = 3
        ptr = (const void *) 0x2b18c8065060
        interleave = 0
        enabled = {0x1b275e8, 0x1b27628, 0x1b27648, 0x200000000, 0x40, 
  0x1d00000018, 0x2b18c5faa440, 0x2b18c3b020f6, 0x1d00000040, 0x2b18c3f20800, 
  0x40, 0x1a92720, 0x1b12fa0, 0x1440, 0x1f98320, 0x1c0, 0xb, 0x2b18c3b022b6, 
  0x200000076, 0x2b18c3b02823, 0x1f98dc0, 0x64, 0x1f98dc0, 0x1b12fa0, 
  0x1f98320, 0x2b18c3b18d5f, 0x0, 0x8, 0x1c0, 0x7c3b2299d, 0x144660020100, 
  0x1b12fa0}
        nr_enabled = 3
        upload = {0x1b275e8, 0x1b27628, 0x1b27648, 0xdc3b32e48, 0xfe416800007, 
  0x10000040157, 0x10000000157, 0x300040117, 0x50, 0x300000020, 
  0x2b18c6029040, 0x2b18c3b020f6, 0x300000050, 0x2b18c3f20800, 0xc5faa280, 
  0x1e15220, 0x1b12fa0, 0x300000040, 0x50, 0x300000020, 0x50, 0x200000020, 
  0x40, 0x18, 0x200000050, 0x84, 0x901b12fa0, 0x2b18c3f20800, 0x1b12fa0, 
  0x1a92720, 0x1b12fa0, 0x2b18b0e239a0}
        nr_uploads = 3
        __PRETTY_FUNCTION__ = "brw_upload_vertices"
#2  0x00002b18c3b19769 in brw_try_draw_prims (ctx=0x1b12fa0, arrays=0x1c425e8, 
    prim=0x7ffffb470710, nr_prims=1, ib=0x0, min_index=0, max_index=983039)
    at brw_draw.c:319
        intel = <value optimized out>
        brw = (struct brw_context *) 0x0
        retval = <value optimized out>
        i = <value optimized out>
        j = <value optimized out>
        __PRETTY_FUNCTION__ = "brw_try_draw_prims"
        __FUNCTION__ = "brw_try_draw_prims"
#3  0x00002b18c3b19a00 in brw_draw_prims (ctx=0x1b12fa0, arrays=0x1c425e8, 
    prim=0x7ffffb470710, nr_prims=1, ib=0x0, min_index=0, max_index=983039)
    at brw_draw.c:446
        intel = <value optimized out>
        retval = <value optimized out>
#4  0x00002b18c3baf8eb in vbo_exec_DrawArrays (mode=4, start=0, count=983040)
    at vbo/vbo_exec_array.c:264
        ctx = (GLcontext *) 0x0
        prim = {{mode = 4, indexed = 0, begin = 1, end = 1, weak = 0, pad = 0, 
    start = 0, count = 983040}}
#5  0x00002b18b1bf8295 in __glXDisp_DrawArrays (
    pc=0x2b18c8065060 "@\021@a\027IBѿ\200\031\026?\222N?#*\207=>>>\021@HB\0375\032?QK?GW=>>>k\035@[zHB}L\027?3\031N?ZO=>>>@\021@a\027IBѿ5\032?QK?GW=>>>k\035@[zHB}M6\032?\231\035L?\030=>>>H+\030@\224HB^俠L\027?3\031N?"...)
    at ../../../GL/glx/render2.c:248
        datatype = 5126
        numVals = 3
        numComponents = 3
        primType = 4
        stride = 36
        i = 3
#6  0x00002b18b1bd9da6 in DoRenderLarge (cl=0x1bdae60, 
    pc=0x277ea20 "\212ɾ\201O:$ݾ", do_swap=0)
    at ../../../GL/glx/glxcmds.c:2055
        proc = (__GLXdispatchRenderProcPtr) 0xb3
        client = (ClientPtr) 0x14a3e70
        dataBytes = 3780
        glxc = (__GLXcontext *) 0x14a9be0
        error = <value optimized out>
        opcode = 193
        sw = <value optimized out>
#7  0x00002b18b1bdd72c in __glXDispatch (client=0x14a3e70)
    at ../../../GL/glx/glxext.c:561
        stuff = (xGLXSingleReq *) 0x277ea10
        opcode = <value optimized out>
        proc = (
    __GLXdispatchSingleProcPtr) 0x2b18b1bd9de0 <__glXDisp_RenderLarge>
        cl = (__GLXclientState *) 0x1bdae60
        retval = 1
#8  0x000000000044e310 in Dispatch () at ../../dix/dispatch.c:502
        clientReady = <value optimized out>
        result = <value optimized out>
        client = (ClientPtr) 0x14a3e70
        nready = 0
        start_tick = 4840
#9  0x0000000000436add in main (argc=9, argv=0x7ffffb470df8, 
    envp=<value optimized out>) at ../../dix/main.c:452
        pScreen = <value optimized out>
        i = 1
        error = 0
        xauthfile = <value optimized out>
        alwaysCheckForInput = {0, 1}


and corresponding not-full bt
#0  0x00002b18c3b19ceb in copy_array_to_vbo_array (brw=0x1b12fa0, 
    i=<value optimized out>, array=0x1f63258, element_size=12, count=983040)
    at brw_draw_upload.c:263
#1  0x00002b18c3b1a22a in brw_upload_vertices (brw=0x1b12fa0, min_index=0, 
    max_index=983039) at brw_draw_upload.c:478
#2  0x00002b18c3b19769 in brw_try_draw_prims (ctx=0x1b12fa0, arrays=0x1c425e8, 
    prim=0x7ffffb470710, nr_prims=1, ib=0x0, min_index=0, max_index=983039)
    at brw_draw.c:319
#3  0x00002b18c3b19a00 in brw_draw_prims (ctx=0x1b12fa0, arrays=0x1c425e8, 
    prim=0x7ffffb470710, nr_prims=1, ib=0x0, min_index=0, max_index=983039)
    at brw_draw.c:446
#4  0x00002b18c3baf8eb in vbo_exec_DrawArrays (mode=4, start=0, count=983040)
    at vbo/vbo_exec_array.c:264
#5  0x00002b18b1bf8295 in __glXDisp_DrawArrays (
    pc=0x2b18c8065060 "@\021@a\027IBѿ\200\031\026?\222N?#*\207=>>>\021@HB\0375\032?QK?GW=>>>k\035@[zHB}L\027?3\031N?ZO=>>>@\021@a\027IBѿ5\032?QK?GW=>>>k\035@[zHB}M6\032?\231\035L?\030=>>>H+\030@\224HB^俠L\027?3\031N?"...)
    at ../../../GL/glx/render2.c:248
#6  0x00002b18b1bd9da6 in DoRenderLarge (cl=0x1bdae60, 
    pc=0x277ea20 "\212ɾ\201O:$ݾ", do_swap=0)
    at ../../../GL/glx/glxcmds.c:2055
#7  0x00002b18b1bdd72c in __glXDispatch (client=0x14a3e70)
    at ../../../GL/glx/glxext.c:561
#8  0x000000000044e310 in Dispatch () at ../../dix/dispatch.c:502
#9  0x0000000000436add in main (argc=9, argv=0x7ffffb470df8, 
    envp=<value optimized out>) at ../../dix/main.c:452


and beginning lines at ioctl infinite loop bt full are

#0  0x00002b18b0b9e9a7 in ioctl () from /lib/libc.so.6
No symbol table info available.
#1  0x00002b18b2473381 in drmGetLock () from /usr/lib/libdrm.so.2
No symbol table info available.
#2  0x00002b18b2241c4f in DRILock (pScreen=<value optimized out>, 
    flags=<value optimized out>) at ../../../../hw/xfree86/dri/dri.c:2234
        __ret = <value optimized out>
#3  0x00002b18b259d994 in I830LeaveVT (scrnIndex=<value optimized out>, 
    flags=<value optimized out>) at ../../src/i830_driver.c:3187
        pScrn = (ScrnInfoPtr) 0x803350
        pI830 = (I830Ptr) 0x805b70
        o = <value optimized out>
#4  0x0000000000467c65 in AbortDDX ()
    at ../../../../hw/xfree86/common/xf86Init.c:1112
        i = 1
#5  0x000000000056a888 in AbortServer () at ../../os/log.c:406
No locals.
#6  0x000000000056aed5 in FatalError (
    f=0x573ae8 "Caught signal %d.  Server aborting\n") at ../../os/log.c:552
        args = {{gp_offset = 16, fp_offset = 48, 
    overflow_arg_area = 0x7ffffb46fb20, reg_save_area = 0x7ffffb46fa60}}
        beenhere = 1
#7  0x0000000000475639 in xf86SigHandler (signo=11)
    at ../../../../hw/xfree86/common/xf86Events.c:766
No locals.
#8  <signal handler called>
No symbol table info available.
#9  0x00002b18c3b19ceb in copy_array_to_vbo_array (brw=0x1b12fa0, 
    i=<value optimized out>, array=0x1f63258, element_size=12, count=983040)
    at brw_draw_upload.c:263
        map = (GLubyte *) 0x0
        ctx = <value optimized out>
        size = 11796480
        vbo = (struct gl_buffer_object *) 0xb7c570
        offset = <value optimized out>
        __PRETTY_FUNCTION__ = "copy_array_to_vbo_array"
...



-- 
Yaroslav Halchenko
Research Assistant, Psychology Department, Rutgers-Newark
Student  Ph.D. @ CS Dept. NJIT
Office: (973) 353-5440x263 | FWD: 82823 | Fax: (973) 353-1171
        101 Warren Str, Smith Hall, Rm 4-105, Newark NJ 07102
WWW:     http://www.linkedin.com/in/yarik        



Reply to: