Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08337 Crash/Freeze Minor Always May 31, 2022, 05:26 Jun 2, 2022, 08:18
Tester Kaylee View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Open OS Linux (64-bit)
Status [?] Confirmed Driver
Version 0.244 Fixed in Version Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary MESS-specific 08337: aquarius: [aquarius] Fatal error: Unknown slot option 'patch' in slot 'exp'
Description When change the first slot option to patch and touch the second slot option, MAME will crash, almost every time with: "Fatal error: Unknown slot option 'patch' in slot 'exp'"

But it only happens when you start the aquarius with a cart added, without a cart it doesn't happen
Steps To Reproduce To reproduce:
Start mame
mame aquarius btime.
then go to the slot option and change the first one to patch, and accidentally try to change the second slot option
and it'll crash with the above mentioned error.
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems aquarius
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.20286
Robbbert
Senior Tester
Jun 2, 2022, 08:15
edited on: Jun 2, 2022, 13:43
This is the same problem as MT 6717. The slots menu shows illegal things, and touching it causes a crash.
User avatar
No.20287
Robbbert
Senior Tester
Jun 2, 2022, 08:18
C:\MAME>mame aquarius btime

-----------------------------------------------------
Exception at EIP=00007ffb535fcdc5 (__cxa_throw_bad_array_new_length+0xd12218a5): ACCESS VIOLATION
While attempting to read memory at 0000000000000001
-----------------------------------------------------
RAX=00000032be999440 RBX=00007ff600000013 RCX=0000000000000001 RDX=000000000000002c
RSI=0000000000000001 RDI=0000000000000001 RBP=00000032be999440 RSP=00000032be9993e8
 R8=00007ff60000000e R9=0000000000e94510 R10=50188f27a2e256a1 R11=00000032be99956d
R12=000001f2abecbe58 R13=00007ff600000014 R14=000001f2abecbeb8 R15=000001f2b535cc19
-----------------------------------------------------
Stack crawl:
  00000032be9993e0: 00007ffb535fcdc5 (memchr+0x0005)
  00000032be999480: 00007ff67d866435 (slot_option::specify(std::basic_string_view<char, std::char_traits<char> >, bool)+0x00a5)
  00000032be999570: 00007ff680d8c139 (ui::menu_slot_devices::set_slot_device(device_slot_interface&, std::basic_string_view<char, std::char_traits<char> >)+0x00d9)
  00000032be999630: 00007ff680d8c57b (ui::menu_slot_devices::rotate_slot_device(device_slot_interface&, ui::menu_slot_devices::step_t)+0x007b)
  00000032be999690: 00007ff6807a2f9e (ui::menu::global_state::ui_handler(render_container&)+0x004e)
  00000032be9997a0: 00007ff68011c1b5 (mame_ui_manager::update_and_render(render_container&)+0x0185)
  00000032be999830: 00007ff67d8ebe58 (video_manager::frame_update(bool)+0x0148)
  00000032be9998a0: 00007ff67a113133 (screen_device::vblank_begin()+0x0233)
  00000032be999910: 00007ff67a10c5cb (device_scheduler::timeslice()+0x014b)
  00000032be999a90: 00007ff67a339be8 (running_machine::run(bool)+0x0198)
  00000032be99ef10: 00007ff67d88426b (mame_machine_manager::execute()+0x024b)
  00000032be99f300: 00007ff680151e06 (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&)+0x03e6)
  00000032be99f5e0: 00007ff68015242b (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> > > >&)+0x007b)
  00000032be99f640: 00007ff67d87e9a9 (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> > > >&)+0x0029)
  00000032be99fa10: 00007ff6811d5ab7 (main+0x0197)
  00000032be99fae0: 00007ff675d813b1 (__tmainCRTStartup+0x0231)
  00000032be99fb10: 00007ff675d814e6 (mainCRTStartup+0x0016)
  00000032be99fb40: 00007ffb53707034 (BaseThreadInitThunk+0x0014)
  00000032be99fbc0: 00007ffb53b02651 (RtlUserThreadStart+0x0021)