[Bug 32455] Crash with mame using OpenGL with newest Gallium on Radeon 4350

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Feb 13 10:42:57 PST 2011


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

--- Comment #15 from Øyvind Sæther <oyvinds at everdot.org> 2011-02-13 10:42:57 PST ---
2.6.38-rc4-git2, latest mesa git

$ gdb sdlmame

warning: Can not parse XML syscalls information; XML support was disabled at
compile time.
GNU gdb (Gentoo 7.0.1 p1) 7.0.1
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-pc-linux-gnu".
For bug reporting instructions, please see:
<http://bugs.gentoo.org/>...
Reading symbols from /usr/games/bin/sdlmame...done.
(gdb) run
Starting program: /usr/games/bin/sdlmame
[Thread debugging using libthread_db enabled]
ALSA lib pcm_dmix.c:1018:(snd_pcm_dmix_open) unable to open slave
[New Thread 0x7ffff43c7710 (LWP 19842)]
Invalid numscreens value 2; reverting to 1
[New Thread 0x7ffff3bc6710 (LWP 19843)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff3bc6710 (LWP 19843)]
0x00007ffff2346951 in u_vbuf_mgr_set_vertex_buffers (mgrb=0x71f97b0, count=1,
bufs=0x7ffff3bc58e0) at util/u_vbuf_mgr.c:482
482     util/u_vbuf_mgr.c: Ingen slik fil eller filkatalog.
        in util/u_vbuf_mgr.c
(gdb) bt full
#0  0x00007ffff2346951 in u_vbuf_mgr_set_vertex_buffers (mgrb=0x71f97b0,
count=1, bufs=0x7ffff3bc58e0) at util/u_vbuf_mgr.c:482
        vb = 0x7ffff3bc58e0
        mgr = 0x71f97b0
        i = 0
#1  0x00007ffff20bb4f7 in r600_set_vertex_buffers (ctx=0x720cfb0, count=1,
buffers=0x7ffff3bc58e0) at r600_state_common.c:191
        rctx = 0x720cfb0
        i = 1
