Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
09388 Crash/Freeze Critical (emulator) Always 1 day ago 5 hours ago
Tester JimCarlTay View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows (x64)
Status [?] Confirmed Driver
Version 0.285 Fixed in Version Build x64
Fixed in Git Commit Github Pull Request #
Summary 09388: sstarkar: The emulator crashes when the system is loaded without a cartridge
Description System: Singing Star Karaoke (non-working machine)

Attempting to load the system without a cartridge causes the emulator to crash.
Steps To Reproduce 1. Open the system's software list and select [Use file manager].
2. The emulator crashes after proceeding from the system and warning info.
Additional Information This is a non-working machine, but I'm sure it's still okay to report emulator crashes involving them, right?
Github Commit
Flags
Regression Version
Affected Sets / Systems sstarkar
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.24119
Robbbert
Moderator
11 hours ago
edited on: 11 hours ago
I simply entered >mame sstarkar at the command line, pressed enter at the red message, and it crashed.

C:\MAME>mame sstarkar

-----------------------------------------------------
Exception at EIP=00007ff670310e80 (handler_entry_read_memory_bank<1, -1>::read(unsigned int, unsigned short) const+0x0030): ACCESS VIOLATION
While attempting to read memory at 0000000000017fee
-----------------------------------------------------
RAX=0000000000000000 RBX=0000026081a733d0 RCX=0000026081a44c20 RDX=000000000000bff7
RSI=0000026081a733d0 RDI=000000a9354f9c20 RBP=0000026081a40f20 RSP=000000a9354f9808
 R8=0000000000000000 R9=000000000000000f R10=00000000deadbeef R11=000000a9354f92f0
R12=000000a9354f98f0 R13=000000a9354f9a20 R14=000000a9354f9c60 R15=000000a9354f9c80
-----------------------------------------------------
Stack crawl:
  000000a9354f9800: 00007ff670310e80 (handler_entry_read_memory_bank<1, -1>::read(unsigned int, unsigned short) const+0x0030)
  000000a9354f9830: 00007ff6771be417 (luaopen_lfs+0x2e69df7)
  000000a9354f9870: 00007ff66bc7bec3 (device_t::reset()+0x0033)
  000000a9354f98b0: 00007ff66bc7bed4 (device_t::reset()+0x0044)
  000000a9354f9940: 00007ff66bd4c76a (running_machine::soft_reset(int)+0x012a)
  000000a9354f9ac0: 00007ff66bd50d8e (running_machine::run(bool)+0x016e)
  000000a9354fef50: 00007ff66f1f940c (mame_machine_manager::execute()+0x024c)
  000000a9354ff340: 00007ff67329c5aa (cli_frontend::start_execution(mame_machine_manager*, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > > const&)+0x03ea)
  000000a9354ff650: 00007ff67329cbda (cli_frontend::execute(std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)+0x007a)
  000000a9354ff6b0: 00007ff66f1f41a7 (emulator_info::start_frontend(emu_options&, osd_interface&, std::vector<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::allocator<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > >&)+0x0027)
  000000a9354ffa80: 00007ff6750ae961 (luaopen_lfs+0xd5a341)
  000000a9354ffad0: 00007ff667f112ee (__tmainCRTStartup+0x016e)
  000000a9354ffb00: 00007ff667f11406 (mainCRTStartup+0x0016)
  000000a9354ffb30: 00007ffc250c7374 (BaseThreadInitThunk+0x0014)
  000000a9354ffbb0: 00007ffc26fbcc91 (RtlUserThreadStart+0x0021)
User avatar
No.24120
Robbbert
Moderator
5 hours ago
Applied a fairly trivial fix using memory views into my build. No more crash.