Crash still occurs with "display_restore no" added to the .rc file in my case, but I was still able to get a log with -logsync, attached below. The log appears to end normally in spite of the crash, but you can see for yourself whether there's anything unexpected. Just to see what would happen, I then rebuilt with --disable-fb (in addition to --enable-debug, --enable-sdl2, --disable-sdl, --disable-vc. After removing a couple of now "unknown options" in the .rc, the emulator still runs in SMP albeit...
Spent some time reproducin the bug again today. Here's what I encountered: When retropie determines that you're running on a Pi4 it compiles the git version with the following configure flags: --enable-sdl2 --disable-sdl --disable-vc because it expects the PI4 to use the DRM/KMS video driver, not videocore. So I built from the github master with those options plus --enable-debug. (Without those options you get an error from advmame when running from the command line that you need to run under a window...
The situation is that if Advmame is started in SMP mode on the Pi4 in the RetroPie environment (I.e. launched by command line via EmulationStation) then when you go to exit the emulator it crashes during exit at some point before any config file changes made during the session are are written out. Any ROM, doesn't matter which one. RetroPie does not use any windowing system, it relies on the DRM/KMS drivers as the bug states to run EmulationStation, and the Advmame config must use SDL. Happy to provide...
Yes, I’ve used the git version and enabled debug but for some reason that SIGSEV is all that is reported if I remember correctly. Stack corrupted? I did try to debug it further but didn't get very far. I'll try again and make sure.
Yes, I’ve used the git version and enabled debug but for some reason that SIGSEV is all that is reported if I remember correctly. Stack corrupted? I did try to debug it further but didn't get very far. I'll try again and make sure. Andy Silverman Principal Program Manager, Azure Hardware Strategic Planning From: bugs@advancemame.p.re.sourceforge.net bugs@advancemame.p.re.sourceforge.net on behalf of Andrea Mazzoleni amadvance@users.sourceforge.net Sent: Thursday, March 23, 2023 11:05:45 PM To: [advancemame:bugs]...
The situation is that if Advmame is started in SMP mode on the Pi4 in the RetroPie environment (I.e. launched by command line via EmulationStation) then when you go to exit the emulator it crashes during exit at some point before any config file changes made during the session are are written out. Any ROM, doesn't matter which one. RetroPie does not use any windowing system, it relies on the DRM/KMS drivers as the bug states to run EmulationStation, and the Advmame config must use SDL. Happy to provide...
AdvMame 3.9 SIGSEGV on exit in default Retropie distribution on RPi 4
Andrea: The posted rc53 completely cures the problem. :-) Much appreciated. Also,...