Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
04354 Crash/Freeze Minor Always May 17, 2011, 20:04 May 22, 2011, 01:43
Tester Firewave View Status Public Platform MAME (Self-compiled)
Assigned To R. Belmont Resolution Fixed OS Windows Vista/7 (64-bit)
Status [?] Resolved Driver
Version 0.142u3 Fixed in Version 0.142u4 Build Debug
Fixed in Git Commit Github Pull Request #
Summary 04354: bigappg, casino5, dodge, slither, slithera, ssingles: Heap corruption detected by VS2010 RTC
Description
-----------------------------------------------------
Exception at EIP=03757BAB (not found): BREAKPOINT
-----------------------------------------------------
EAX=00000001 EBX=7EFDE000 ECX=07B79068 EDX=0000000A
ESI=003BAB74 EDI=003BABDC EBP=003BAACC ESP=003BAAC8
-----------------------------------------------------
Stack crawl:
  003BAACC: 03757BAB (_free_dbg_nolock+0x031b, f:\dd\vctools\crt_bld\self_x86\crt\src\dbgheap.c:1376)
  003BAB04: 03757860 (_free_dbg+0x0050, f:\dd\vctools\crt_bld\self_x86\crt\src\dbgheap.c:1265)
  003BAB14: 03754240 (free+0x0010, f:\dd\vctools\crt_bld\self_x86\crt\src\dbgfree.c:49)
  003BAB24: 036DA109 (bitmap_t::~bitmap_t+0x0039, s:\svn\mess\src\lib\util\bitmap.c:141)
  003BAB30: 01432506 (bitmap_t::`scalar deleting destructor'+0x0016)
  003BAB5C: 014324B8 (resource_pool_object<bitmap_t>::~resource_pool_object<bitmap_t>+0x0068, s:\svn\mess\src\emu\emualloc.h:245)
  003BAB68: 01432426 (resource_pool_object<bitmap_t>::`scalar deleting destructor'+0x0016)
  003BAB94: 02FA9D5D (resource_pool::remove+0x012d, s:\svn\mess\src\emu\emualloc.c:367)
  003BABE8: 0301CAB3 (screen_device::realloc_screen_bitmaps+0x0103, s:\svn\mess\src\emu\screen.c:514)
  003BC890: 0301C521 (screen_device::configure+0x0251, s:\svn\mess\src\emu\screen.c:434)
  003BC92C: 0303DF20 (mc6845_device::recompute_parameters+0x03e0, s:\svn\mess\src\emu\video\mc6845.c:309)
  003BC940: 0303DAB1 (mc6845_device::register_w+0x03c1, s:\svn\mess\src\emu\video\mc6845.c:240)
  003BC94C: 0304024B (mc6845_register_w+0x001b, s:\svn\mess\src\emu\video\mc6845.c:1001)
  003BC968: 02FC323F (handler_entry_write::write_stub_legacy+0x002f, s:\svn\mess\src\emu\memory.c:5040)
  003BC98C: 0301900A (delegate_base<void,address_space &,unsigned int,unsigned char,unsigned char>::method_stub<handler_entry_write>+0x004a, s:\svn\mess\src\emu\delegate.h:416)
  003BC9B0: 02FC54D2 (delegate_base<void,address_space &,unsigned int,unsigned char,unsigned char>::operator()+0x0032, s:\svn\mess\src\emu\delegate.h:357)
  003BC9CC: 02FD193B (handler_entry_write::write8+0x002b, s:\svn\mess\src\emu\memory.c:617)
  003BC9F4: 02FD1FF7 (address_space_specific<unsigned char,0,0>::write_native+0x00a7, s:\svn\mess\src\emu\memory.c:1183)
  003BCA08: 02FC7098 (address_space_specific<unsigned char,0,0>::write_byte+0x0028, s:\svn\mess\src\emu\memory.c:1455)
  003BCA1C: 0290B1D6 (WM16+0x0056, s:\svn\mess\src\emu\cpu\z80\z80.c:638)
  003BCA30: 0291345C (ed_53+0x002c, s:\svn\mess\src\emu\cpu\z80\z80.c:2736)
  003BCA44: 02919C4E (op_ed+0x005e, s:\svn\mess\src\emu\cpu\z80\z80.c:3201)
  003BCA5C: 0291C9B1 (cpu_execute_z80+0x1171, s:\svn\mess\src\emu\cpu\z80\z80.c:3628)
  003BCA70: 0350A225 (legacy_cpu_device::execute_run+0x0025, s:\svn\mess\src\emu\devcpu.c:260)
  003BDB4C: 0302C79E (device_scheduler::timeslice+0x03be, s:\svn\mess\src\emu\schedule.c:466)
  003BDFD8: 03020C04 (running_machine::run+0x0284, s:\svn\mess\src\emu\machine.c:417)
  003BE8E8: 0303A2E4 (mame_execute+0x0154, s:\svn\mess\src\emu\mame.c:176)
  003BF738: 037EAC3D (cli_frontend::execute+0x03cd, s:\svn\mess\src\emu\clifront.c:184)
  003BFA58: 037839D1 (utf8_main+0x0151, s:\svn\mess\src\osd\windows\winmain.c:513)
  003BFA74: 03783824 (wmain+0x0094, s:\svn\mess\src\osd\windows\main.c:82)
  003BFAC0: 03749839 (__tmainCRTStartup+0x0129, f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c:278)
  003BFAC8: 037496FF (wmainCRTStartup+0x000f, f:\dd\vctools\crt_bld\self_x86\crt\src\crt0.c:189)
  003BFAD4: 76C233CA (BaseThreadInitThunk+0x0012)
  003BFB14: 778B9ED2 (RtlInitializeExceptionChain+0x0063)
  003BFB2C: 778B9EA5 (RtlInitializeExceptionChain+0x0036)
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version
Affected Sets / Systems bigappg, casino5, dodge, slither, slithera, ssingles
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
4
User avatar
No.07451
Firewave
Senior Tester
May 19, 2011, 22:24
Appears to be related to mc6845_device::recompute_parameters().
User avatar
No.07452
Tafoid
Administrator
May 19, 2011, 22:54
edited on: May 19, 2011, 22:56
I think the issue surrounding mc6845 was fixed in the last couple days.. check the mess svn logs. Stuff here should only be confirmed/tested from a released versions (base and the U releases). Otherwise, it mentioned to the developers in another fashion or posted if still able to confirm in the next release.
User avatar
No.07453
Firewave
Senior Tester
May 19, 2011, 23:00
I can easily check again with the latest changes when the testrun fully finished. But the only change to the mc6845 I see is this:

http://mess.dorando.at/svn/?rev=11575

Most likely not something, that would fix an heap error.
User avatar
No.07454
Firewave
Senior Tester
May 21, 2011, 21:51
This has been fixed by the mc6845 initialization fixes by R. Belmont.