xsystem4
xsystem4 copied to clipboard
Intermittent Segfault in Rance VI after DrawPluginManager.IsLoad
Rance VI crashes with a segmentation fault intermittently when starting a new game from the main menu. The crash occurs immediately after the unimplemented DrawPluginManager.IsLoad function is called. Sometimes the game successfully continues past this point, other times it segfaults.
I'm in gentoo linux running the latest git build, can reproduce error on 1.0.0 too.
Here is the terminal putput then it does segfault:
❯ xsystem4
WARNING: importing already defined binding: equal?
WARNING: importing already defined binding: let-syntax
WARNING: importing already defined binding: letrec-syntax
*WARNING*(../xsystem4-9999/src/hll/OutputLog.c:OutputLog_EnableAutoSave:47): Unimplemented HLL function: OutputLog.EnableAutoSave
------------------------------------------------------------
SACT2 for System4.x (C) ALICE-SOFT
サウンドデータ配列を256個分割り当て
BGMデータ配列を4個分割り当て
------------------------------------------------------------
§メイン関数開始
DrawPluginとしてDrawGraphをロード
*WARNING*(../xsystem4-9999/src/hll/DrawPluginManager.c:DrawPluginManager_Load:19): Unimplemented HLL function: DrawPluginManager.Load
メッセージスキップ用データファイルを/home/hau/.local/share/xsystem4/Rance6/SaveData\MsgSkip.asdに設定
§ゲームメイン開始
------------------------------------------------------------
*WARNING*(../xsystem4-9999/src/hll/File.c:File_Open:168): Failed to open file '/home/hau/.local/share/xsystem4/Rance6/SaveData/Joypad.asd': No such file or directory
*WARNING*(../xsystem4-9999/src/hll/StretchHelper.c:StretchHelper_SetInternalResolution:22): Unimplemented HLL function: StretchHelper.SetInternalResolution
*WARNING*(../xsystem4-9999/src/hll/AliceLogo3.c:AliceLogo3_Init:19): Unimplemented HLL function: AliceLogo3.Init
*WARNING*(../xsystem4-9999/src/hll/AliceLogo3.c:AliceLogo3_Run:21): Unimplemented HLL function: AliceLogo3.Run
*WARNING*(../xsystem4-9999/src/hll/StretchHelper.c:StretchHelper_SetInternalResolution:22): Unimplemented HLL function: StretchHelper.SetInternalResolution
*WARNING*(../xsystem4-9999/src/hll/File.c:File_Open:168): Failed to open file '/home/hau/.local/share/xsystem4/Rance6/SaveData/Joypad.asd': No such file or directory
*WARNING*(../xsystem4-9999/src/hll/OutputLog.c:OutputLog_EnableAutoSave:47): Unimplemented HLL function: OutputLog.EnableAutoSave
[0000]Sound_Prepare(301)
[0000]Sound_SetVolume(v=100,t=0,w=0)
[0001]Sound_Prepare(301)
[0001]Sound_SetVolume(v=100,t=0,w=0)
[0002]Sound_Prepare(302)
[0002]Sound_SetVolume(v=100,t=0,w=0)
[0003]Sound_Prepare(302)
[0003]Sound_SetVolume(v=100,t=0,w=0)
[0004]Sound_Prepare(303)
[0004]Sound_SetVolume(v=100,t=0,w=0)
[0005]Sound_Prepare(304)
[0005]Sound_SetVolume(v=100,t=0,w=0)
[0006]Sound_Prepare(305)
[0006]Sound_SetVolume(v=100,t=0,w=0)
[0007]Sound_Prepare(306)
[0007]Sound_SetVolume(v=100,t=0,w=0)
[0008]Sound_Prepare(307)
[0008]Sound_SetVolume(v=100,t=0,w=0)
[0009]Sound_Prepare(307)
[0009]Sound_SetVolume(v=100,t=0,w=0)
[0004]Sound_Stop()
[0004]Sound_FadeIn(t=0,w=0)
[0004]Sound_Play()
[0000]Sound_Stop()
[0000]Sound_FadeIn(t=0,w=0)
[0000]Sound_Play()
ステータス計算中
ステータス計算中
▼味方パーティ.出席[2]:Rance
★ 関数 戦列初期化() 体力戻し、パーティ ランスのみ 実行しました。
*WARNING*(../xsystem4-9999/src/hll/DrawPluginManager.c:DrawPluginManager_IsLoad:20): Unimplemented HLL function: DrawPluginManager.IsLoad
zsh: segmentation fault xsystem4
When it doesn't segfault it continues seemingly as normal:
❯ xsystem4
^[[3~WARNING: importing already defined binding: equal?
WARNING: importing already defined binding: let-syntax
WARNING: importing already defined binding: letrec-syntax
*WARNING*(../xsystem4-9999/src/hll/OutputLog.c:OutputLog_EnableAutoSave:47): Unimplemented HLL function: OutputLog.EnableAutoSave
------------------------------------------------------------
SACT2 for System4.x (C) ALICE-SOFT
サウンドデータ配列を256個分割り当て
BGMデータ配列を4個分割り当て
------------------------------------------------------------
§メイン関数開始
DrawPluginとしてDrawGraphをロード
*WARNING*(../xsystem4-9999/src/hll/DrawPluginManager.c:DrawPluginManager_Load:19): Unimplemented HLL function: DrawPluginManager.Load
メッセージスキップ用データファイルを/home/hau/.local/share/xsystem4/Rance6/SaveData\MsgSkip.asdに設定
§ゲームメイン開始
------------------------------------------------------------
*WARNING*(../xsystem4-9999/src/hll/File.c:File_Open:168): Failed to open file '/home/hau/.local/share/xsystem4/Rance6/SaveData/Joypad.asd': No such file or directory
*WARNING*(../xsystem4-9999/src/hll/StretchHelper.c:StretchHelper_SetInternalResolution:22): Unimplemented HLL function: StretchHelper.SetInternalResolution
*WARNING*(../xsystem4-9999/src/hll/AliceLogo3.c:AliceLogo3_Init:19): Unimplemented HLL function: AliceLogo3.Init
*WARNING*(../xsystem4-9999/src/hll/AliceLogo3.c:AliceLogo3_Run:21): Unimplemented HLL function: AliceLogo3.Run
*WARNING*(../xsystem4-9999/src/hll/StretchHelper.c:StretchHelper_SetInternalResolution:22): Unimplemented HLL function: StretchHelper.SetInternalResolution
*WARNING*(../xsystem4-9999/src/hll/File.c:File_Open:168): Failed to open file '/home/hau/.local/share/xsystem4/Rance6/SaveData/Joypad.asd': No such file or directory
*WARNING*(../xsystem4-9999/src/hll/OutputLog.c:OutputLog_EnableAutoSave:47): Unimplemented HLL function: OutputLog.EnableAutoSave
[0000]Sound_Prepare(301)
[0000]Sound_SetVolume(v=100,t=0,w=0)
[0001]Sound_Prepare(301)
[0001]Sound_SetVolume(v=100,t=0,w=0)
[0002]Sound_Prepare(302)
[0002]Sound_SetVolume(v=100,t=0,w=0)
[0003]Sound_Prepare(302)
[0003]Sound_SetVolume(v=100,t=0,w=0)
[0004]Sound_Prepare(303)
[0004]Sound_SetVolume(v=100,t=0,w=0)
[0005]Sound_Prepare(304)
[0005]Sound_SetVolume(v=100,t=0,w=0)
[0006]Sound_Prepare(305)
[0006]Sound_SetVolume(v=100,t=0,w=0)
[0007]Sound_Prepare(306)
[0007]Sound_SetVolume(v=100,t=0,w=0)
[0008]Sound_Prepare(307)
[0008]Sound_SetVolume(v=100,t=0,w=0)
[0009]Sound_Prepare(307)
[0009]Sound_SetVolume(v=100,t=0,w=0)
[0004]Sound_Stop()
[0004]Sound_FadeIn(t=0,w=0)
[0004]Sound_Play()
[0000]Sound_Stop()
[0000]Sound_FadeIn(t=0,w=0)
[0000]Sound_Play()
ステータス計算中
ステータス計算中
▼味方パーティ.出席[2]:Rance
★ 関数 戦列初期化() 体力戻し、パーティ ランスのみ 実行しました。
*WARNING*(../xsystem4-9999/src/hll/DrawPluginManager.c:DrawPluginManager_IsLoad:20): Unimplemented HLL function: DrawPluginManager.IsLoad
CSactBGM::AllocChannel
*WARNING*(../xsystem4-9999/src/hll/OutputLog.c:OutputLog_EnableAutoSave:47): Unimplemented HLL function: OutputLog.EnableAutoSave
[0000]Music_Prepare(101)
[0000]Music_SetVolume(v=0,t=0,w=0)
[0000]Music_Play()
[0000]Music_SetVolume(v=33,t=0,w=0)
[0010]Sound_Prepare(322)
[0010]Sound_SetVolume(v=100,t=0,w=0)
[0010]Sound_Play()
[0000]Music_FadeOut(t=500,w=0)
▼味方パーティ.出席[5]:Sill
★ F戦闘 ★
グループ151
逃げる事は出来ません
ステータス計算中
敵グループ関数 [151][51][51]
▼敵パーティ.出席[1]:Squidman