#2  0x00007ffff219f218 in st_draw_vbo (ctx=0x7735fc0, arrays=0x7786f20,
prims=0x7ffff3bc5c70, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001',
min_index=0, max_index=3) at state_tracker/st_draw.c:712
        st = 0x77834b0
        pipe = 0x720cfb0
        vp = 0x7fffec263fb0
        vpv = 0x7fffec1bcef0
        vbuffer = {{stride = 8, max_index = 3, buffer_offset = 0, buffer =
0x0}, {stride = 3961469624, max_index = 32767, buffer_offset = 4, buffer =
0x7ffff3bc5ac0}, {stride = 27394114, max_index = 32767, buffer_offset = 3,
            buffer = 0x7fff01b6c001}, {stride = 16, max_index = 0,
buffer_offset = 4089207360, buffer = 0x7ffff2247a0e}, {stride = 27394048,
max_index = 117, buffer_offset = 4089207488, buffer = 0x7fffec1f3ab8}, {stride
= 27394048,
            max_index = 0, buffer_offset = 4089207248, buffer =
0x7ffff3bc5ac0}, {stride = 27394048, max_index = 32767, buffer_offset =
4064463776, buffer = 0x7fff0000029a}, {stride = 4062462521, max_index = 32767,
            buffer_offset = 27394049, buffer = 0x7ffff3bc5a00}, {stride =
27394050, max_index = 113, buffer_offset = 4089207488, buffer = 0x1a20000},
{stride = 4089207488, max_index = 4, buffer_offset = 27394050,
            buffer = 0x630ffffcd10}, {stride = 4064463296, max_index = 32767,
buffer_offset = 3961469768, buffer = 0x7ffff3bc5a40}, {stride = 4062463364,
max_index = 32767, buffer_offset = 14, buffer = 0x30}, {stride = 14,
            max_index = 27394070, buffer_offset = 64, buffer = 0x1a0000000e},
{stride = 3959423112, max_index = 32767, buffer_offset = 27394049, buffer =
0x2c}, {stride = 3961469768, max_index = 4, buffer_offset = 3959423032,
            buffer = 0x60}, {stride = 125262992, max_index = 4, buffer_offset =
80, buffer = 0x7775c90}, {stride = 3959423008, max_index = 32767, buffer_offset
= 44, buffer = 0x0}, {stride = 4160737280, max_index = 32767,
            buffer_offset = 3, buffer = 0x7ffff644f9f0}, {stride = 4089207568,
max_index = 32767, buffer_offset = 125262992, buffer = 0x7ffff3bc5b10}, {stride
= 4294954256, max_index = 32767, buffer_offset = 3961245296,
            buffer = 0x7ffff21b8091}, {stride = 4089207600, max_index = 32767,
buffer_offset = 3961929648, buffer = 0x2c00000020}, {stride = 4089207600,
max_index = 32767, buffer_offset = 125262992, buffer = 0x7735fc0}, {stride =
14,
            max_index = 2640323868, buffer_offset = 3961229296, buffer = 0x0},
{stride = 125262992, max_index = 0, buffer_offset = 4089207680, buffer =
0x7ffff2248230}, {stride = 0, max_index = 0, buffer_offset = 3961929648,
            buffer = 0x774a948}, {stride = 125001664, max_index = 0,
buffer_offset = 125001664, buffer = 0x7735fc0}, {stride = 4062858612, max_index
= 32767, buffer_offset = 125341504, buffer = 0x7ffff3bc5b90}, {stride =
4062673767,
            max_index = 32767, buffer_offset = 125086024, buffer = 0x7735fc0},
{stride = 125282840, max_index = 0, buffer_offset = 125324352, buffer =
0x7ffff3bc5bb0}, {stride = 4062673099, max_index = 32767,
            buffer_offset = 4061607402, buffer = 0x7735fc0}, {stride =
4089207776, max_index = 32767, buffer_offset = 4061779401, buffer =
0x4100000f21739b2}, {stride = 125001664, max_index = 0, buffer_offset =
125282272,
            buffer = 0x77834b0}}
        attr = 0  
        velements = {{src_offset = 119464336, instance_divisor = 0,
vertex_buffer_index = 0, src_format = PIPE_FORMAT_R32G32_FLOAT}, {src_offset =
0, instance_divisor = 0, vertex_buffer_index = 0,
            src_format = PIPE_FORMAT_R32G32_FLOAT}, {src_offset = 0,
instance_divisor = 0, vertex_buffer_index = 0, src_format = PIPE_FORMAT_NONE},
{src_offset = 0, instance_divisor = 0, vertex_buffer_index = 0,
            src_format = PIPE_FORMAT_NONE}, {src_offset = 0, instance_divisor =
0, vertex_buffer_index = 0, src_format = PIPE_FORMAT_NONE}, {src_offset = 0,
instance_divisor = 0, vertex_buffer_index = 0, src_format = PIPE_FORMAT_NONE},
          {src_offset = 0, instance_divisor = 0, vertex_buffer_index = 0,
src_format = PIPE_FORMAT_NONE}, {src_offset = 0, instance_divisor = 0,
vertex_buffer_index = 0, src_format = PIPE_FORMAT_NONE}, {src_offset = 0,
            instance_divisor = 0, vertex_buffer_index = 0, src_format =
PIPE_FORMAT_NONE}, {src_offset = 0, instance_divisor = 0, vertex_buffer_index =
0, src_format = PIPE_FORMAT_NONE}, {src_offset = 0, instance_divisor = 0,
            vertex_buffer_index = 48, src_format = PIPE_FORMAT_NONE},
{src_offset = 0, instance_divisor = 0, vertex_buffer_index = 3959423112,
src_format = 32767}, {src_offset = 0, instance_divisor = 0, vertex_buffer_index
= 34,
            src_format = PIPE_FORMAT_NONE}, {src_offset = 0, instance_divisor =
3, vertex_buffer_index = 3959423024, src_format = 32767}, {src_offset = 80,
instance_divisor = 0, vertex_buffer_index = 0,
            src_format = PIPE_FORMAT_A8R8G8B8_UNORM}, {src_offset = 0,
instance_divisor = 0, vertex_buffer_index = 3961244896, src_format = 32767},
{src_offset = 3959423008, instance_divisor = 32767, vertex_buffer_index = 34,
            src_format = PIPE_FORMAT_NONE}, {src_offset = 0, instance_divisor =
0, vertex_buffer_index = 4160737280, src_format = 32767}, {src_offset = 3,
instance_divisor = 0, vertex_buffer_index = 4131715568, src_format = 32767}, {
            src_offset = 0, instance_divisor = 0, vertex_buffer_index =
3961244896, src_format = 32767}, {src_offset = 4089206880, instance_divisor =
32767, vertex_buffer_index = 4294954256, src_format = 32767}, {src_offset = 0,
            instance_divisor = 0, vertex_buffer_index = 4061040412, src_format
= 32767}, {src_offset = 0, instance_divisor = 0, vertex_buffer_index =
3961229296, src_format = 32767}, {src_offset = 33, instance_divisor = 0,
            vertex_buffer_index = 3961245248, src_format = 706}, {src_offset =
4064463664, instance_divisor = 32767, vertex_buffer_index = 3961469696,
src_format = 32767}, {src_offset = 4089206992, instance_divisor = 32767,
            vertex_buffer_index = 4062463364, src_format = 32767}, {src_offset
= 14, instance_divisor = 0, vertex_buffer_index = 8, src_format =
PIPE_FORMAT_B8G8R8A8_UNORM}, {src_offset = 27394177, instance_divisor = 6,
            vertex_buffer_index = 3959423008, src_format = PIPE_FORMAT_NONE},
{src_offset = 27394114, instance_divisor = 45, vertex_buffer_index =
4089207488, src_format = 32767}, {src_offset = 0, instance_divisor = 8,
            vertex_buffer_index = 4089207488, src_format =
PIPE_FORMAT_X8R8G8B8_UNORM}, {src_offset = 3961469696, instance_divisor =
32767, vertex_buffer_index = 16, src_format = PIPE_FORMAT_NONE}, {src_offset =
4089207088,
            instance_divisor = 32767, vertex_buffer_index = 4062464902,
src_format = 32767}}
        num_vbuffers = 1
        num_velements = 2
        ibuffer = {index_size = 0, offset = 0, buffer = 0x0}
        userSpace = 0 '\000'
        vertDataEdgeFlags = 0 '\000'
        info = {indexed = 0 '\000', mode = 0, start = 0, count = 0,
start_instance = 0, instance_count = 0, index_bias = 0, min_index = 0,
max_index = 0, primitive_restart = 0 '\000', restart_index = 0}
        i = 32767 
