Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
05485 Crash/Freeze Critical (emulator) Always Apr 2, 2014, 17:55 Sep 13, 2016, 20:40
Tester Tafoid View Status Public Platform MAME (Official Binary)
Assigned To Resolution Open OS Windows Vista/7/8 (64-bit)
Status [?] Confirmed Driver bfm_sc4.cpp
Version 0.152 Fixed in Version Build Normal
Summary 05485: assorted sets in bfm_sc4.c: Crash after OK
Description
==12857==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000007ceb75e sp 0x7fff39bd80d0 bp 0x7fff39bd8110 T0)
    #0 0x7ceb75d in emu_timer::machine() const /home/notroot/trunk/src/emu/schedule.h:71
    #1 0x7ceb75d in emu_timer::adjust(attotime, int, attotime) /home/notroot/trunk/src/emu/schedule.c:180
    #2 0x778207e in m68307_timer::write_tmr(unsigned short, unsigned short, int) /home/notroot/trunk/src/emu/machine/68307tmu.c:206
    #3 0x7c7be3a in delegate_base<void, address_space&, unsigned int, unsigned short, unsigned short, _noparam>::operator()(address_space&, unsigned int, unsigned short, unsigned short) const /home/notroot/trunk/src/emu/delegate.h:514
    #4 0x7c7be3a in handler_entry_write::write16(address_space&, unsigned int, unsigned short, unsigned short) const /home/notroot/trunk/src/emu/memory.c:481
    #5 0x7c7be3a in address_space_specific<unsigned short, (endianness_t)1, true>::write_native(unsigned int, unsigned short) /home/notroot/trunk/src/emu/memory.c:1203
    #6 0x66cc82b in delegate_base<void, unsigned int, unsigned short, _noparam, _noparam, _noparam>::operator()(unsigned int, unsigned short) const /home/notroot/trunk/src/emu/delegate.h:512
    #7 0x66cc82b in m68ki_write_16_fc(m68000_base_device*, unsigned int, unsigned int, unsigned int) /home/notroot/trunk/src/emu/cpu/m68000/m68kcpu.h:816
    #8 0x66cc82b in m68000_base_device_ops::m68k_op_move_16_al_i(m68000_base_device*) /home/notroot/trunk/obj/sdl64d/emu/cpu/m68000/m68kops.c:19118
    #9 0x6529a1d in m68000_base_device::cpu_execute() /home/notroot/trunk/src/emu/cpu/m68000/m68kcpu.c:856
    #10 0x7cf01b0 in device_execute_interface::run() /home/notroot/trunk/src/emu/diexec.h:187
    #11 0x7cf01b0 in device_scheduler::timeslice() /home/notroot/trunk/src/emu/schedule.c:474
    #12 0x7c0bd71 in running_machine::run(bool) /home/notroot/trunk/src/emu/machine.c:378
    #13 0x7c03157 in mame_execute(emu_options&, osd_interface&) /home/notroot/trunk/src/emu/mame.c:194
    #14 0x7a03efc in cli_frontend::execute(int, char**) /home/notroot/trunk/src/emu/clifront.c:237
    #15 0x55a1645 in main /home/notroot/trunk/src/osd/sdl/sdlmain.c:380
    #16 0x7fa0cf6f7de4 in __libc_start_main /build/buildd/eglibc-2.17/csu/libc-start.c:260
    #17 0xfbfbdc in _start (/home/notroot/trunk/mame64d+0xfbfbdc)
Steps To Reproduce
Additional Information The following sets crash similarly (September 13, 2016):
sc4bgold
sc4cjd
sc4crzgnx
sc4dnda
sc4dndccb
sc4drubyb
sc4hotdga
sc4milro
sc4ponye
sc4pwcrzf
Flags
Regression Version 0.147u4 (Added)
Affected Sets / Systems assorted sets in bfm_sc4.c
Attached Files
 
Relationships
There are no relationsihp linked to this issue.
Notes
1
User avatar
No.13091
Robbbert
Developer
Aug 31, 2016, 22:32
edited on: Aug 31, 2016, 22:36
Tested on 32-bit windows

C:\MAME>mame sc4milro
NOT AN SC4 ROM!!!!!
Normal rom pair string not found, checking mismatched / missing rom string
No suitable string found

-----------------------------------------------------
Exception at EIP=02BA7DBB (emu_timer::adjust(attotime, int, attotime const&)+0x000b): ACCESS VIOLATION
While attempting to read memory at 67616E61
-----------------------------------------------------
EAX=00000018 EBX=67616E61 ECX=67616E61 EDX=0AB5C568
ESI=0028BF38 EDI=0AB4F490 EBP=0028BEC8 ESP=0028BE80
-----------------------------------------------------
Stack crawl:
  0028BEC8: 02BA7DBB (emu_timer::adjust(attotime, int, attotime const&)+0x000b)
  0028BF78: 023CE62A (m68307_timer::write_tmr(unsigned short, unsigned short, int)+0x0eea)
  0028C038: 023D089C (m68307cpu_device::m68307_internal_timer_w(address_space&, unsigned int, unsigned short, unsigned short)+0x061c)
  0028C078: 03B3AF7F (delegate_base<void, address_space&, unsigned int, unsigned short, unsigned short>::operator()(address_space&, unsigned i
nt, unsigned short, unsigned short) const+0x003f)
  0028C0A8: 038E0905 (address_space_specific<unsigned short, (endianness_t)1, true>::write_word(unsigned int, unsigned short)+0x0095)
  0028C0C8: 023C3ECF (m68307cpu_device::write_word_m68307(unsigned int, unsigned short)+0x001f)
  0028C0E8: 01EF6656 (m68ki_write_16_fc(m68000_base_device*, unsigned int, unsigned int, unsigned int) [clone .constprop.669]+0x0076)
  0028C108: 01F271C0 (m68000_base_device_ops::m68k_op_move_16_al_i(m68000_base_device*)+0x0030)
  0028C198: 0386B689 (m68000_base_device::cpu_execute()+0x0789)
  0028C1A8: 01EE9B0B (m68000_base_device::execute_run()+0x000b)
  0028C218: 02BAB4B9 (device_scheduler::timeslice()+0x01b9)
  0028C288: 02B75059 (running_machine::run(bool)+0x01c9)
  0028F908: 017A4ED5 (mame_machine_manager::execute()+0x0175)
  0028FBE8: 018071CE (cli_frontend::execute(int, char**)+0x0e3e)
  0028FC18: 017A3A24 (emulator_info::start_frontend(emu_options&, osd_interface&, int, char**)+0x0034)
  0028FE48: 01712C96 (utf8_main(int, char**)+0x0126)
  0028FEC8: 02F4FBD7 (wmain+0x00e7)
  0028FF88: 004013F0 (__tmainCRTStartup+0x0280)
  0028FF94: 753E337A (BaseThreadInitThunk+0x0012)
  0028FFD4: 772C9882 (RtlInitializeExceptionChain+0x0063)
  0028FFEC: 772C9855 (RtlInitializeExceptionChain+0x0036)