Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08177 Crash/Freeze Critical (emulator) Always 7 days ago 6 days ago
Tester Kale View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows 10/11 (64-bit)
Status [?] Confirmed Driver naomi.cpp
Version 0.239 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary 08177: wwfroyal: Crashes MAME when entering game test mode
Description WWF Royal crashes MAME with a meaningless stack trace when entering in game test mode.
It will load that for a bit with a black screen then punts.
Steps To Reproduce Press F2 when NAOMI logo appears;
Press '9' until game test mode is highlighted;
Press F2 to enter into game test mode, wait until game crashes;
Additional Information It seems to access a bit of naomi_m2_board::read_callback fn before crashing, which isn't consistent (i.e. same NVRAM/.inp doesn't give same results on different runs) and may not be the culprit.
Stack trace is so meaningless that it may "eat" letters when dumping (i.e. "xptio at P000000010fb9 (ot fo): ACC VAT\nWhi attptig to ra ory at")
Github Commit
Flags
Regression Version
Affected Sets / Systems wwfroyal
Attached Files
png file icon 0005.png (3,449 bytes) 7 days ago Uploaded by Kale
Kale
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.19668
Kale
Developer
7 days ago
edited on: 7 days ago
Tested back to 0.190, where this still happens.
User avatar
No.19671
Kale
Developer
6 days ago
edited on: 6 days ago
Robbbert managed to find that this crash specifically happens at https://github.com/mamedev/mame/blob/e13b47e557a2c9e7728f6565d6378b623610f414/src/mame/machine/315-5881_crypt.cpp#L961

Specifically that the line_buffer_size check
for(int i=0; i != line_buffer_size;) {

should be a < instead of a !=

We are not sure about how safe it is tho ...