Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05156 Crash/Freeze Critical (emulator) Always Feb 12, 2013, 18:23 Mar 9, 2013, 17:51
Tester Firewave View Status Public Platform
Assigned To Firewave Resolution Fixed OS
Status [?] Resolved Driver
Version 0.148u1 Fixed in Version 0.148u2 Build Debug
Fixed in Git Commit Github Pull Request #
Summary MESS-specific 05156: a6809: Access Violation with -debug
Description
-----------------------------------------------------
Exception at EIP=00000001416A8D38 (+0x416a8d38): ACCESS VIOLATION
While attempting to write memory at 0000000005273000
-----------------------------------------------------
RAX=0000000005273000 RBX=0000000000000000 RCX=00000000FF000000 RDX=00000000000001E0
RSI=00000000023E4508 RDI=00000000001C66C0 RBP=0000000000000000 RSP=00000000001C6650
 R8=0000000000000000  R9=00000000000000FF R10=FEFEFEFEFEFEFEFF R11=8080808080808080
R12=0000000000000000 R13=0000000000000000 R14=0000000000000000 R15=0000000000000000
-----------------------------------------------------
Stack crawl:
  00000000001C66C0: 00000001416A8D38 (saa5050_device::screen_update+0x0298, s:\svn\mame\src\emu\video\saa5050.c:482)
  00000000001C6700: 000000013FB1743C (delegate_mfp::method_stub<saa5050_device,unsigned int,screen_device & __ptr64,bitmap_rgb32 & __ptr64,rectangle const & __ptr64>+0x006c, s:\svn\mame\src\emu\delegate.h:329)
  00000000001C6730: 000000014167E8FC (delegate_base<unsigned int,screen_device & __ptr64,bitmap_rgb32 & __ptr64,rectangle const & __ptr64,_noparam,_noparam>::operator()+0x004c, s:\svn\mame\src\emu\delegate.h:542)
  00000000001C67B0: 000000014167AEBA (screen_device::update_partial+0x02ba, s:\svn\mame\src\emu\screen.c:603)
  00000000001C6830: 000000014193C298 (video_manager::finish_screen_updates+0x0088, s:\svn\mame\src\emu\video.c:658)
  00000000001C68F0: 000000014193ADB1 (video_manager::frame_update+0x00b1, s:\svn\mame\src\emu\video.c:229)
  00000000001C6920: 000000014195F682 (debugger_refresh_display+0x0032, s:\svn\mame\src\emu\debugger.c:107)
  00000000001C69A0: 0000000141860D69 (device_debug::instruction_hook+0x0429, s:\svn\mame\src\emu\debug\debugcpu.c:1938)
  00000000001C69D0: 0000000140D7365F (debugger_instruction_hook+0x004f, s:\svn\mame\src\emu\debugger.h:50)
  00000000001C6A00: 0000000140D7407C (m6809_base_device::execute_run+0x00dc, s:\svn\mame\src\emu\cpu\m6809\m6809.c:752)
  00000000001C6A30: 00000001416B7271 (device_execute_interface::run+0x0031, s:\svn\mame\src\emu\diexec.h:216)
  00000000001C6B50: 00000001416B3D82 (device_scheduler::timeslice+0x0472, s:\svn\mame\src\emu\schedule.c:493)
  00000000001C70C0: 00000001416CEFAC (running_machine::run+0x034c, s:\svn\mame\src\emu\machine.c:396)
  00000000001CD840: 0000000141542B28 (mame_execute+0x01f8, s:\svn\mame\src\emu\mame.c:190)
  00000000001CF760: 000000014168139F (cli_frontend::execute+0x0a2f, s:\svn\mame\src\emu\clifront.c:258)
  00000000001CFC50: 0000000141CA1B2B (utf8_main+0x017b, s:\svn\mame\src\osd\windows\winmain.c:493)
  00000000001CFC90: 0000000141C9D760 (wmain+0x00b0, s:\svn\mame\src\osd\windows\main.c:82)
  00000000001CFCE0: 0000000141C3CD0C (__tmainCRTStartup+0x00ec, f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crt0.c:241)
  00000000001CFD10: 0000000141C3CE4E (wmainCRTStartup+0x000e, f:\dd\vctools\crt_bld\self_64_amd64\crt\src\crt0.c:164)
  00000000001CFD40: 0000000076CE652D (BaseThreadInitThunk+0x000d)
  00000000001CFD90: 000000007728C521 (RtlUserThreadStart+0x0021)
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems a6809
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
2
User avatar
No.09423
Firewave
Senior Tester
Mar 9, 2013, 15:13
Caused because saa5050 is confirmed to have 25 rows, so it draws up to y=499, but the bitmap size is just 480. Crashes at exactly <=480 with -debug.
User avatar
No.09425
Firewave
Senior Tester
Mar 9, 2013, 17:51
Fixed in r21770.