Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
06655 Interface Critical (emulator) Always Aug 11, 2017, 23:51 Aug 18, 2017, 08:49
Tester Robbbert View Status Public Platform MAME (Official Binary)
Assigned To Nathan Woods Resolution Open OS Windows Vista/7/8 (64-bit)
Status [?] Assigned Driver
Version 0.188 Fixed in Version Build
Summary 06655: cgenie, coco3: Unloading and big changes in interface slots can cause CRASH
Description
-----------------------------------------------------
Exception at EIP=0000000003234b47 (emu_options::image_option(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x0077): ACCESS VIOLATION
While attempting to read memory at 0000000000000028
-----------------------------------------------------
RAX=0000000000000000 RBX=00000000163f11e0 RCX=b5e970bff2c55b7e RDX=0000000000000003
RSI=0000000000000005 RDI=13fab275fd5e51fb RBP=0000000000227e70 RSP=0000000000227df0
 R8=00000000000027f5 R9=c6a4a7935bd1e995 R10=c7e1c6729408c99f R11=000000000d7d5060
R12=0000000000000003 R13=000000000d7d5048 R14=fffffffffffffffe R15=000000000b6c9380
-----------------------------------------------------
Stack crawl:
  0000000000227dc0: 0000000003234b47 (emu_options::image_option(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)+0x0077)
  00000000002284c0: 000000000324d1bf (image_manager::options_extract()+0x033f)
  0000000000228520: 000000000324e233 (image_manager::unload_all()+0x0033)
  0000000000228620: 0000000003278507 (running_machine::run(bool)+0x0497)
  000000000022f1d0: 0000000001c1be13 (mame_machine_manager::execute()+0x01e3)
  000000000022f490: 0000000001c89a26 (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&)+0x0416)
  000000000022f600: 0000000001c89ed5 (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> > > >&)+0x0045)
  000000000022f660: 0000000001c19f7a (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> > > >&)+0x002a)
  000000000022fdb0: 0000000001b6cd92 (utf8_main(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> > > >&)+0x0122)
  000000000022fe50: 00000000037de7c9 (wmain+0x0169)
  000000000022ff20: 0000000000401410 (__tmainCRTStartup+0x0260)
  000000000022ff50: 000000000040153b (mainCRTStartup+0x001b)
  000000000022ff80: 00000000770659cd (BaseThreadInitThunk+0x000d)
  000000000022ffd0: 000000007719a561 (RtlUserThreadStart+0x0021)
Steps To Reproduce Examples:

mame cgenie -exp floppy
Activte UI, TAB, Slot Options and unload EXP "floppy" to "------" then choose RESET.

mame coco3
Activate UI, TAB, Slot Options for EXT and change from "fdcv11" to "multi" then choose RESET.
Additional Information Regression: June 24, 2017
https://github.com/mamedev/mame/commit/b193e05cd7c8456a2648d43854645da84f56ddbd
Flags
Regression Version 0.188
Affected Sets / Systems cgenie, coco3
Attached Files
 
Relationships
related to 06654AssignedNathan Woods c64: In some cases, changing slots and choosing RESET crashes MAME 
related to 06602AssignedNathan Woods coco, coco2, coco3: Multiple user interface issues 
related to 06677AssignedNathan Woods Exception at new machine selection 
Notes
1
User avatar
No.14100
Tafoid
Administrator
Aug 17, 2017, 02:47
PR#2555 addresses this, but is uncommitted as of now.
https://github.com/mamedev/mame/pull/2555