Viewing Issue Advanced Details
ID Category [?] Severity [?] Reproducibility Date Submitted Last Update
02184 Crash/Freeze Critical (emulator) Always Aug 31, 2008, 11:47 Dec 30, 2008, 16:18
Tester Firewave View Status Public Platform MAME (Self-compiled)
Assigned To Resolution Unable to reproduce OS
Status [?] Closed Driver
Version 0.127u1 Fixed in Version Build Debug
Fixed in Git Commit Github Pull Request #
Summary 02184: twinadv, twinadvk: Access Violation
Description They crash after the OK screens:

-----------------------------------------------------
Exception at EIP=00CAD41A (m68k_set_encrypted_opcode_range+0x010a): ACCESS VIOLATION
While attempting to read memory at 12512000
-----------------------------------------------------
EAX=12512000 EBX=0000FFFF ECX=0022FBF0 EDX=120B1FFC
ESI=00000000 EDI=00000000 EBP=0022FC48 ESP=0022FC40
Steps To Reproduce
Additional Information
Github Commit
Flags
Regression Version 0.127u1
Affected Sets / Systems twinadv, twinadvk
Attached Files
 
Relationships
There are no relationship linked to this issue.
Notes
6
User avatar
No.02280
Fujix
Administrator
Aug 31, 2008, 14:19
edited on: Aug 31, 2008, 14:28
Both of them works for me in 32-bit XP.

Update:
It doesn't reproduce for me in 32-bit and 64-bit MAME binaries on Vista 64-bit.

Debug build-specific?
User avatar
No.02281
Tafoid
Administrator
Aug 31, 2008, 14:40
Strangeness. I get the crash at the same time described by Firewave on my normal build. (32-bit, Windows 2000). But, if I run with the -debug switch (integrated debugger), it loads and plays correctly...
User avatar
No.02283
Fujix
Administrator
Aug 31, 2008, 22:16
The bug exits on some setups. Setting confirmed.
User avatar
No.02290
Firewave
Senior Tester
Sep 1, 2008, 11:04
The backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00c0b20f in cpu_readop16 (byteaddress=4587524) at src/emu/memory.h:956
956     INLINE UINT16 cpu_readop16(offs_t byteaddress)          { extern opbase_
data opbase; if (address_is_unsafe(byteaddress)) { memory_set_opbase(byteaddress
); } return cpu_readop16_unsafe(byteaddress); }
(gdb) bt full
#0  0x00c0b20f in cpu_readop16 (byteaddress=4587524) at src/emu/memory.h:956
No locals.
#1  0x010ba082 in m68ki_read_imm_16 () at src/emu/cpu/m68000/m68kcpu.h:1079
        result = 0
#2  0x010f31be in m68k_op_ori_8_d ()
    at obj/windows/mameu43d/emu/cpu/m68000/m68kops.c:27856
        res = 16683785
#3  0x00fe932e in m68k_execute (num_cycles=92748)
    at src/emu/cpu/m68000/m68kcpu.c:817
No locals.
#4  0x00c0b528 in m68000_execute (cycles=92748)
    at src/emu/cpu/m68000/m68kmame.c:175
No locals.
#5  0x00977d6a in cpunum_execute (cpunum=0, cycles=92748)
    at src/emu/cpuintrf.c:1495
        ran = 0
#6  0x009bb266 in cpuexec_timeslice (machine=0xb611f34)
    at src/emu/cpuexec.c:283
        target = {seconds = 0, attoseconds = 86956521739130430}
        base = {seconds = 0, attoseconds = 81159420289855068}
        cpunum = 0
        ran = 4634
#7  0x0097a51b in mame_execute (options=0x8921e58) at src/emu/mame.c:345
        settingsloaded = 0
        driver = (const game_driver *) 0x1f561c0
        machine = (running_machine *) 0xb611f34
        mame = (mame_private *) 0xb621f68
        cb = (callback_item *) 0x8921e58
        gamename = (astring *) 0xb611f00
        exit_pending = 0
        error = 0
        firstgame = 0
        firstrun = 0
#8  0x00b9925c in cli_execute (argc=8, argv=0x8861fe0, osd_options=0x20e0ff0)
    at src/emu/clifront.c:171
        options = (core_options *) 0x8921e58
        gamename = (astring *) 0x8901f00
        exename = (astring *) 0x8911f00
        gamename_option = 0x8951f08 "twinadv"
        driver = (const game_driver *) 0x1f561c0
        result = -1
#9  0x00920749 in utf8_main (argc=8, argv=0x8861fe0)
    at src/osd/windows/winmain.c:257
        ext = 0x27bd868 ".map"
#10 0x011f1039 in main (argc=8, a_argv=0x6d027f0) at src/osd/windows/main.c:72
        i = 8
        rc = -1
        utf8_argv = (char **) 0x8861fe0
        argv = (TCHAR **) 0x6d02880
        wenviron = (WCHAR **) 0x6d050f0
        startupinfo = 3289943
User avatar
No.03402
Firewave
Senior Tester
Dec 26, 2008, 10:31
It doesn't crash anymore in 0.128u7.
User avatar
No.03435
aaron
Developer
Dec 30, 2008, 16:18
Marking this no repro (I'm not seeing it either). Re-open if it shows up again.