Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06322 Crash/Freeze Critical (emulator) Always Jul 25, 2016, 21:19 Nov 15, 2022, 09:41
Tester Firehawke View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows Vista/7/8 (64-bit)
Status [?] Confirmed Driver
Version 0.175 Fixed in Version Build
Fixed in Git Commit Github Pull Request #
Summary 06322: gradius4: Crash to prompt when testing MASK ROMS in Service Mode (F2)
Description Normal 64-bit bulid drops to prompt with no message
32-bit build shows:
terminate called after throwing an instance of 'emu_fatalerror'
  what(): std::exception

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Steps To Reproduce MAME gradius4
When game boots up, hit F2 to enter Test Mode and select Mask Rom Check - hitting P1 Start to begin the test
Additional Information
Github Commit
Regression Version 0.175
Affected Sets / Systems gradius4
Attached Files
There are no relationship linked to this issue.
User avatar
Jul 26, 2016, 06:08
only happens with the recompiler enabled.
User avatar
Senior Tester
Jan 1, 2018, 00:00
MAME exception: SHARC: Status Stack overflow
User avatar
Senior Tester
Nov 15, 2022, 09:41
0.249 on Linux reports:
==21597==ERROR: AddressSanitizer: SEGV on unknown address (pc 0x7fb861186366 bp 0x7fb86123903b sp 0x7fffc04b0868 T0)
==21597==The signal is caused by a READ memory access.
==21597==Hint: this fault was caused by a dereference of a high value address (see register values below).  Disassemble the provided pc to learn which register was used.
    #0 0x7fb861186366  (/lib/x86_64-linux-gnu/ (BuildId: ff2b0e1755c393b12a0264f0115b14e8c9b6afcf)
    #1 0x7fb861186825  (/lib/x86_64-linux-gnu/ (BuildId: ff2b0e1755c393b12a0264f0115b14e8c9b6afcf)
    #2 0x7fb861186d28 in _Unwind_RaiseException (/lib/x86_64-linux-gnu/ (BuildId: ff2b0e1755c393b12a0264f0115b14e8c9b6afcf)
    #3 0x7fb86123903a in __cxa_throw (/usr/lib/x86_64-linux-gnu/ (BuildId: 00bbb52a4fbeaea07adbaa5ddc677c5d83686151)
    #4 0x7fb88c1d1231 in void fatalerror<char const (&) [29]>(char const (&) [29]) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/emu/emucore.h:317:2
    #5 0x7fb8a106680b in sharc_cfunc_statusstack_overflow /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/cpu/sharc/sharcdrc.cpp:208:2
    #6 0x7fb8a106680b in cfunc_statusstack_overflow(void*) /mnt/s/GitHub/mame/build/projects/sdl/mame/gmake-linux-clang/../../../../../src/devices/cpu/sharc/sharcdrc.cpp:147:9
    #7 0x7fb84912f3eb  (/dev/zero+0x303eb)

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/ (BuildId: ff2b0e1755c393b12a0264f0115b14e8c9b6afcf)

It appears the execution is not caught in some cases.