https://bugs.freedesktop.org/show_bug.cgi?id=32456
Summary: r600g makes sdlmame SIGSEGV, r600_set_vertex_buffers involvement indicated Product: Mesa Version: git Platform: x86-64 (AMD64) OS/Version: Linux (All) Status: NEW Severity: normal Priority: low Component: Drivers/Gallium/r600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: oyvinds@everdot.org
1. run sdlmame. 2. it dies on SIGSEGV, Segmentation fault.
gdb sdlmame (gdb) run -video opengl -rompath /public/net/godzilla/games/MAME/roms/ mslug2 Starting program: /usr/games/bin/sdlmame -video opengl -rompath /public/net/godzilla/games/MAME/roms/ mslug2 [Thread debugging using libthread_db enabled] Warning: unknown option in INI: useallheads Warning: unknown option in INI: useallheads [New Thread 0x7ffff427e710 (LWP 29182)] [New Thread 0x7ffff04e9710 (LWP 29183)] WARNING: Couldn't find/open TrueType font Liberation Sans, using MAME default
Program received signal SIGSEGV, Segmentation fault. 0x00007ffff2188339 in r600_set_vertex_buffers () from /usr/lib64/dri/r600_dri.so (gdb) bt #0 0x00007ffff2188339 in r600_set_vertex_buffers () from /usr/lib64/dri/r600_dri.so #1 0x00007ffff223959c in st_draw_vbo () from /usr/lib64/dri/r600_dri.so #2 0x00007ffff22362a3 in vbo_draw_arrays () from /usr/lib64/dri/r600_dri.so #3 0x0000000000ff96f9 in drawogl_window_draw(_sdl_window_info*, unsigned int, int) () #4 0x0000000000ff1cc6 in draw_video_contents_wt(void*, int) () #5 0x0000000000ff2fc6 in sdlwindow_video_window_update(running_machine*, _sdl_window_info*) () #6 0x0000000000fd39ac in sdl_osd_interface::update(bool) () #7 0x00000000016206c4 in video_manager::frame_update(bool) () #8 0x00000000015ebd47 in display_loading_rom_message(_romload_private*, char const*) () #9 0x00000000015ecf9f in process_rom_entries(_romload_private*, char const*, rom_entry const*) () #10 0x00000000015edf17 in rom_init(running_machine*) () #11 0x0000000001597b02 in running_machine::start() () #12 0x000000000159803b in running_machine::run(bool) () #13 0x00000000015963d0 in mame_execute(osd_interface&, _core_options*) () #14 0x000000000154fbe5 in cli_execute(int, char**, osd_interface&, _options_entry const*) () #15 0x0000000000fd03bf in main () (gdb) quit
https://bugs.freedesktop.org/show_bug.cgi?id=32456
--- Comment #1 from Jerome Glisse glisse@freedesktop.org 2010-12-17 11:36:12 PST --- Created an attachment (id=41220) View: https://bugs.freedesktop.org/attachment.cgi?id=41220 Review: https://bugs.freedesktop.org/review?bug=32456&attachment=41220
avoid segfault
Can you test if this patch helps
https://bugs.freedesktop.org/show_bug.cgi?id=32456
--- Comment #2 from Øyvind Sæther oyvinds@everdot.org 2010-12-17 13:34:04 PST --- I applied patch 41220 and got the same SIGSEGV and backtrace. It did not help, but thank you for trying.
It's possible to run sdlmame games using r600g by turning vertex buffers off, add gl_vbo 0 to sdlmame/mame.ini
https://bugs.freedesktop.org/show_bug.cgi?id=32456
--- Comment #3 from Jerome Glisse glisse@freedesktop.org 2010-12-17 14:27:24 PST --- please do the following : make clean CFLAGS="-g3 -O0" ./autogen.sh --enable-debug --enable-gallium-r600 make -j3
And recapture the backtrace with this debug version. Use btfull and attach it here thanks
https://bugs.freedesktop.org/show_bug.cgi?id=32456
--- Comment #4 from Chris bitbytebit@gmail.com 2010-12-17 14:56:15 PST --- I have this same issue, my bug report for it is here...
https://bugs.freedesktop.org/show_bug.cgi?id=32455
I have a full backtrace of the issue with a mesa debug compile
https://bugs.freedesktop.org/show_bug.cgi?id=32456
Alex Deucher agd5f@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #5 from Alex Deucher agd5f@yahoo.com 2010-12-17 15:03:22 PST ---
*** This bug has been marked as a duplicate of bug 32455 ***
dri-devel@lists.freedesktop.org