Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
07465 Crash/Freeze Minor Sometimes Oct 23, 2019, 18:36 Oct 24, 2019, 11:07
Tester cube1us View Status Public Platform MAME (Official Binary)
Assigned To pmackinlay Resolution Fixed OS Windows 10 (64-bit)
Status [?] Resolved Driver
Version 0.214 Fixed in Version 0.215 Build 64-bit
Fixed in Git Commit Github Pull Request #
Summary MESS-specific 07465: ip2000: Interpro 2000 Crash during startup: mouse
Description If the mouse is moved around while mame is getting started/organized, sometimes it crashes with an ACCESS VIOLATION attempting to read memory at location 16.

-----------------------------------------------------
Exception at EIP=0000000002bd6ba4 (interpro_ioga_device::mouse_status_w(address_space&, unsigned int, unsigned int, unsigned int)+0x0044): ACCESS VIOLATION
While attempting to read memory at 0000000000000016
-----------------------------------------------------
RAX=000000000000000b RBX=0000000011d66fe0 RCX=0000000011d66fe0 RDX=0000000000000016
RSI=0000000012aa7f30 RDI=0000000000000000 RBP=000000000f728ce0 RSP=000000000f728c60
 R8=0000000000000000 R9=000000000000c700 R10=000000000f728d50 R11=000000000000ff00
R12=000000000000c700 R13=000000000000ff00 R14=0000000021939470 R15=0000000021939490
-----------------------------------------------------
Stack crawl:
  000000000f728c20: 0000000002bd6ba4 (interpro_ioga_device::mouse_status_w(address_space&, unsigned int, unsigned int, unsigned int)+0x0044)
  000000000f728cf0: 00000000080ef32b (std::_Function_handler<void (address_space&, unsigned int, unsigned int, unsigned int), devcb_write<unsigned int, 4294967295u>::creator_impl<devcb_write<unsigned int, 4294967295u>::delegate_builder<device_delegate<void (address_space&, unsigned int, unsigned int, unsigned int)> > >::create()::{lambda(address_space&, unsigned int, unsigned int, unsigned int)#1}>::_M_invoke(std::_Any_data const&, address_space&, unsigned int&&, std::_Any_data const&, std::_Any_data const&)+0x006b)
  000000000f728da0: 0000000005ca00cf (devcb_write<unsigned int, 4294967295u>::operator()(address_space&, unsigned int, unsigned int, unsigned int)+0x005f)
  000000000f728de0: 0000000003e23889 (interpro_mouse_device::mouse_x(ioport_field&, unsigned int, unsigned int, unsigned int)+0x0059)
  000000000f728e50: 00000000054e9c84 (dynamic_field::write(unsigned int)+0x0134)
  000000000f728f40: 00000000054f37d8 (ioport_manager::frame_update()+0x03d8)
  000000000f729150: 00000000054f4441 (ioport_manager::load_config(config_type, util::xml::data_node const*)+0x0971)
  000000000f729410: 00000000053cf03f (configuration_manager::load_settings()+0x095f)
  000000000f7294e0: 00000000054fe9db (running_machine::run(bool)+0x008b)
  000000000f72f1c0: 00000000039d9b58 (mame_machine_manager::execute()+0x01d8)
  000000000f72f430: 0000000003a48a06 (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&)+0x0286)
  000000000f72f600: 0000000003a48d55 (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)
  000000000f72f660: 00000000039d7c9a (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)
  000000000f72fe20: 0000000009795c3d (main+0x017d)
  000000000f72fef0: 00000000004013a5 (__tmainCRTStartup+0x0225)
  000000000f72ff20: 000000000040150b (mainCRTStartup+0x001b)
  000000000f72ff50: 00007ffcbbe97974 (BaseThreadInitThunk+0x0014)
  000000000f72ffd0: 00007ffcbe84a271 (RtlUserThreadStart+0x0021)
Steps To Reproduce Start up mame ip2000 and move the mouse around while it is getting started.
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems ip2000
Attached Files
txt file icon Error-Startup-20191018.txt (3,865 bytes) Oct 23, 2019, 18:36 Uploaded by cube1us
Command line used and console output during error
[Show Content]
Relationships
There are no relationship linked to this issue.
Notes
1
User avatar
No.17134
pmackinlay
Developer
Oct 24, 2019, 11:07
Fixed by https://github.com/mamedev/mame/commit/e93288a37fa06ddfe7a0eb54c9ffc8bd28363352