[Mesa-dev] [Bug 61149] New: Crash on Intel Sandybridge Mobile with Vertex Buffer Objects and select mode OpenGL rendering

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Feb 19 17:12:49 PST 2013


https://bugs.freedesktop.org/show_bug.cgi?id=61149

          Priority: medium
            Bug ID: 61149
          Assignee: mesa-dev at lists.freedesktop.org
           Summary: Crash on Intel Sandybridge Mobile with Vertex Buffer
                    Objects and select mode OpenGL rendering
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: kalast at gmail.com
          Hardware: Other
            Status: NEW
           Version: 9.0
         Component: Mesa core
           Product: Mesa

Hi, this is an old bug we are encountering in blender.

My system is Ubuntu 12.10, Intel® Core™ i5-2410M CPU @ 2.30GHz × 4, 4GB ram,
Hybrid NVIDIA GT 540M - Intel(R) Sandybridge Mobile

To reproduce, 

* start blender
* enable VBO in user preferences (Ctrl-Alt-U) under the system tab.
* try selecting any object on 3D viewport (right clicking on the default Cube
for instance)

My guess is that it has to do with select mode rendering and vertex buffer
object combination. I would do a trunk compile but I am using optimus on my
system and I fear I may destabilize something. If it is safe and would help, I
could attempt it.

The backtrace is:

#0  0x00007fffe26e4a3f in run_vp (ctx=<optimized out>, stage=<optimized out>)
    at ../../../../../src/mesa/tnl/t_vb_program.c:389
#1  0x00007fffe26e192d in _tnl_run_pipeline (ctx=0x57078e0)
    at ../../../../../src/mesa/tnl/t_pipeline.c:163
#2  0x00007fffe26e1f26 in _tnl_draw_prims (ctx=ctx at entry=0x57078e0, 
    arrays=arrays at entry=0x7ffffffd5760, prim=prim at entry=0x7ffffffd63e0, 
    nr_prims=nr_prims at entry=1, ib=ib at entry=0x7ffffffd5740, 
    min_index=<optimized out>, max_index=0)
    at ../../../../../src/mesa/tnl/t_draw.c:524
#3  0x00007fffe26e2a8f in _tnl_vbo_draw_prims (ctx=ctx at entry=0x57078e0, 
    prim=prim at entry=0x7ffffffd63e0, nr_prims=nr_prims at entry=1, 
    ib=ib at entry=0x7ffffffd5740, 
    index_bounds_valid=index_bounds_valid at entry=1 '\001', 
    min_index=min_index at entry=0, max_index=0, 
    tfb_vertcount=tfb_vertcount at entry=0x0)
    at ../../../../../src/mesa/tnl/t_draw.c:424
#4  0x00007fffe26d3301 in vbo_rebase_prims (ctx=ctx at entry=0x57078e0, 
    arrays=arrays at entry=0x58572f8, prim=prim at entry=0x7ffffffd63e0, 
    nr_prims=nr_prims at entry=1, ib=0x7ffffffd5740, ib at entry=0x7ffffffd63c0, 
    min_index=min_index at entry=4294967295, 
    max_index=max_index at entry=4294967295, 
    draw=draw at entry=0x7fffe26e2a20 <_tnl_vbo_draw_prims>)
    at ../../../../../src/mesa/vbo/vbo_rebase.c:233
---Type <return> to continue, or q <return> to quit---
#5  0x00007fffe26e1b09 in _tnl_draw_prims (ctx=ctx at entry=0x57078e0, 
    arrays=arrays at entry=0x58572f8, prim=prim at entry=0x7ffffffd63e0, 
    nr_prims=nr_prims at entry=1, ib=ib at entry=0x7ffffffd63c0, 
    min_index=4294967295, max_index=4294967295)
    at ../../../../../src/mesa/tnl/t_draw.c:467
#6  0x00007fffe2b70ac3 in brw_draw_prims (ctx=0x57078e0, prim=0x7ffffffd63e0, 
    nr_prims=1, ib=0x7ffffffd63c0, index_bounds_valid=<optimized out>, 
    min_index=4294967295, max_index=4294967295, tfb_vertcount=0x0)
    at brw_draw.c:581
#7  0x00007fffe26cf3aa in vbo_handle_primitive_restart (
    ctx=ctx at entry=0x57078e0, prim=prim at entry=0x7ffffffd63e0, 
    nr_prims=nr_prims at entry=1, ib=ib at entry=0x7ffffffd63c0, 
    index_bounds_valid=index_bounds_valid at entry=0 '\000', 
    min_index=min_index at entry=4294967295, max_index=max_index at entry=4294967295)
    at ../../../../../src/mesa/vbo/vbo_exec_array.c:570
#8  0x00007fffe26d0384 in vbo_validated_drawrangeelements (
    ctx=ctx at entry=0x57078e0, mode=mode at entry=1, 
    index_bounds_valid=index_bounds_valid at entry=0 '\000', 
    start=start at entry=4294967295, end=end at entry=4294967295, 
    count=count at entry=24, type=type at entry=5125, indices=indices at entry=0x0, 
    basevertex=basevertex at entry=0, numInstances=numInstances at entry=1, 
    baseInstance=baseInstance at entry=0)
    at ../../../../../src/mesa/vbo/vbo_exec_array.c:867
---Type <return> to continue, or q <return> to quit---
#9  0x00007fffe26d06f4 in vbo_exec_DrawElements (mode=1, count=24, type=5125, 
    indices=0x0) at ../../../../../src/mesa/vbo/vbo_exec_array.c:997
#10 0x00000000010ed899 in cdDM_drawEdges ()
#11 0x0000000000d24cf1 in draw_mesh_object_outline.isra.5 ()
#12 0x0000000000d2e18e in draw_mesh_object ()
#13 0x0000000000d31d4e in draw_object ()
#14 0x0000000000d21e80 in view3d_opengl_select ()
#15 0x0000000000d1720c in mixed_bones_object_selectbuffer ()
#16 0x0000000000d1a180 in mouse_select ()
#17 0x0000000000d1aa48 in view3d_select_invoke ()
#18 0x0000000000c65c52 in wm_operator_invoke ()
#19 0x0000000000c66cae in wm_handler_operator_call ()
#20 0x0000000000c66f6d in wm_handlers_do_intern ()
#21 0x0000000000c676b6 in wm_handlers_do ()
#22 0x0000000000c67b4b in wm_event_do_handlers ()
#23 0x0000000000c60c88 in WM_main ()
#24 0x0000000000c23d65 in main ()

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20130220/93a22cc2/attachment-0001.html>


More information about the mesa-dev mailing list