Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
07550 Crash/Freeze Critical (emulator) Always Jan 14, 2020, 22:34 Apr 30, 2022, 00:52
Tester Firewave View Status Public Platform MAME (Official Binary)
Assigned To cuavas Resolution Fixed OS
Status [?] Resolved Driver
Version 0.217 Fixed in Version 0.226 Build 64-bit
Fixed in Git Commit 1532827 Github Pull Request #
Summary 07550: UI: Access Violation changing bios for slot device in UI
Description
-----------------------------------------------------
Exception at EIP=000000000592801a (slot_option::set_bios(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)+0x000a): ACCESS VIOLATION
While attempting to read memory at 0000000000000008
-----------------------------------------------------
RAX=0000000010648dd0 RBX=000000000e1c40c8 RCX=0000000000000000 RDX=0000000010648cd0
RSI=0000000010648ce0 RDI=000000000e1c40f0 RBP=0000000010648c20 RSP=0000000010648c00
 R8=000000000000000f  R9=0000000000000000 R10=0000000000000001 R11=0000000010648d80
R12=00000000127d6710 R13=0000000010648d90 R14=0000000010648cd0 R15=0000000010648d20
-----------------------------------------------------
Stack crawl:
  0000000010648c10: 000000000592801a (slot_option::set_bios(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >&&)+0x000a)
  0000000010648ef0: 0000000003d9aa9e (ui::menu_bios_selection::handle()+0x046e)
  0000000010648f70: 0000000003d95da9 (ui::menu::ui_handler(render_container&, mame_ui_manager&)+0x0069)
  0000000010648fa0: 0000000008e4dd97 (std::_Function_handler<unsigned int (render_container&), std::_Bind<unsigned int (*(std::_Placeholder<1>, std::reference_wrapper<mame_ui_manager>))(render_container&, mame_ui_manager&)> >::_M_invoke(std::_Any_data const&, render_container&)+0x0017)
  00000000106490a0: 0000000003cd426e (mame_ui_manager::update_and_render(render_container&)+0x015e)
  00000000106490d0: 0000000003c92a90 (emulator_info::draw_user_interface(running_machine&)+0x0020)
  0000000010649150: 00000000059e27ac (video_manager::frame_update(bool)+0x003c)
  00000000106491c0: 00000000059ab3c3 (screen_device::vblank_begin()+0x0233)
  0000000010649240: 00000000059ade25 (screen_device::device_timer(emu_timer&, unsigned int, int, void*)+0x01d5)
  0000000010649280: 00000000059a3acd (emu_timer::device_timer_expired(emu_timer&, void*, int)+0x002d)
  0000000010649300: 00000000059a4ad9 (device_scheduler::timeslice()+0x0169)
  00000000106493f0: 0000000005962de0 (running_machine::run(bool)+0x0130)
  000000001064f0a0: 0000000003c948f8 (mame_machine_manager::execute()+0x01c8)
  000000001064f370: 0000000003d0e593 (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&)+0x0303)
  000000001064f610: 0000000003d0e9cb (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> > > >&)+0x005b)
  000000001064f670: 0000000003c92a3c (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> > > >&)+0x002c)
  000000001064fe20: 000000000a5999e2 (main+0x0182)
  000000001064fef0: 00000000004013b4 (__tmainCRTStartup+0x0234)
  000000001064ff20: 000000000040150b (mainCRTStartup+0x001b)
  000000001064ff50: 00007ff8cdfb7bd4 (BaseThreadInitThunk+0x0014)
  000000001064ffd0: 00007ff8ce22ced1 (RtlUserThreadStart+0x0021)
Steps To Reproduce - run psj
- go to "BIOS Selection"
- change the "psxcd" selection
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems UI
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
3
User avatar
No.17363
Firewave
Senior Tester
Jan 14, 2020, 22:38
edited on: Jan 14, 2020, 22:51
The "slot_options" object does not exist - this is NULL. This would assert in a debug build.
User avatar
No.20105
Robbbert
Senior Tester
Apr 28, 2022, 12:13
edited on: Apr 28, 2022, 14:07
I can't see a "psxcd" selection. Is this still an issue?
User avatar
No.20118
Tafoid
Administrator
Apr 28, 2022, 19:47
Up until 0.225 - it asserted.
Assertion failed: opt && "Attempt to access non-existent slot option", file ../../../../../src/emu/emuopts.cpp, line 1030
In 0.226, the bioses were reordered/fixed and no longer was an issue.

I'll mark as resolved, version 0.226