カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
クラッシュ/フリーズ重要 (ゲーム)解決済み修正済み2008-02-03 08:172008-02-08 00:52
 
テスターFirewave担当者 ソースmidyunit.cpp
バージョン0.115発生バージョン修正バージョン0.115u1
フラグ旧BugIDmidyunit0115red
セット midyunit.c, midtunit.c, midxunit.c, midwunit.c
セット詳細
 
概 要-autosaveを使うと、終了時にMAMEがクラッシュする。
詳 細Crash with -autosave when exiting MAME.
harddriv.c: hdrivair
harddriv.c: hdrivaip

Fatal error: cpunum_suspend() called for invalid cpu num!
Caused by assert: src/emu/cpuexec.c:616: cpunum >= 0 && cpunum < cpu_gettotalcpu()

scregg.c: scregg
scregg.c: eggs
scregg.c: dommy

Program received signal SIGSEGV, Segmentation fault.
videoram_w (offset=0, data=0) at src/emu/video/generic.c:390
390 dirtybuffer[offset] = 1;
(gdb) bt
#0 videoram_w (offset=0, data=0) at src/emu/video/generic.c:390
#1 0x0022d8e8 in ?? ()
#2 0x00ca3a4a in program_write_byte_8 (address=4096, data=0 '\0')
at src/emu/memory.c:2723
#3 0x010fa308 in m6502_91 () at src/emu/cpu/m6502/t6502.c:67
#4 0x0111bf6e in m6502_execute (cycles=1644) at src/emu/cpu/m6502/m6502.c:235
#5 0x00cb5763 in cpunum_execute (cpunum=0, cycles=1644)
at src/emu/cpuintrf.c:1389
#6 0x00cfe833 in cpuexec_timeslice () at src/emu/cpuexec.c:502
#7 0x00c9686f in run_game (driver=0x142cd30) at src/emu/mame.c:346
#8 0x00d363c7 in cli_execute (argc=6, argv=0x4fa1fe8, osd_options=0x20a7d50)
at src/emu/clifront.c:268
#9 0x00c48fe0 in utf8_main (argc=6, argv=0x4fa1fe8)
at src/osd/windows/winmain.c:279
#10 0x0136c842 in main (argc=6, a_argv=0x4eb2500) at src/osd/windows/main.c:67

midyunit.c / midtunit.c / midxunit.c / midwunit.c (with -autosave when exiting MAME)

Program received signal SIGSEGV, Segmentation fault.
0x78010a33 in _libwinmm_a_iname ()
(gdb) bt
#0 0x78010a33 in _libwinmm_a_iname ()
#1 0x15ac2e32 in ?? ()
#2 0x00d1a9ea in state_save_save_continue () at src/emu/state.c:790
#3 0x00c96c2d in handle_save (machine=0x7d41d78) at src/emu/mame.c:1488
#4 0x00c968c9 in run_game (driver=0x13ec870) at src/emu/mame.c:354
#5 0x00d363c7 in cli_execute (argc=7, argv=0x4fa1fe4, osd_options=0x20a7d50)
at src/emu/clifront.c:268
#6 0x00c48fe0 in utf8_main (argc=7, argv=0x4fa1fe4)
at src/osd/windows/winmain.c:279
#7 0x0136c842 in main (argc=7, a_argv=0x4eb2500) at src/osd/windows/main.c:67

windbg indicates it crashes in memcpy() in the msvcrt.

fromance.c: nekkyoku

Program received signal SIGSEGV, Segmentation fault.
fromance_paletteram_w (offset=0, data=33) at src/mame/video/fromance.c:211
211 local_paletteram[offset] = data;
(gdb) bt
#0 fromance_paletteram_w (offset=0, data=33) at src/mame/video/fromance.c:211
#1 0x00ca3a4a in program_write_byte_8 (address=63488, data=33 '!')
at src/emu/memory.c:2723
#2 0x011982e9 in ed_b0 () at src/emu/cpu/z80/z80.c:2923
#3 0x0119bc86 in z80_execute (cycles=744) at src/emu/cpu/z80/z80.c:3283
#4 0x00cb5763 in cpunum_execute (cpunum=1, cycles=744)
at src/emu/cpuintrf.c:1389
#5 0x00cfe833 in cpuexec_timeslice () at src/emu/cpuexec.c:502
#6 0x00c9686f in run_game (driver=0x1434260) at src/emu/mame.c:346
#7 0x00d363c7 in cli_execute (argc=6, argv=0x4fa1fe8, osd_options=0x20a7d50)
at src/emu/clifront.c:268
#8 0x00c48fe0 in utf8_main (argc=6, argv=0x4fa1fe8)
at src/osd/windows/winmain.c:279
#9 0x0136c842 in main (argc=6, a_argv=0x4eb2500) at src/osd/windows/main.c:67 


Foolow-up by JonteP: It doesn't only happen with the -autosave switch, it occurs when you use the F7 function too. Sometimes MAME will exit and sometimes the state will load with a frozen screen, and the exception message shows upon exiting. On some occasions the state load will work, but the exception message is still there when you exit.
再現手順 
追加情報 
 
添付ファイル