Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
08620 Crash/Freeze Critical (emulator) Always May 1, 2023, 08:12 May 9, 2023, 14:31
Tester memo0304 View Status Public Platform MAME (Official Binary)
Assigned To cuavas Resolution Fixed OS Windows 10/11 (64-bit)
Status [?] Resolved Driver
Version 0.254 Fixed in Version 0.255 Build 64-bit
Fixed in Git Commit 2c0c125 Github Pull Request #
Summary 08620: UI: Mame crashes after inserting a romfile via File Manager, and then select View External DAT View
Description Any system:
When having inserted an external rom via the File Manager, any time afterwards, when you select View External DAT View, MAME freezes and crashes.

I have chosen a VIC20 system in this example, but ANY emulated system will produce a similar crash when inserting a new rom with File Manager, and then select View External DAT View from the MAME menu.
Steps To Reproduce Example:

MAME vic20
Go to File Manager
Insert any external new progran rom or tape (for example a tape F:\MAME\Roms (added)\VIC20\TAP\Monster Maze (1981)(Creative).zip from the TOSEC collection) (included in this report)

Then: select View external DAT View.
MAME crashes.
Additional Information -----------------------------------------------------
Exception at EIP=00007ff7d752c82c (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x001c): ACCESS VIOLATION
While attempting to read memory at 0000000000000010
-----------------------------------------------------
RAX=0000000000000000 RBX=00000286f3215500 RCX=00000286f3215500 RDX=0000000000000008
RSI=0000000000000008 RDI=00007ff7e0f9f870 RBP=00000286f3215510 RSP=000000daaf0f93b0
 R8=000000000000000f R9=00000286c7bd8c90 R10=e462687564633131 R11=8101010101010100
R12=00000286f3215510 R13=00000286c7bd8ba8 R14=0000000000000000 R15=00000286f3215540
-----------------------------------------------------
Stack crawl:
  000000daaf0f9400: 00007ff7d752c82c (std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_assign(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x001c)
  000000daaf0f9570: 00007ff7df626efb (luaopen_lfs+0x8a5e7b)
  000000daaf0f95e0: 00007ff7df619e3d (luaopen_lfs+0x898dbd)
  000000daaf0f9700: 00007ff7df0b6c9a (luaopen_lfs+0x335c1a)
  000000daaf0f9760: 00007ff7df0b7074 (luaopen_lfs+0x335ff4)
  000000daaf0f9880: 00007ff7de99bea9 (mame_ui_manager::update_and_render(render_container&)+0x0189)
  000000daaf0f98b0: 00007ff7dac35d8c (emulator_info::draw_user_interface(running_machine&)+0x001c)
  000000daaf0f9940: 00007ff7dad2bf1e (video_manager::frame_update(bool)+0x021e)
  000000daaf0f99b0: 00007ff7d76c13b3 (screen_device::vblank_begin(int)+0x0233)
  000000daaf0f9a20: 00007ff7d76e90fb (device_scheduler::timeslice()+0x014b)
  000000daaf0f9b80: 00007ff7d76e625f (running_machine::run(bool)+0x01bf)
  000000daaf0ff0a0: 00007ff7dac3b6bb (mame_machine_manager::execute()+0x020b)
  000000daaf0ff480: 00007ff7de9d290f (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&)+0x03cf)
  000000daaf0ff740: 00007ff7de9d2f1d (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> > > >&)+0x004d)
  000000daaf0ff7a0: 00007ff7dac35d39 (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)
  000000daaf0ffb60: 00007ff7dfc21b73 (luaopen_lfs+0xea0af3)
  000000daaf0ffc30: 00007ff7d2d713b1 (__tmainCRTStartup+0x0231)
  000000daaf0ffc60: 00007ff7d2d714e6 (mainCRTStartup+0x0016)
  000000daaf0ffc90: 00007ff8c74626ad (BaseThreadInitThunk+0x001d)
  000000daaf0ffd10: 00007ff8c814a9f8 (RtlUserThreadStart+0x0028)
Github Commit
Flags
Regression Version
Affected Sets / Systems UI
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.21382
Fujix
Administrator
May 2, 2023, 07:03
edited on: May 3, 2023, 01:47
I don't have the crash after inserting monstrmz via the file manager in vic20. Possilbly your dat file may have a problem.
AND PLEASE DON'T UPLOAD ANY ROM HERE.
User avatar
No.21384
Robbbert
Senior Tester
May 2, 2023, 07:09
edited on: May 2, 2023, 07:10
Confirmed. I tried super80, then used the File Manager to load a loose file that doesn't do anything. Then I pressed Esc to return to the Tab menu, and selected External DAT View.

It crashed as described.