http://bugs.freedesktop.org/show_bug.cgi?id=25588

           Summary: [Segmentation fault] vbo_get_minmax_index at
                    vbo/vbo_exec_array.c:81
           Product: Mesa
           Version: git
          Platform: x86 (IA32)
        OS/Version: Linux (All)
            Status: NEW
          Severity: major
          Priority: medium
         Component: Mesa core
        AssignedTo: mesa3d-dev@lists.sourceforge.net
        ReportedBy: fabio....@libero.it


Created an attachment (id=31982)
 --> (http://bugs.freedesktop.org/attachment.cgi?id=31982)
etqw console output + gdb backtrace

The game Enemy Territory: Quake Wars (
http://zerowing.idsoftware.com/linux/etqw/ ) crashes with the following
backtrace. Note that the game require libtxc_dxtn.so or else it stops with the
game console.

Full game console output + backtrace is attached.

I am using current mesa_7_7_branch git compiled with libdrm_radeon but without
KMS:
GL_RENDERER   = Mesa DRI R300 (RV530 71C5) 20090101 x86/MMX/SSE2 TCL


Mesa: User error: GL_OUT_OF_MEMORY in glBufferDataARB()

Program received signal SIGSEGV, Segmentation fault.
vbo_get_minmax_index (ctx=0x9ce4058, prim=0xbffff090, ib=0xbffff0a0,
min_index=0xbffff078, max_index=0xbffff07c)
    at vbo/vbo_exec_array.c:81
81            GLuint min_us = us_indices[0];
(gdb) bt
#0  vbo_get_minmax_index (ctx=0x9ce4058, prim=0xbffff090, ib=0xbffff0a0,
min_index=0xbffff078, max_index=0xbffff07c)
    at vbo/vbo_exec_array.c:81
#1  0x01f8a06f in r300DrawPrims (ctx=0x9ce4058, arrays=0x9d1ee5c,
prim=0xbffff090, nr_prims=1, ib=0xbffff0a0,
    index_bounds_valid=0 '\000', min_index=4294967295, max_index=4294967295) at
r300_draw.c:694
#2  0x0204d695 in vbo_validated_drawrangeelements (ctx=0x9ce4058, mode=<value
optimised out>,
    index_bounds_valid=<value optimised out>, start=4294967295, end=4294967295,
count=60, type=5123, indices=0x0,
    basevertex=0) at vbo/vbo_exec_array.c:662
#3  0x0204d8c2 in vbo_exec_DrawElements (mode=4, count=60, type=5123,
indices=0x0) at vbo/vbo_exec_array.c:794
#4  0x02040680 in neutral_DrawElements (mode=4, count=60, type=5123,
indices=0x0) at main/vtxfmt_tmp.h:334


The game also prints many warnings similar to:

Mesa: User error: GL_INVALID_OPERATION in glProgramStringARB(invalid texture
image unit selector)
WARNING: GL_PROGRAM_ERROR_STRING_ARB: line 121, char 37: error: invalid texture
image unit selector
error at 2588:
pecLook, specLook;
MAD             color, R0, ambient, color;
# multiply with ambient brightness
MUL             color, program.env[0].x, color;
# do some special effects if we're compiling certain shaders
# we could move this to a separate file but this saves us from
# duplicating the shader
# modify by the vertex color
LRP color.rgb, fragment.color.secondary.x, program.local[3], color;
MUL             result.color, color, fragment.color;
MOV             result.color.a, program.env[0].y;
#MOV            result.color.rgb, fragment.texcoord[7].w;


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

------------------------------------------------------------------------------
Return on Information:
Google Enterprise Search pays you back
Get the facts.
http://p.sf.net/sfu/google-dev2dev
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to