#3  0x00007ffff2285119 in vbo_draw_arrays (ctx=0x7735fc0, mode=7, start=0,
count=4, numInstances=1) at vbo/vbo_exec_array.c:588
        vbo = 0x7783ec0
        exec = 0x7784c40
        prim = {{mode = 7, indexed = 0, begin = 1, end = 1, weak = 0,
no_current_update = 1, pad = 0, start = 0, count = 4, basevertex = 0,
num_instances = 1}, {mode = 255, indexed = 1, begin = 1, end = 1, weak = 1,
            no_current_update = 1, pad = 3, start = 125001664, count = 0,
basevertex = -205759296, num_instances = 32767}}
#4  0x00007ffff22851d1 in vbo_exec_DrawArrays (mode=7, start=0, count=4) at
vbo/vbo_exec_array.c:619
        ctx = 0x7735fc0
---Type <return> to continue, or q <return> to quit---
#5  0x00000000013dcc56 in drawogl_window_draw (window=0x71e6ea0, dc=0,
update=1) at src/osd/sdl/drawogl.c:1525
        i = 0
        vofs = 0  
        pendingPrimitive = -1
        is_vector = 0
        prim = 0x78993c0
        texture = 0x7fffec1567c0
        scrnum = 0
        screen = 0x7197520
        sdl = 0x71ea0d0
        hofs = 0  
        curPrimitive = 1
#6  0x00000000013d93b4 in draw_video_contents_wt (param=0x78e7500, threadid=0)
at src/osd/sdl/window.c:1168
        dc = 0
        update = 1
        wp = 0x78e7500
        window = 0x71e6ea0
#7  0x00000000020d979f in worker_thread_process (queue=0x71c8380,
thread=0x71c82f0) at src/osd/sdl/sdlwork.c:720
        item = 0x71e6510
        lockslot = 0
        threadid = 0
#8  0x00000000020d95be in worker_thread_entry (param=0x71c82f0) at
src/osd/sdl/sdlwork.c:654
        stopspin = 0
        thread = 0x71c82f0
        queue = 0x71c8380
#9  0x00007ffff75248e4 in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#10 0x00007ffff64a91dd in clone () from /lib/libc.so.6
No symbol table info available.
(gdb) quit
A debugging session is active.

        Inferior 1 [process 19839] will be killed.

Quit anyway? (y or n) y

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


More information about the dri-devel mailing list