Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06349 Gameplay Critical (emulator) Always Aug 17, 2016, 09:50 Aug 17, 2016, 12:44
Tester M.A.S.H. View Status Public Platform MAME (Official Binary)
Assigned To galibert Resolution Fixed OS Windows 10 (64-bit)
Status [?] Resolved Driver
Version 0.176 Fixed in Version 0.177 Build Normal
Fixed in Git Commit Github Pull Request #
Summary 06349: brapboys: MAME crashed when exiting game
Description MAME crashes when you exit B.Rap Boys after a period of time.
Crashed in Windows XP (32-bit) and Windows 10 (64-bit).
Steps To Reproduce Type brapboys and start B.Rap Boys, wait until "WINNERS" screen and press escape... MAME crashed.
Additional Information Crash Stack

Average speed: 100.00% (27 seconds)
Average speed: 100.00% (20 seconds)

-----------------------------------------------------
Exception at EIP=00007ffefe1422a7 (register_frame_ctor+0xf9338147): ACCESS VIOLATION
While attempting to write memory at 0000000000e20058
-----------------------------------------------------
RAX=0000000045163023 RBX=0000000000150000 RCX=0000000000150298 RDX=0000000000000002
RSI=0000000000e20050 RDI=0000000000000002 RBP=0000000000e20060 RSP=0000000008a78830
 R8=0000000000000003 R9=0000000000e20060 R10=0000000000000000 R11=0000000000000064
R12=0000000015dd22b8 R13=0000000000000001 R14=0000000000000000 R15=0000000000000002
-----------------------------------------------------
Stack crawl:
  0000000008a78a00: 00007ffefe1422a7 (RtlFreeHeap+0x1de7)
  0000000008a78a70: 00007ffefe1407d9 (RtlFreeHeap+0x0319)
  0000000008a78aa0: 00007ffefc0e9b9c (free+0x001c)
  0000000008a78b10: 0000000002b4905f (running_machine::~running_machine()+0x05bf)
  0000000008a7f450: 00000000017df372 (mame_machine_manager::execute()+0x00b2)
  0000000008a7f8d0: 000000000183b384 (cli_frontend::execute(int, char**)+0x0e04)
  0000000008a7f940: 00000000017de4c5 (emulator_info::start_frontend(emu_options&, osd_interface&, int, char**)+0x0035)
  0000000008a7fd80: 00000000017409bb (utf8_main(int, char**)+0x012b)
  0000000008a7fe50: 0000000002f6453c (wmain+0x018c)
  0000000008a7ff20: 000000000040140c (__tmainCRTStartup+0x025c)
  0000000008a7ff50: 000000000040153b (mainCRTStartup+0x001b)
  0000000008a7ff80: 00007ffefbda8102 (BaseThreadInitThunk+0x0022)
  0000000008a7ffd0: 00007ffefe17c264 (RtlUserThreadStart+0x0034)

Github Commit
Flags
Regression Version 0.175
Affected Sets / Systems brapboys
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.13055
Tafoid
Administrator
Aug 17, 2016, 12:43
This is not a multi-session bug as far as I can tell.
It was recently diagnosed that the Kaneko driver had some issues with memory and a couple changes seemed to fix up exception/crash:
https://github.com/mamedev/mame/commit/c0bb8bc5da074dcbbb309c54966203c4b1141f8f
https://github.com/mamedev/mame/commit/828f624a4cc57eb0bcde623ecfc90ca33c54ccaf

As far as I can see upon testing, all seems to work now. Resolving as fixed.