Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06583 Debugger Critical (emulator) Always May 14, 2017, 17:19 Nov 15, 2022, 15:20
Tester Pasky View Status Public Platform MAME (Official Binary)
Assigned To cuavas Resolution Fixed OS Windows Vista/7/8 (64-bit)
Status [?] Resolved Driver
Version 0.185 Fixed in Version 0.237 Build 64-bit
Fixed in Git Commit 08ee39d Github Pull Request #
Summary 06583: DEBUGGER: MAME crashes when using 'cheatinit' and giving few parameters
Description MAME closes unexpectedly and without error when running with the debugger on and 'cheatinit' is executed with the insufficient parameters rather than stating an error.
Steps To Reproduce Run MAME with debugger active.
Execute 'cheatinit ub, 1'
MAME will either lockup or close unexpectedly.
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems DEBUGGER
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
5
User avatar
No.20799
Firewave
Senior Tester
Nov 11, 2022, 14:06
I cannot reproduce this with 0.249 on either Windows or Linux.

MAME debugger version 0.249 (mame0249)
Currently targeting pacman (Pac-Man (Midway))
>cheatinit ub, 1
1040 cheat locations initialized for Zilog Z80 ':maincpu' program space

 Also no ASAN/UBSAN errors.
User avatar
No.20813
Robbbert
Senior Tester
Nov 14, 2022, 21:48
The OP will need to supply the name of the game that's giving the problem. Otherwise we may as well close this.
User avatar
No.20814
Firewave
Senior Tester
Nov 14, 2022, 22:49
Since Tafoid was able to confirm this issue I guess it was general problem and didn't require any specific set.
User avatar
No.20819
Osso
Moderator
Nov 15, 2022, 05:02
I tested a bit and it seems to have been fixed in 0.237, if I had to guess by this commit: https://git.redump.net/mame/commit/?id=08ee39da702645560d9924b6d6ab4ee865b9e478
User avatar
No.20832
cuavas
Administrator
Nov 15, 2022, 15:20
Before 08ee39da702645560d9924b6d6ab4ee865b9e478, the cheatinit command could crash if it was given exactly two arguments.