Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
04323 Crash/Freeze Critical (emulator) Always Apr 25, 2011, 18:54 Sep 16, 2012, 20:37
Tester Tafoid View Status Public Platform MAME (Self-compiled)
Assigned To Phil Bennett Resolution Fixed OS Windows XP (32-bit)
Status [?] Resolved Driver
Version 0.142u2 Fixed in Version 0.147 Build Debug
Fixed in Git Commit Github Pull Request #
Summary 04323: mjflove, rongrongg, rongrongj: [debug] Crash after exit
Description These three games all crash for me in debug build after being run for a few seconds. You should be able to trigger a crash running with -str 6. It happens occasionally in a normal build too, but unable to get a reliable crash.
Unable to provide any backtraces as they don't seem to crash when running gdb. All I can get are stackcrawls:
rongrongg, rongrongj - ddenlovr.c
Crash on exit with Debug

-----------------------------------------------------
Exception at EIP=01B087A3 (resource_pool::remove(void*)+0x004f): ACCESS VIOLATION
While attempting to read memory at 00100A10
-----------------------------------------------------
EAX=00100A00 EBX=003F2674 ECX=000000C1 EDX=00000110
ESI=00000014 EDI=003F25C8 EBP=0022ED70 ESP=0022ED48
-----------------------------------------------------
Stack crawl:
  0022ED70: 01B087A3 (resource_pool::remove(void*)+0x004f)
  0022ED90: 020D35B5 (simple_list<device_t>::remove(device_t&)+0x002d)
  0022EDB0: 020D3495 (simple_list<device_t>::reset()+0x001d)
  0022EDD0: 020DA9AD (tagged_list<device_t>::reset()+0x0011)
  0022EDF0: 01B6C909 (device_list::static_exit(running_machine&)+0x002f)
  0022EE20: 01B0CF4F (running_machine::call_notifiers(machine_notification)+0x0039)
  0022EF20: 01B0C184 (running_machine::run(bool)+0x06ae)
  0022FA10: 01B88917 (mame_execute(emu_options&, osd_interface&)+0x0208)
  0022FB90: 01E1BACD (cli_frontend::execute(int, char**)+0x0365)
  0022FF00: 01397B35 (utf8_main(int, char**)+0x01ad)
  0022FF30: 02058F9E (wmain+0x008a)
  0022FFC0: 004013D1 (__tmainCRTStartup+0x0241)
  0022FFF0: 7C817077 (RegisterWaitForInputIdle+0x0049)


--

mjflove- ddenlovr.c
Crash on exit with Debug

-----------------------------------------------------
Exception at EIP=023DD543 (resource_pool_object<simple_list<layout_file> >::~resource_pool_object()+0x0053): ACCESS VIOLATION
While attempting to read memory at 00000004
-----------------------------------------------------
EAX=00000004 EBX=003F266C ECX=000000B7 EDX=0000000A
ESI=00000010 EDI=003F25C8 EBP=0022EB20 ESP=0022EAA8
-----------------------------------------------------
Stack crawl:
  0022EB20: 023DD543 (resource_pool_object<simple_list<layout_file> >::~resource_pool_object()+0x0053)
  0022EB50: 01B08824 (resource_pool::remove(void*)+0x00d0)
  0022EBD0: 01E25982 (render_target::~render_target()+0x006a)
  0022EC50: 02436033 (resource_pool_object<render_target>::~resource_pool_object()+0x005f)
  0022EC80: 01B08824 (resource_pool::remove(void*)+0x00d0)
  0022ECA0: 020D1B59 (simple_list<render_target>::remove(render_target&)+0x002d)
  0022ECC0: 01E2AC05 (render_manager::target_free(render_target*)+0x0021)
  0022ED60: 0139F413 (winwindow_video_window_destroy(win_window_info*)+0x0191)
  0022EDF0: 0139E052 (winwindow_exit(running_machine&)+0x012c)
  0022EE20: 01B0CF4F (running_machine::call_notifiers(machine_notification)+0x0039)
  0022EF20: 01B0C184 (running_machine::run(bool)+0x06ae)
  0022FA10: 01B88917 (mame_execute(emu_options&, osd_interface&)+0x0208)
  0022FB90: 01E1BACD (cli_frontend::execute(int, char**)+0x0365)
  0022FF00: 01397B35 (utf8_main(int, char**)+0x01ad)
  0022FF30: 02058F9E (wmain+0x008a)
  0022FFC0: 004013D1 (__tmainCRTStartup+0x0241)
  0022FFF0: 7C817077 (RegisterWaitForInputIdle+0x0049)
Steps To Reproduce
Additional Information
Github Commit
Flags Debug build specific
Regression Version 0.142u2
Affected Sets / Systems mjflove, rongrongg, rongrongj
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.07873
Tafoid
Administrator
Nov 10, 2011, 01:52
Most resent testing has has mjflove, rongrong and clones all crashing on exit during regtest (symbol enabled regular build)

Exception at EIP=77C478C0 (construct_address_map_cdp1869(address_map&, device_t const&)+0x75045248): ACCESS VIOLATION
User avatar
No.08899
Phil Bennett
Developer
Sep 16, 2012, 20:37
Was caused by writes to palette RAM overflowing the allocated palette memory.