Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05161 DIP/Input Critical (emulator) Always Feb 14, 2013, 01:31 Oct 21, 2014, 16:05
Tester Tafoid View Status Public Platform
Assigned To Resolution Fixed OS
Status [?] Resolved Driver jpmimpct.cpp
Version 0.148u1 Fixed in Version 0.148u2 Build
Summary 05161: snlad: Exception after exit
Description
Exception at EIP=779D748F (register_frame_ctor+0x7468661f): ACCESS VIOLATION
Steps To Reproduce
Additional Information
Flags
Regression Version
Affected Sets / Systems snlad
Attached Files
png file icon snlad.png (20,711 bytes) Feb 14, 2013, 08:54 Uploaded by Robbbert
Robbbert
Relationships
There are no relationship linked to this issue.
Notes
6
User avatar
No.09367
Firewave
Senior Tester
Feb 14, 2013, 07:58
==35418== Invalid write of size 4
==35418==    at 0x142F819: jpmimpct_state::jpmimpct_bt477_w(address_space&, unsigned int, unsigned short, unsigned short) (jpmimpct.c:47)
==35418==    by 0x237C655: delegate_base<void, address_space&, unsigned int, unsigned short, unsigned short, _noparam>::operator()(address_space&, unsigned int, unsigned short, unsigned short) const (delegate.h:543)
==35418==    by 0x51CC158: handler_entry_write::write16(address_space&, unsigned int, unsigned short, unsigned short) const (memory.c:491)
==35418==    by 0x51D569D: address_space_specific<unsigned short, (endianness_t)0, true>::write_native(unsigned int, unsigned short) (memory.c:1132)
==35418==    by 0x51D460D: address_space_specific<unsigned short, (endianness_t)0, true>::write_word(unsigned int, unsigned short) (memory.c:1404)
==35418==    by 0x4A85D69: wfield_16(tms34010_state*, unsigned int, unsigned int) (34010fld.c:99)
==35418==    by 0x4A5561A: move0_rn_a(tms34010_state*, unsigned short) (34010ops.c:1206)
==35418==    by 0x4A2BE05: cpu_execute_tms34010(legacy_cpu_device*) (tms34010.c:803)
==35418==    by 0x501884C: legacy_cpu_device::execute_run() (devcpu.c:260)
==35418==    by 0x501887B: non-virtual thunk to legacy_cpu_device::execute_run() (devcpu.c:261)
==35418==    by 0x5245208: device_execute_interface::run() (diexec.h:216)
==35418==    by 0x5242977: device_scheduler::timeslice() (schedule.c:488)
==35418==  Address 0x10a463e0 is 0 bytes after a block of size 2,432 alloc'd
==35418==    at 0xFFAF83C: malloc (vg_replace_malloc.c:270)
==35418==    by 0x62AB934: osd_malloc (sdlos_unix.c:87)
==35418==    by 0x50A56AB: malloc_file_line(unsigned long, char const*, int) (emualloc.c:146)
==35418==    by 0x142DD2D: device_t* driver_device_creator<jpmimpct_state>(machine_config const&, char const*, device_t*, unsigned int) (emualloc.h:175)
==35418==    by 0x517F43F: machine_config::device_add(device_t*, char const*, device_t* (*)(machine_config const&, char const*, device_t*, unsigned int), unsigned int) (mconfig.c:186)
==35418==    by 0x142B449: construct_machine_config_jpmimpct(machine_config&, device_t*) (jpmimpct.c:869)
==35418==    by 0x517E564: machine_config::machine_config(game_driver const&, emu_options&) (mconfig.c:68)
==35418==    by 0x516F5DC: mame_execute(emu_options&, osd_interface&) (mame.c:179)
==35418==    by 0x4FF2F12: cli_frontend::execute(int, char**) (clifront.c:255)
==35418==    by 0x36FC4A9: main (sdlmain.c:371)
==35418== 
==35418== Invalid read of size 4
==35418==    at 0x142F978: jpmimpct_state::jpmimpct_bt477_w(address_space&, unsigned int, unsigned short, unsigned short) (jpmimpct.c:51)
==35418==    by 0x237C655: delegate_base<void, address_space&, unsigned int, unsigned short, unsigned short, _noparam>::operator()(address_space&, unsigned int, unsigned short, unsigned short) const (delegate.h:543)
==35418==    by 0x51CC158: handler_entry_write::write16(address_space&, unsigned int, unsigned short, unsigned short) const (memory.c:491)
==35418==    by 0x51D569D: address_space_specific<unsigned short, (endianness_t)0, true>::write_native(unsigned int, unsigned short) (memory.c:1132)
==35418==    by 0x51D460D: address_space_specific<unsigned short, (endianness_t)0, true>::write_word(unsigned int, unsigned short) (memory.c:1404)
==35418==    by 0x4A85D69: wfield_16(tms34010_state*, unsigned int, unsigned int) (34010fld.c:99)
==35418==    by 0x4A5561A: move0_rn_a(tms34010_state*, unsigned short) (34010ops.c:1206)
==35418==    by 0x4A2BE05: cpu_execute_tms34010(legacy_cpu_device*) (tms34010.c:803)
==35418==    by 0x501884C: legacy_cpu_device::execute_run() (devcpu.c:260)
==35418==    by 0x501887B: non-virtual thunk to legacy_cpu_device::execute_run() (devcpu.c:261)
==35418==    by 0x5245208: device_execute_interface::run() (diexec.h:216)
==35418==    by 0x5242977: device_scheduler::timeslice() (schedule.c:488)
==35418==  Address 0x10a463e0 is 0 bytes after a block of size 2,432 alloc'd
==35418==    at 0xFFAF83C: malloc (vg_replace_malloc.c:270)
==35418==    by 0x62AB934: osd_malloc (sdlos_unix.c:87)
==35418==    by 0x50A56AB: malloc_file_line(unsigned long, char const*, int) (emualloc.c:146)
==35418==    by 0x142DD2D: device_t* driver_device_creator<jpmimpct_state>(machine_config const&, char const*, device_t*, unsigned int) (emualloc.h:175)
==35418==    by 0x517F43F: machine_config::device_add(device_t*, char const*, device_t* (*)(machine_config const&, char const*, device_t*, unsigned int), unsigned int) (mconfig.c:186)
==35418==    by 0x142B449: construct_machine_config_jpmimpct(machine_config&, device_t*) (jpmimpct.c:869)
==35418==    by 0x517E564: machine_config::machine_config(game_driver const&, emu_options&) (mconfig.c:68)
==35418==    by 0x516F5DC: mame_execute(emu_options&, osd_interface&) (mame.c:179)
==35418==    by 0x4FF2F12: cli_frontend::execute(int, char**) (clifront.c:255)
==35418==    by 0x36FC4A9: main (sdlmain.c:371)
User avatar
No.09368
Haze
Senior Tester
Feb 14, 2013, 08:35
I don't think the TMS behaves well when it has no valid code to run (or at least that's my gut feeling)
User avatar
No.09369
Robbbert
Developer
Feb 14, 2013, 08:56
GAME_NOT_WORKING

It runs at snail pace even when insert held down (~1600fps). First time running it I received the error, 2nd time only ran to the screenshot, no error this time.
User avatar
No.09372
Firewave
Senior Tester
Feb 14, 2013, 10:52
I think it might just be uninitialized memory again - had no time to check the code yet.
User avatar
No.11135
Osso
Developer
Oct 21, 2014, 10:08
Is this still happening? Cannot repro, normal and debug builds (only 64 bit, though).
User avatar
No.11138
Tafoid
Administrator
Oct 21, 2014, 16:05
I don't see it happening currently. I'll have to check back to divine a fixed revision.