https://bugs.freedesktop.org/show_bug.cgi?id=32455 --- Comment #5 from Ãyvind SÃther <oyvinds@xxxxxxxxxxx> 2010-12-20 16:11:27 PST --- line 179 offset += vertex_buffer->buffer_offset + r600_bo_offset(rbuffer->bo); (latest git with the "r600g: properly unset vertex buffer" abe9ffc25c8d65b48ae02cdc8445b212b9f61632 patch also SIGSEGVs. $ gdb sdlmame (stuff) Program received signal SIGSEGV, Segmentation fault. 0x00007ffff20ccb06 in r600_vertex_buffer_update (rctx=0x66bbc30) at r600_state.c:179 179 r600_state.c: Ingen slik fil eller filkatalog. in r600_state.c (gdb) bt full #0 0x00007ffff20ccb06 in r600_vertex_buffer_update (rctx=0x66bbc30) at r600_state.c:179 rstate = 0x7ffff1c93010 rbuffer = 0x0 vertex_buffer = 0x66bd048 i = 0 offset = 0 #1 0x00007ffff20da40b in r600_set_vertex_buffers (ctx=0x66bbc30, count=1, buffers=0x7fffffffc5c0) at r600_state_common.c:220 rctx = 0x66bbc30 vbo = 0x7fffffffc5c0 max_index = 4294967295 #2 0x00007ffff21d6fa8 in st_draw_vbo (ctx=0x6bf0210, arrays=0x6c3f3a0, prims=0x7fffffffc950, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=3) at state_tracker/st_draw.c:701 st = 0x6c3bb60 pipe = 0x66bbc30 vp = 0x6e3f1c0 vpv = 0x6e467a0 vbuffer = {{stride = 8, max_index = 3, buffer_offset = 0, buffer = 0x0}, {stride = 115533480, max_index = 0, buffer_offset = 4, buffer = 0x7fffffffc7a0}, {stride = 27394114, max_index = 0, buffer_offset = 3, buffer = 0x7fff01b6c001}, {stride = 16, max_index = 0, buffer_offset = 4294952736, buffer = 0x7ffff227e76e}, {stride = 27394048, max_index = 117, buffer_offset = 4294952864, buffer = 0x6e2e6a8}, { stride = 27394048, max_index = 0, buffer_offset = 4294952624, buffer = 0x7fffffffc7a0}, {stride = 27394048, max_index = 32767, buffer_offset = 4070635360, buffer = 0x7fff00000299}, {stride = 4062687129, max_index = 32767, buffer_offset = 27394049, buffer = 0x7fffffffc6e0}, {stride = 27394050, max_index = 113, buffer_offset = 4294952864, buffer = 0x1a20000}, {stride = 4294952864, max_index = 4, buffer_offset = 27394050, buffer = 0x62f06d41900}, {stride = 4070634880, max_index = 32767, buffer_offset = 115533624, buffer = 0x7fffffffc720}, {stride = 4062687972, max_index = 32767, buffer_offset = 13, buffer = 0x30}, {stride = 13, max_index = 27394070, buffer_offset = 64, buffer = 0x1a0000000d}, {stride = 4134719176, max_index = 32767, buffer_offset = 27394049, buffer = 0x2c}, { stride = 115533624, max_index = 4, buffer_offset = 4134719096, buffer = 0x60}, {stride = 113435888, max_index = 4, buffer_offset = 80320, buffer = 0x6c2e4f0}, {stride = 4134719072, max_index = 32767, buffer_offset = 44, buffer = 0x1}, {stride = 115478608, max_index = 0, buffer_offset = 1, buffer = 0x7ffff644f9f0}, {stride = 4294952944, max_index = 32767, buffer_offset = 113435888, buffer = 0x7fffffffc7f0}, { stride = 114563328, max_index = 0, buffer_offset = 115536160, buffer = 0x7ffff21ef3cd}, {stride = 4294952976, max_index = 32767, buffer_offset = 115601856, buffer = 0x2c00000020}, {stride = 4294952976, max_index = 32767, buffer_offset = 113435888, buffer = 0x6bf0210}, { stride = 13, max_index = 2640323868, buffer_offset = 115535632, buffer = 0x0}, {stride = 113435888, max_index = 0, buffer_offset = 4294953056, buffer = 0x7ffff227ef90}, {stride = 0, max_index = 0, buffer_offset = 115601856, buffer = 0x6c04a58}, {stride = 113181200, max_index = 0, buffer_offset = 113181200, buffer = 0x6bf0210}, {stride = 4063024604, max_index = 32767, buffer_offset = 113513056, buffer = 0x7fffffffc870}, { stride = 4062903259, max_index = 32767, buffer_offset = 8, buffer = 0x6bf0210}, {stride = 0, max_index = 0, buffer_offset = 113496512, buffer = 0x7fffffffc890}, {stride = 4062902571, max_index = 32767, buffer_offset = 113455672, buffer = 0x6bf0210}, {stride = 4294953152, max_index = 32767, buffer_offset = 4062008109, buffer = 0x840000006bf0210}, {stride = 113181200, max_index = 0, buffer_offset = 16, buffer = 0x6c3bb60}} attr = 0 velements = {{src_offset = 107697360, 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 = 4134719176, 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 = 4134719088, 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 = 115535680, src_format = PIPE_FORMAT_NONE}, {src_offset = 4134719072, instance_divisor = 32767, vertex_buffer_index = 34, src_format = PIPE_FORMAT_NONE}, {src_offset = 1, instance_divisor = 0, vertex_buffer_index = 115478608, src_format = PIPE_FORMAT_NONE}, { src_offset = 1, instance_divisor = 0, vertex_buffer_index = 4131715568, src_format = 32767}, {src_offset = 0, instance_divisor = 0, vertex_buffer_index = 115535680, src_format = PIPE_FORMAT_NONE}, {src_offset = 4294952256, instance_divisor = 32767, vertex_buffer_index = 114563328, src_format = PIPE_FORMAT_NONE}, {src_offset = 1, instance_divisor = 0, vertex_buffer_index = 4061149764, src_format = 32767}, {src_offset = 0, instance_divisor = 0, vertex_buffer_index = 115535632, src_format = PIPE_FORMAT_NONE}, {src_offset = 33, instance_divisor = 0, vertex_buffer_index = 115536112, src_format = 705}, {src_offset = 4070635248, instance_divisor = 32767, vertex_buffer_index = 115533552, src_format = PIPE_FORMAT_NONE}, {src_offset = 4294952368, instance_divisor = 32767, ---Type <return> to continue, or q <return> to quit--- vertex_buffer_index = 4062687972, src_format = 32767}, {src_offset = 13, instance_divisor = 0, vertex_buffer_index = 8, src_format = PIPE_FORMAT_B8G8R8A8_UNORM}, {src_offset = 27394177, instance_divisor = 6, vertex_buffer_index = 4134719072, src_format = PIPE_FORMAT_NONE}, {src_offset = 27394114, instance_divisor = 45, vertex_buffer_index = 4294952864, src_format = 32767}, { src_offset = 1, instance_divisor = 8, vertex_buffer_index = 4294952864, src_format = PIPE_FORMAT_X8R8G8B8_UNORM}, {src_offset = 115533552, instance_divisor = 0, vertex_buffer_index = 16, src_format = PIPE_FORMAT_NONE}, {src_offset = 4294952464, instance_divisor = 32767, vertex_buffer_index = 4062689510, 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 0x00007ffff21d05db in vbo_draw_arrays (ctx=0x6bf0210, mode=7, start=0, count=4, numInstances=1) at vbo/vbo_exec_array.c:588 vbo = 0x6c3c5a0 exec = 0x6c3d1c0 prim = {{mode = 7, indexed = 0, begin = 1, end = 1, weak = 0, no_current_update = 0, 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 = 113181200, count = 0, basevertex = -13920, num_instances = 32767}} #4 0x00007ffff21d0693 in vbo_exec_DrawArrays (mode=7, start=0, count=4) at vbo/vbo_exec_array.c:619 ctx = 0x6bf0210 #5 0x0000000000ff96f9 in drawogl_window_draw(_sdl_window_info*, unsigned int, int) () No symbol table info available. #6 0x0000000000ff1cc6 in draw_video_contents_wt(void*, int) () No symbol table info available. #7 0x0000000000ff2fc6 in sdlwindow_video_window_update(running_machine*, _sdl_window_info*) () No symbol table info available. #8 0x0000000000fd39ac in sdl_osd_interface::update(bool) () No symbol table info available. #9 0x00000000016206c4 in video_manager::frame_update(bool) () No symbol table info available. #10 0x00000000015ebd47 in display_loading_rom_message(_romload_private*, char const*) () No symbol table info available. #11 0x00000000015ecf9f in process_rom_entries(_romload_private*, char const*, rom_entry const*) () No symbol table info available. #12 0x00000000015edf17 in rom_init(running_machine*) () No symbol table info available. #13 0x0000000001597b02 in running_machine::start() () No symbol table info available. #14 0x000000000159803b in running_machine::run(bool) () No symbol table info available. #15 0x00000000015963d0 in mame_execute(osd_interface&, _core_options*) () No symbol table info available. #16 0x000000000154fbe5 in cli_execute(int, char**, osd_interface&, _options_entry const*) () No symbol table info available. #17 0x0000000000fd03bf in main () No symbol table info available. (gdb) bt #0 0x00007ffff20ccb06 in r600_vertex_buffer_update (rctx=0x66bbc30) at r600_state.c:179 #1 0x00007ffff20da40b in r600_set_vertex_buffers (ctx=0x66bbc30, count=1, buffers=0x7fffffffc5c0) at r600_state_common.c:220 #2 0x00007ffff21d6fa8 in st_draw_vbo (ctx=0x6bf0210, arrays=0x6c3f3a0, prims=0x7fffffffc950, nr_prims=1, ib=0x0, index_bounds_valid=1 '\001', min_index=0, max_index=3) at state_tracker/st_draw.c:701 #3 0x00007ffff21d05db in vbo_draw_arrays (ctx=0x6bf0210, mode=7, start=0, count=4, numInstances=1) at vbo/vbo_exec_array.c:588 #4 0x00007ffff21d0693 in vbo_exec_DrawArrays (mode=7, start=0, count=4) at vbo/vbo_exec_array.c:619 #5 0x0000000000ff96f9 in drawogl_window_draw(_sdl_window_info*, unsigned int, int) () #6 0x0000000000ff1cc6 in draw_video_contents_wt(void*, int) () #7 0x0000000000ff2fc6 in sdlwindow_video_window_update(running_machine*, _sdl_window_info*) () #8 0x0000000000fd39ac in sdl_osd_interface::update(bool) () #9 0x00000000016206c4 in video_manager::frame_update(bool) () #10 0x00000000015ebd47 in display_loading_rom_message(_romload_private*, char const*) () #11 0x00000000015ecf9f in process_rom_entries(_romload_private*, char const*, rom_entry const*) () #12 0x00000000015edf17 in rom_init(running_machine*) () #13 0x0000000001597b02 in running_machine::start() () #14 0x000000000159803b in running_machine::run(bool) () #15 0x00000000015963d0 in mame_execute(osd_interface&, _core_options*) () #16 0x000000000154fbe5 in cli_execute(int, char**, osd_interface&, _options_entry const*) () #17 0x0000000000fd03bf in main () (gdb) quit Thank you very much for trying!!!! :-) -- Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ dri-devel mailing list dri-devel@xxxxxxxxxxxxxxxxxxxxx http://lists.freedesktop.org/mailman/listinfo/dri-devel