Viewing Issue Advanced Details Jump to Notes ] model3.cpp
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06492 Crash/Freeze Critical (emulation) Always 20 days ago 20 days ago
Tester john_iv View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows 10 (64-bit)
Status [?] Confirmed   Driver model3.cpp
Version 0.182 Fixed in Version Build 64-bit
Summary 06492: scud: Crash running scud with -bench 90, regression.
Description I use scud for my benchmark runs as an example of model3.cpp, it's somewhat recently stopped working and crashes before the -bench 90 finishes yielding no fps results. I think around .181.
Steps To Reproduce 1. mame64.exe scud -bench 90
2. Prior to completion get a crash:

c:\O\Games\MAME>mame scud -bench 90
Input: Dropping invalid input token JOYCODE_2_HATSWITCHU
Input: Dropping invalid input token JOYCODE_2_HATSWITCHD
Input: Dropping invalid input token JOYCODE_2_HATSWITCHL
Input: Dropping invalid input token JOYCODE_2_HATSWITCHR

Exception at EIP=00000000021bfb17 (not found): ACCESS VIOLATION
While attempting to read memory at ffffffffffffffff
RAX=0000000000000000 RBX=000000000e608810 RCX=000000000a1a7450 RDX=000000000a1a7450
RSI=000000000a1a74f0 RDI=00000000109c34c0 RBP=000000000e09eb82 RSP=000000000a1a7430
 R8=0000000000000003 R9=0007002100000004 R10=000000001c437440 R11=0000000000000000
R12=0000000027535970 R13=000000001ae920f0 R14=000000000a1a75e0 R15=00000000109c34d8
Stack crawl:
  000000000a1a74a0: 00000000021bfb17 (not found)
  000000000a1a7560: 000000000307a3c8 (not found)
  000000000a1a7880: 0000000003075fdb (not found)
  000000000a1a78b0: 00000000021c2147 (not found)
  000000000a1a82a0: 00000000026a1e58 (not found)
  000000000a1a82d0: 00000000026a2eea (not found)
  000000000a1a8370: 0000000003261307 (not found)
  000000000a1a8420: 0000000003216cb8 (not found)
  000000000a1af1c0: 0000000001c9bd73 (not found)
  000000000a1af5a0: 0000000001cfd618 (not found)
  000000000a1af6e0: 0000000001cfdb8b (not found)
  000000000a1af740: 0000000001c99e4d (not found)
  000000000a1afd70: 0000000001bea64c (not found)
  000000000a1afe50: 00000000037af61c (not found)
  000000000a1aff20: 0000000000401410 (not found)
  000000000a1aff50: 000000000040153b (not found)
  000000000a1aff80: 00007ffd609f8364 (BaseThreadInitThunk+0x0014)
  000000000a1affd0: 00007ffd60f670d1 (RtlUserThreadStart+0x0021)
Additional Information
Regression Version 0.180
Affected Sets / Systems scud
Attached Files

-  Notes
User avatar
20 days ago
Thread 1 received signal SIGSEGV, Segmentation fault.
0x00000000025c8bb2 in drc_cache::request_oob_codegen(delegate<void (unsigned char**, void*, void*)>, void*, void*) ()
(gdb) bt 10
#0 0x00000000025c8bb2 in drc_cache::request_oob_codegen(delegate<void (unsigned char**, void*, void*)>, void*, void*) ()
#1 0x00000000034be925 in drc_label_list::get_codeptr(uml::code_label, delegate<void (void*, unsigned char*)>, void*) ()
#2 0x00000000034bffe6 in drc::drcbe_x64::op_jmp(unsigned char*&, uml::instruction const&) ()
#3 0x00000000034c0482 in drc::drcbe_x64::generate(drcuml_block&, uml::instruction const*, unsigned int) ()
#4 0x00000000025cb490 in drcuml_block::end() ()
#5 0x0000000002aaa438 in ppc_device::code_compile_block(unsigned char, unsigned int) ()
#6 0x0000000002aab57a in ppc_device::execute_run() ()
#7 0x00000000036ba909 in device_scheduler::timeslice() ()
#8 0x00000000036769c8 in running_machine::run(bool) ()
#9 0x000000000208e0e8 in mame_machine_manager::execute() ()