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
Created attachment 41220 [details] [review] avoid segfault Can you test if this patch helps
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
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
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
*** This bug has been marked as a duplicate of bug 32455 ***
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.