Open rehashedsalt opened 5 months ago
Building locally from 8ef6c0
... tries to work? The game renders at an appropriate framerate, but the audio is scuffed, sounding like it misses 9/10 samples. Then, after advancing to file select or letting the attract cinematics play out, the game segfaults within a couple seconds.
Sometimes the stacktrace looks like this:
terminate called after throwing an instance of 'std::system_error'
what(): Invalid argument
[00:38:09.038] [CrashHandler.cpp:72] [critical] Signal: 6
ABORT
Registers:
RAX: 0x0000000000000000
RDI: 0x0000000000086701
RSI: 0x0000000000086701
RDX: 0x0000000000000006
RCX: 0x00007F8BB60DD144
R8: 0x0000000000000000
R9: 0x00007FFD52C661F0
R10: 0x0000000000000008
R11: 0x0000000000000246
RSP: 0x00007FFD52C66650
RBX: 0x0000000000086701
RBP: 0x00007FFD52C66690
R12: 0x00007F8BB5A11880
R13: 0x00007F8BB65A0170
R14: 0x0000000000000006
R15: 0x0000000002C21858
RIP: 0x00007F8BB60DD144
EFL: 0x0000000000000246
Traceback:
1 /lib64/libc.so.6(+0x40710) [0x7f8bb6085710]
2 /lib64/libc.so.6(+0x98144) [0x7f8bb60dd144]
3 gsignal (+0x1E)
4 abort (+0xDF)
5 /lib64/libstdc++.so.6(+0xa5d99) [0x7f8bb63e7d99]
6 /lib64/libstdc++.so.6(+0xb7b7c) [0x7f8bb63f9b7c]
7 std::unexpected() (+0x0)
8 /lib64/libstdc++.so.6(+0xb7e08) [0x7f8bb63f9e08]
9 std::__throw_system_error(int) (+0x83)
10 std::mutex::lock() (+0x2B)
11 std::unique_lock<std::mutex>::lock() (+0x47)
12 std::unique_lock<std::mutex>::unique_lock(std::mutex&) (+0x37)
13 Graph_ProcessGfxCommands (+0x2C7)
14 Graph_ExecuteAndDraw (+0x438)
15 Graph_Update (+0x3A)
16 RunFrame (+0x10F)
17 Graph_ThreadEntry (+0x18)
18 main (+0x104)
19 /lib64/libc.so.6(+0x2a088) [0x7f8bb606f088]
20 __libc_start_main (+0x8B)
21 _start (+0x25)
Segmentation fault (core dumped)
But fairly often, it'll look like the audio engine throws up:
[00:42:18.895] [z_demo.c:1581] [info] Cutscene_HandleConditionalTriggers: entrance: 55296, cutsceneIndex: 0xFFF2
File Name scenes/nonmq/Z2_CLOCKTOWER/Z2_CLOCKTOWER_room_00
[00:42:18.905] [GameInteractor.cpp:46] [debug] OnRoomInit: sceneId: 111, roomNum: 0
[00:42:18.906] [GameInteractor.cpp:39] [debug] OnSceneInit: sceneId: 111, spawnNum: 0
[00:42:18.907] [GameInteractor.cpp:122] [debug] OnFlagSet: flagType: 2, flag: 82
[00:42:30.371] [CrashHandler.cpp:72] [critical] Signal: 11
INVALID ACCESS TO STORAGE
Registers:
RAX: 0x95868F88944FA0CC
RDI: 0x0000000000000003
RSI: 0x0000000000000001
RDX: 0x0000000000000042
RCX: 0x0000000002CA90E0
R8: 0x00000000055A5630
R9: 0x000000000643E810
R10: 0x0000000000000000
R11: 0x0000000000000293
RSP: 0x00007FFE96B41C10
RBX: 0x00007FFE96B422A8
RBP: 0x00007FFE96B41C60
R12: 0x0000000000000001
R13: 0x0000000000000000
R14: 0x00007F591DF02000
R15: 0x0000000002C21858
RIP: 0x0000000000E9F814
EFL: 0x0000000000010282
Traceback:
1 /lib64/libc.so.6(+0x40710) [0x7f591d6a2710]
2 AudioSfx_ChooseActiveSfx (+0x258)
3 AudioSfx_ProcessActiveSfx (+0x2E)
4 Audio_Update (+0x7A)
5 Graph_UpdateGame (+0x3D)
6 Graph_Update (+0x27)
7 RunFrame (+0x10F)
8 Graph_ThreadEntry (+0x18)
9 main (+0x104)
10 /lib64/libc.so.6(+0x2a088) [0x7f591d68c088]
11 __libc_start_main (+0x8B)
12 _start (+0x25)
The build and execution environment is a fresh Fedora 40 toolbox mostly following the build instructions from SOH:
toolbox create 2shipbuilder
toolbox enter 2shipbuilder
sudo dnf install gcc gcc-c++ git cmake ninja-build lsb_release SDL2-devel libpng-devel libzip-devel libzip-tools nlohmann-json-devel tinyxml2-devel spdlog-devel boost-devel
git clone https://github.com/HarbourMasters/2ship2harkinian
cd 2ship2harkinian
git checkout 8ef6c0
git submodule update --init
cmake -H. -Bbuild-cmake -GNinja
cmake --build build-cmake --target Generate2ShipOtr
cmake --build build-cmake
cd build-cmake/mm
# Copy your ROM into pwd
./2s2h.elf
This might be a separate, unrelated issue though.
Alright, this is 100% a dependency issue. If I take the AppImage and extract it with --appimage-extract
, I can replicate the issue using the extracted AppImage on my host machine.
But, if I then enter my container I created to build 2ship and execute the extracted AppImage from within that context (fuse doesn't work in a Toolbox), 2ship Just Works. Audio is fine and we no longer segfault at launch (or randomly like I did when building locally).
Just to sanity check, a fresh Fedora 40 toolbox segfaults on start the same as my host, so some step in the process of preparing a fresh Fedora 40 toolbox to build 2ship installs a dependency that isn't present on my host or in the AppImage.
Both my Toolbox and host system are running Fedora 40, so a diff of installed packages was easy to generate:
+
is any package that's in the container that isn't on my host.
cc @briaguya-ai
not sure what package would do it but i'm thinking it's likely this commit that fixed the issue https://github.com/ocornut/imgui/commit/a3eea8a75a073694df72a31530632804df0001ec
I'm also seeing this on Fedora 40 Workstation GNOME Wayland built 2ship using commit b54542494ee4792f94bce5556d24eef01b00ebeb Includes imgui v1.90.6-docking
Game starts with garbled audio when going to the main menu, will load for a few seconds and will lock up. no coredumps. same trackback.
[2024-06-02 14:25:50.596] [/tmp/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:152] [info] Reading archive: /tmp/2ship2harkinian/build-cmake/mm/./mm.o2r
[2024-06-02 14:25:50.763] [/tmp/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:182] [info] Adding Archive /tmp/2ship2harkinian/build-cmake/mm/./mm.o2r to Archive Manager
[2024-06-02 14:25:50.798] [/tmp/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:152] [info] Reading archive: /tmp/2ship2harkinian/build-cmake/mm/2ship.o2r
[2024-06-02 14:25:50.798] [/tmp/2ship2harkinian/libultraship/src/resource/archive/O2rArchive.cpp:28] [trace] Failed to find file version in zip archive /tmp/2ship2harkinian/build-cmake/mm/2ship.o2r.
[2024-06-02 14:25:50.798] [/tmp/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:182] [info] Adding Archive /tmp/2ship2harkinian/build-cmake/mm/2ship.o2r to Archive Manager
[14:25:51.050] [os.cpp:27] [error] Failed add SDL game controller mappings from "./gamecontrollerdb.txt" (Invalid RWops)
[14:25:53.989] [z_demo.c:1581] [info] Cutscene_HandleConditionalTriggers: entrance: 7168, cutsceneIndex: 0xFFFA
[14:25:53.994] [GameInteractor.cpp:126] [debug] OnFlagSet: flagType: 1, flag: 6976
[14:25:53.994] [GameInteractor.cpp:126] [debug] OnFlagSet: flagType: 1, flag: 7040
[14:25:53.994] [GameInteractor.cpp:126] [debug] OnFlagSet: flagType: 1, flag: 7169
[14:25:53.994] [GameInteractor.cpp:126] [debug] OnFlagSet: flagType: 1, flag: 7170
[14:25:53.994] [GameInteractor.cpp:126] [debug] OnFlagSet: flagType: 1, flag: 7172
[14:25:53.994] [GameInteractor.cpp:135] [debug] OnFlagUnset: flagType: 1, flag: 6976
[14:25:53.994] [GameInteractor.cpp:135] [debug] OnFlagUnset: flagType: 1, flag: 7040
[14:25:53.994] [GameInteractor.cpp:135] [debug] OnFlagUnset: flagType: 1, flag: 7169
[14:25:53.994] [GameInteractor.cpp:135] [debug] OnFlagUnset: flagType: 1, flag: 7170
[14:25:53.994] [GameInteractor.cpp:135] [debug] OnFlagUnset: flagType: 1, flag: 7172
[14:25:53.995] [GameInteractor.cpp:46] [debug] OnRoomInit: sceneId: 8, roomNum: 0
[14:25:53.997] [GameInteractor.cpp:39] [debug] OnSceneInit: sceneId: 8, spawnNum: 0
[14:26:02.301] [CrashHandler.cpp:72] [critical] Signal: 11
INVALID ACCESS TO STORAGE
Registers:
RAX: 0x0AA40C080D570E93
RDI: 0x0000000000000004
RSI: 0x00000000000000F7
RDX: 0x0000000000000000
RCX: 0x0000000002C96740
R8: 0x0000000004FF4010
R9: 0x0000000000000007
R10: 0x0000000008497100
R11: 0x366A1A23398319ED
RSP: 0x00007FFE8CB73F60
RBX: 0x00007FFE8CB745F8
RBP: 0x00007FFE8CB73FB0
R12: 0x0000000000000001
R13: 0x0000000000000000
R14: 0x00007F3B7E862000
R15: 0x0000000002C0E858
RIP: 0x0000000000E98AE6
EFL: 0x0000000000010202
Traceback:
1 /lib64/libc.so.6(+0x40710) [0x7f3b7df70710]
2 AudioSfx_ChooseActiveSfx (+0x258)
3 AudioSfx_ProcessActiveSfx (+0x2E)
4 Audio_Update (+0x7A)
5 Graph_UpdateGame (+0x3D)
6 Graph_Update (+0x27)
7 RunFrame (+0x10F)
8 Graph_ThreadEntry (+0x18)
9 main (+0x104)
10 /lib64/libc.so.6(+0x2a088) [0x7f3b7df5a088]
11 __libc_start_main (+0x8B)
12 _start (+0x25)
I got this with gdb. Just start the game and don't touch anything, the sound is distorted and it will crash a few seconds during the title cutscene.
(gdb) run
Starting program: /home/x570/git/2ship2harkinian/build-cmake/mm/2s2h.elf
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7ffff6a006c0 (LWP 1716190)]
[2024-06-03 05:02:52.723] [/home/x570/git/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:152] [info] Reading archive: /home/x570/git/2ship2harkinian/build-cmake/mm/./mm.o2r
[2024-06-03 05:02:53.202] [/home/x570/git/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:182] [info] Adding Archive /home/x570/git/2ship2harkinian/build-cmake/mm/./mm.o2r to Archive Manager
[2024-06-03 05:02:53.265] [/home/x570/git/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:152] [info] Reading archive: /home/x570/git/2ship2harkinian/build-cmake/mm/2ship.o2r
[2024-06-03 05:02:53.266] [/home/x570/git/2ship2harkinian/libultraship/src/resource/archive/O2rArchive.cpp:28] [trace] Failed to find file version in zip archive /home/x570/git/2ship2harkinian/build-cmake/mm/2ship.o2r.
[2024-06-03 05:02:53.266] [/home/x570/git/2ship2harkinian/libultraship/src/resource/archive/ArchiveManager.cpp:182] [info] Adding Archive /home/x570/git/2ship2harkinian/build-cmake/mm/2ship.o2r to Archive Manager
[New Thread 0x7ffff60006c0 (LWP 1716282)]
[New Thread 0x7ffff56006c0 (LWP 1716283)]
[New Thread 0x7ffff4c006c0 (LWP 1716284)]
[New Thread 0x7fffefe006c0 (LWP 1716285)]
[New Thread 0x7fffef4006c0 (LWP 1716286)]
[New Thread 0x7fffeea006c0 (LWP 1716287)]
[New Thread 0x7fffee0006c0 (LWP 1716288)]
[New Thread 0x7fffed6006c0 (LWP 1716290)]
[New Thread 0x7fffecc006c0 (LWP 1716291)]
[New Thread 0x7fffec2006c0 (LWP 1716293)]
[New Thread 0x7fffeb8006c0 (LWP 1716294)]
[New Thread 0x7fffeae006c0 (LWP 1716295)]
[New Thread 0x7fffe10006c0 (LWP 1716439)]
[New Thread 0x7fffdbe006c0 (LWP 1716440)]
[New Thread 0x7fffdb4006c0 (LWP 1716446)]
[New Thread 0x7fffdaa006c0 (LWP 1716447)]
[New Thread 0x7fffda0006c0 (LWP 1716448)]
[New Thread 0x7fffd96006c0 (LWP 1716449)]
[New Thread 0x7fffd8c006c0 (LWP 1716451)]
[New Thread 0x7fffd3e006c0 (LWP 1716452)]
[New Thread 0x7fffd34006c0 (LWP 1716453)]
[New Thread 0x7fffd2a006c0 (LWP 1716459)]
[New Thread 0x7fffeeb206c0 (LWP 1716462)]
[New Thread 0x7fffd20006c0 (LWP 1716469)]
[New Thread 0x7fffd14006c0 (LWP 1716497)]
[05:02:54.481] [os.cpp:27] [error] Failed add SDL game controller mappings from "./gamecontrollerdb.txt" (Invalid RWops)
[05:02:57.221] [z_demo.c:1581] [info] Cutscene_HandleConditionalTriggers: entrance: 7168, cutsceneIndex: 0xFFFA
[05:02:57.224] [GameInteractor.cpp:126] [debug] OnFlagSet: flagType: 1, flag: 6976
File Name scenes/nonmq/SPOT00/SPOT00_room_00
[05:02:57.224] [GameInteractor.cpp:126] [debug] OnFlagSet: flagType: 1, flag: 7040
[05:02:57.224] [GameInteractor.cpp:126] [debug] OnFlagSet: flagType: 1, flag: 7169
[05:02:57.224] [GameInteractor.cpp:126] [debug] OnFlagSet: flagType: 1, flag: 7170
[05:02:57.224] [GameInteractor.cpp:126] [debug] OnFlagSet: flagType: 1, flag: 7172
[05:02:57.224] [GameInteractor.cpp:135] [debug] OnFlagUnset: flagType: 1, flag: 6976
[05:02:57.224] [GameInteractor.cpp:135] [debug] OnFlagUnset: flagType: 1, flag: 7040
[05:02:57.224] [GameInteractor.cpp:135] [debug] OnFlagUnset: flagType: 1, flag: 7169
[05:02:57.224] [GameInteractor.cpp:135] [debug] OnFlagUnset: flagType: 1, flag: 7170
[05:02:57.224] [GameInteractor.cpp:135] [debug] OnFlagUnset: flagType: 1, flag: 7172
[05:02:57.225] [GameInteractor.cpp:46] [debug] OnRoomInit: sceneId: 8, roomNum: 0
[05:02:57.225] [GameInteractor.cpp:39] [debug] OnSceneInit: sceneId: 8, spawnNum: 0
[05:03:20.221] [z_demo.c:1581] [info] Cutscene_HandleConditionalTriggers: entrance: 55296, cutsceneIndex: 0xFFF2
File Name scenes/nonmq/Z2_CLOCKTOWER/Z2_CLOCKTOWER_room_00
[05:03:20.227] [GameInteractor.cpp:46] [debug] OnRoomInit: sceneId: 111, roomNum: 0
[05:03:20.228] [GameInteractor.cpp:39] [debug] OnSceneInit: sceneId: 111, spawnNum: 0
[05:03:20.228] [GameInteractor.cpp:126] [debug] OnFlagSet: flagType: 2, flag: 82
[New Thread 0x7fffafc006c0 (LWP 1717031)]
Thread 1 "2s2h.elf" received signal SIGSEGV, Segmentation fault.
AudioSfx_ChooseActiveSfx (bankId=3 '\003') at /home/x570/git/2ship2harkinian/mm/src/audio/sfx.c:431
431 entryPosY = *entry->posY * 1;
(gdb) bt
#0 AudioSfx_ChooseActiveSfx (bankId=3 '\003') at /home/x570/git/2ship2harkinian/mm/src/audio/sfx.c:431
#1 0x0000000000e99c1a in AudioSfx_ProcessActiveSfx () at /home/x570/git/2ship2harkinian/mm/src/audio/sfx.c:886
#2 0x0000000000e78099 in Audio_Update () at /home/x570/git/2ship2harkinian/mm/src/audio/code_8019AF00.c:3659
#3 0x0000000000eaa066 in Graph_UpdateGame (gameState=0x7fffb8a01630) at /home/x570/git/2ship2harkinian/mm/src/code/graph.c:247
#4 0x0000000000eaa54e in Graph_Update (gfxCtx=0x2da0f20 <runFrameContext>, gameState=0x7fffb8a01630) at /home/x570/git/2ship2harkinian/mm/src/code/graph.c:352
#5 0x0000000000eaa704 in RunFrame () at /home/x570/git/2ship2harkinian/mm/src/code/graph.c:415
#6 0x0000000000eaa79b in Graph_ThreadEntry (arg0=0x0) at /home/x570/git/2ship2harkinian/mm/src/code/graph.c:437
#7 0x0000000000eaba5d in main (argc=1, argv=0x7fffffff4e38) at /home/x570/git/2ship2harkinian/mm/src/code/main.c:118
(gdb) bt full
#0 AudioSfx_ChooseActiveSfx (bankId=3 '\003') at /home/x570/git/2ship2harkinian/mm/src/audio/sfx.c:431
numChosenSfx = 0 '\000'
numChannels = 3 '\003'
entryIndex = 66 'B'
i = 3 '\003'
j = 2 '\002'
k = 0 '\000'
sfxImportance = 4 '\004'
needNewSfx = 1 '\001'
chosenEntryIndex = 255 '\377'
pad = <optimized out>
entry = 0x2c9a430 <sSfxRequests+2128>
chosenSfx = {{priority = 2147483647, entryIndex = 255 '\377'}, {priority = 2147483647, entryIndex = 255 '\377'}, {priority = 2147483647, entryIndex = 255 '\377'}}
activeSfx = 0x2c9c440 <gActiveSfx+64>
entryPosY = 6.33588155e-37
entryPosX = 2.80259693e-45
#1 0x0000000000e99c1a in AudioSfx_ProcessActiveSfx () at /home/x570/git/2ship2harkinian/mm/src/audio/sfx.c:886
bankId = 3 '\003'
#2 0x0000000000e78099 in Audio_Update () at /home/x570/git/2ship2harkinian/mm/src/audio/code_8019AF00.c:3659
No locals.
#3 0x0000000000eaa066 in Graph_UpdateGame (gameState=0x7fffb8a01630) at /home/x570/git/2ship2harkinian/mm/src/code/graph.c:247
No locals.
#4 0x0000000000eaa54e in Graph_Update (gfxCtx=0x2da0f20 <runFrameContext>, gameState=0x7fffb8a01630) at /home/x570/git/2ship2harkinian/mm/src/code/graph.c:352
No locals.
#5 0x0000000000eaa704 in RunFrame () at /home/x570/git/2ship2harkinian/mm/src/code/graph.c:415
freq = 56016544
gfxCtx = {polyOpaBuffer = 0x5303450, polyXluBuffer = 0x7fffffff48df, unk_8 = "\360H\377\377\377\177\000",
overlayBuffer = 0x1549005 <std::_Sp_counted_ptr_inplace<std::__future_base::_State_baseV2, std::allocator<void>, (__gnu_cxx::_Lock_policy)2>::_M_destroy()+89>, unk_14 = 4294920432,
unk_18 = "\377\177\000\000P40\005\000\000\000\000\337H\377\377\377\177\000\000P40\005\000\000\000\000`40\005", msgBuff = {{data8 = 96 '`', data16 = 13408, data32 = 87045216, ptr = 0x5303460}, {
data8 = 223 '\337', data16 = 18655, data32 = 4294920415, ptr = 0x7fffffff48df}, {data8 = 96 '`', data16 = 13408, data32 = 87045216, ptr = 0x5303460}, {data8 = 96 '`', data16 = 18784,
data32 = 4294920544, ptr = 0x7fffffff4960}, {data8 = 236 '\354', data16 = 9964, data32 = 13182700, ptr = 0xc926ec <std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_release()+162>}, {
data8 = 0 '\000', data16 = 0, data32 = 0, ptr = 0x0}, {data8 = 80 'P', data16 = 13392, data32 = 87045200, ptr = 0x5303450}, {data8 = 48 '0', data16 = 18736, data32 = 4294920496,
ptr = 0x7fffffff4930}}, schedMsgQ = 0x153a0ac <std::unique_ptr<std::__future_base::_Result_base, std::__future_base::_Result_base::_Deleter>::operator*() const+62>, queue = {mtqueue = 0x1,
fullqueue = 0x5303468, validCount = -46704, first = 32767, msgCount = 22252417, msg = 0x5303458}, unk_74 = "\001\000\000", task = {next = 0x20ffff4970, state = 32, flags = 16843008,
framebuffer = 0x7fffffff4980, list = {t = {type = 13196539, flags = 0, ucode_boot = 0x1ffff4990, ucode_boot_size = 4294962720, ucode = 0x2, ucode_size = 87092432, ucode_data = 0x7fffffff49d0,
ucode_data_size = 31, dram_stack = 0x1, dram_stack_size = 0, output_buff = 0x7fffffff4a00, output_buff_size = 0x7ffff7b022bc <operator new(unsigned long)+28>, data_ptr = 0x1f,
data_size = 13199043, yield_data_ptr = 0x7fffffff4a00, yield_data_size = 0}, force_structure_alignment = 13196539}, msgQ = 0x1f, msg = {data8 = 176 '\260', data16 = 19376, data32 = 4294921136,
ptr = 0x7fffffff4bb0}},
unk_D0 = "\340\3540\005\377\377\377\377\260K\377\377\377\177\000\000PJ\377\377\377\177\000\000\355 \311\000\000\000\000\000\037\000\000\000\000\000\000\000\036\000\000\000\000\000\000\000\370ф\001\000\000\000\000\220\0020\005\000\000\000\000`J\377\377\377\177\000\000\3216\311\000\000\000\000\000\260K\377\377\377\177\000\000 \356\377\377\377\377\377\377\002\000\000\000\000\000\000\000\200\0020\005\000\000\000\000\240J\377\377\377\177\000\000\316=\177\367\377\177\000\000\036\000\000\000\000\000\000\000\177\000\000\000\000\000\000\000\320z\277d\336XZb\220\0020\005\000\000\000\000\037", '\000' <repeats 15 times>, "\320J\377\377\377\177\000\000\305i\312\000\000\000\000\000\360J\377\377\377\177\000\000\037"..., workBuffer = 0x5300290, work = {{size = 140737488309168, start = 0x7fffffff4b30,
p = 0xc996ec <std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_destroy(unsigned long)+136>, d = 0x1e}, tha = {size = 140737488309168, start = 0x7fffffff4b30,
head = 0xc996ec <std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >::_M_destroy(unsigned long)+136>, tail = 0x1e}}, debugBuffer = 0x7fffffff4bb0, debug = {{size = 0,
start = 0x7fffffff4b48, p = 0x7fffffff4b20, d = 0x7fffffff4c38}, tha = {size = 0, start = 0x7fffffff4b48, head = 0x7fffffff4b20, tail = 0x7fffffff4c38}},
unk_1C8 = "0K\377\377\377\177\000\000\213\273M\001\000\000\000\000PK\377\377\377\177\000\0000L\377\377\377\177\000\000PK\377\377\377\177\000\000`\273M\001\000\000\000\000\370ф\001\000\000\000\0000L\377\377\377\177\000\000pK\377\377\377\177\000\000\252\273M\001", '\000' <repeats 12 times>, "0L\377\377\377\177\000\000\000L\377\377\377\177\000\000\326\177M\001\000\000\000\000\200'\300\272\377\177\000\000\240\276V\003\000\000\000\000\200\034W\003\377\377\377\377\240\276V\003\000\000\000\000\320K\377\377\377\177\000\000\214\025F\001\000\000\000\000\220\0020\005\377\377\377\377\240\276V\003", viMode = 0xffffffff0356bea8,
zbuffer = 0x356bea8, unk_27C = "\360K\377\377\377\177\000\000\025GF\001\000\000\000\000\b9Q\003\377\377\377\377\250\276V\003", overlay = {{size = 56016552, start = 0x100000001, p = 0x200356bf18,
d = 0x10101ff00000020}, tha = {size = 56016552, start = 0x100000001, head = 0x200356bf18, tail = 0x10101ff00000020}}, polyOpa = {{size = 140737488309296,
start = 0xc95cfb <std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count()+39>, p = 0x356bf10, d = 0x7fffffff4c98}, tha = {size = 140737488309296,
start = 0xc95cfb <std::__shared_count<(__gnu_cxx::_Lock_policy)2>::~__shared_count()+39>, head = 0x356bf10, tail = 0x7fffffff4c98}}, polyXlu = {{size = 140737488309328,
start = 0xc93bfc <std::__shared_ptr<Ship::Context, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr()+28>, p = 0x356bf10, d = 0x7fffffff4c90}, tha = {size = 140737488309328,
--Type <RET> for more, q to quit, c to continue without paging--
start = 0xc93bfc <std::__shared_ptr<Ship::Context, (__gnu_cxx::_Lock_policy)2>::~__shared_ptr()+28>, head = 0x356bf10, tail = 0x7fffffff4c90}}, gfxPoolIdx = 4294921328,
curFrameBuffer = 0xc93c18 <std::shared_ptr<Ship::Context>::~shared_ptr()+24>, unk_2D0 = "\260\276V\003", viConfigFeatures = 0, unk_2D8 = "\220L", updateViMode = 255 '\377',
framebufferIndex = 255 '\377', callback = 0x7fffffff4cb0, callbackArg = 0x14e44db <WindowIsRunning()+105>, xScale = 4.06230873e-36, yScale = 0, masterList = 0x4acca90}
nextOvl = 0x2c3ea80 <gGameStateOverlayTable>
ovl = <optimized out>
gameState = <optimized out>
size = 111232
pad = {1, 0}
#6 0x0000000000eaa79b in Graph_ThreadEntry (arg0=0x0) at /home/x570/git/2ship2harkinian/mm/src/code/graph.c:437
No locals.
#7 0x0000000000eaba5d in main (argc=1, argv=0x7fffffff4e38) at /home/x570/git/2ship2harkinian/mm/src/code/main.c:118
fb = <optimized out>
sysHeap = 140736290881552
exit = 32767
msg = 0x3538fe8 <resourceVersions+8>
Description of the crash:
Segmentation fault with log dumped to STDOUT/STDERR. A "2ship has crashed" window pops up but no main rendering window does.
Can you reproduce? If so please list the steps:
chmod +x
, stuff a ROM in CWDScreenshots or videos:
N/A
Logs:
System Information:
2ship2harkinian.json
)sha256 efb1365b3ae362604514c0f9a1a2d11f5dc8688ba5be660a37debf5e3be43f2b
Additional Information: