カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
クラッシュ/フリーズ重要 (ゲーム)解決済み修正済み2008-07-01 16:552009-01-02 13:08
 
テスターFirewave担当者aaronソースmidtunit.cpp
バージョン0.125u8発生バージョン修正バージョン0.129
フラグデバッグビルド限定
セット jdreddp
セット詳細
jdreddp - Judge Dredd (rev LA1, location test)
 
概 要-autosaveと-debugをしているすると、ステートロード時にクラッシュする。
詳 細MAME crashes when loading the savestate with -autosave while the debugger is running. Here is the backtrace:

Program received signal SIGSEGV, Segmentation fault.
0x00c023ea in debug_read_opcode (address=64464, size=1, arg=0)
    at src/emu/debug/debugcpu.c:2102
2102                    case 1: return *(UINT8 *) ptr;
(gdb) bt full
#0  0x00c023ea in debug_read_opcode (address=64464, size=1, arg=0)
    at src/emu/debug/debugcpu.c:2102
        info = (const debug_cpu_info *) 0x298c448
        lowbits_mask = 0
        ptr = (const void *) 0x1
#1  0x00c0d1c3 in disasm_recompute (view=0x166d1fa4, pc=64460, startline=0,
    lines=1000, original_cpunum=0) at src/emu/debug/debugvw.c:1548
        opbuf = "5\0029  \000\000\000\225?a}Z½M}    l?\"\000p?\"\000\000\200\000
\000\004\000\000\000\000\000\000\000x?\"\000\207½M}\002\000\000\000\000\000\000\
000D\201\a&\b?\bª"
        argbuf = "5\0029  \000\000\000\005", '\0' <repeats 54 times>
        buffer = "RTS   \00026\0000\000\000\000(PUL? PC=RTS)", '\0' <repeats 33
times>, "\225?a}Z½M}    <?\"\000@?\"\000\000\200\000\000\000\000\000\000\000\000
\000\000H?\"\000\207½M}"
        oldbuf = '\0' <repeats 99 times>
        destbuf = 0x21b02bf0 " FBCC  "
        pcbyte = 64460
        tempaddr = 64460
        numbytes = 4
        instr = 802
        dasmdata = (debug_view_disasm *) 0x166f1fa8
        cpuinfo = (const debug_cpu_info *) 0x298c448
        chunksize = 1
        minbytes = 1
        maxbytes = 5
        maxbytes_clamped = 5
        changed = 0
        addrmask = 65535
        line = 802
#2  0x00c0d900 in disasm_update (view=0x166d1fa4)
    at src/emu/debug/debugvw.c:1711
        backpc = 62782
        dasmdata = (debug_view_disasm *) 0x166f1fa8
        cpuinfo = (const debug_cpu_info *) 0x298c448
        pc = 62788
        pcbyte = 62788
        dest = (debug_view_char *) 0x166e1f38
        original_cpunum = 0
        recomputed_this_time = 0
        exprerr = 0
        row = 1000
#3  0x00c0b0cf in debug_view_end_update (view=0x166d1fa4)
    at src/emu/debug/debugvw.c:597
        size = 96
#4  0x00c0df70 in disasm_setprop (view=0x166d1fa4, property=100, value=
      {i = 1, s = 0x1 <Address 0x1 out of bounds>, p = 0x1, f = 0x1})
    at src/emu/debug/debugvw.c:1955
        dasmdata = (debug_view_disasm *) 0x166f1fa8
#5  0x00c0b003 in debug_view_set_property (view=0x166d1fa4, property=100,
    value={i = 1, s = 0x1 <Address 0x1 out of bounds>, p = 0x1, f = 0x1})
    at src/emu/debug/debugvw.c:543
No locals.
#6  0x0099bd31 in debug_view_set_property_UINT32 (view=0x166d1fa4,
    property=100, value=1) at src/emu/debug/debugvw.h:180
        info = {i = 1, s = 0x1 <Address 0x1 out of bounds>, p = 0x1, f = 0x1}
#7  0x0099fc7c in console_create_window (machine=0xb3b1f3c)
    at src/osd/windows/debugwin.c:2618
        minwidth = 2292692
        maxwidth = 2103560904
        regchars = 65535
        dischars = 65535
        conchars = 1
        info = (debugwin_info *) 0x166c1648
        bestwidth = 0
        bestheight = -10000
        bounds = {left = 1944496414, top = 2292636, right = -10000,
  bottom = 136243328}
        work_bounds = {left = 0, top = 136243328, right = 0, bottom = 2292668}
        optionsmenu = (HMENU) 0x13ff0acf
        cpunum = 1
#8  0x00999d9c in osd_wait_for_debugger () at src/osd/windows/debugwin.c:263
        message = {hwnd = 0x3, message = 1944510185, wParam = 4294957296,
  lParam = 2292760, time = 10545779, pt = {x = -32, y = -32}}
#9  0x00bff39d in debug_cpu_instruction_hook (machine=0xb3b1f3c,
    curpc=4291974288) at src/emu/debug/debugcpu.c:573
        info = (debug_cpu_info *) 0x298be70
#10 0x00c86df6 in debugger_instruction_hook (machine=0xb3b1f3c,
    curpc=4291974288) at src/emu/debugger.h:48
No locals.
#11 0x00c86d87 in tms34010_execute (cycles=60)
    at src/emu/cpu/tms34010/tms34010.c:859
No locals.
#12 0x009eca78 in cpunum_execute (cpunum=0, cycles=60)
    at src/emu/cpuintrf.c:1467
        ran = 2480857
#13 0x00a319b5 in cpuexec_timeslice (machine=0xb3b1f3c)
    at src/emu/cpuexec.c:283
        target = {seconds = 2, attoseconds = 10655199731988480}
        base = {seconds = 2, attoseconds = 10645250000000000}
        cpunum = 0
        ran = 11
#14 0x009ef60a in mame_execute (options=0x8691e58) at src/emu/mame.c:394
        settingsloaded = 1
        driver = (const game_driver *) 0x1958420
        machine = (running_machine *) 0xb3b1f3c
        mame = (mame_private *) 0xb3d1d68
        cb = (callback_item *) 0x8691e58
        gamename = (astring *) 0xb3b1f00
        exit_pending = 0
        error = 0
        firstgame = 0
        firstrun = 0
#15 0x00c1ae03 in cli_execute (argc=9, argv=0x85c1fdc, osd_options=0x21c72f0)
    at src/emu/clifront.c:171
        options = (core_options *) 0x8691e58
        gamename = (astring *) 0x8671f00
        exename = (astring *) 0x8681f00
        gamename_option = 0x86c1f08 "jdreddp"
        driver = (const game_driver *) 0x1958420
        result = -1
#16 0x00990aa1 in utf8_main (argc=9, argv=0x85c1fdc)
    at src/osd/windows/winmain.c:257
        ext = 0x28c35b8 ".map"
#17 0x012c141a in main (argc=9, a_argv=0x6a826c0) at src/osd/windows/main.c:72
        i = 9
        rc = -1
        utf8_argv = (char **) 0x85c1fdc
        argv = (TCHAR **) 0x6a82750
        wenviron = (WCHAR **) 0x6a84e10
        startupinfo = 111683264
再現手順- run MAME with "-window -debug -autosave -str 2 -rp d:\_roms\mame jdreddp"
- hit F5 to continue within the debugger
- run it again with the same parameters
- Access Violation after the "Save State loaded successfully" message
追加情報 
 
添付ファイル