HarbourMasters / HarbourMasters/Ghostship
Ghostship crashed after denying racing penguin and exiting the door after the slide.
- Dominant language
- C
- Stars
- 749
- Forks
- 51
- Avg merge
- 15h 39m
- Merged PRs (30d)
- 29
Description
Here is the log:
```
[10:15:17.650] [os.cpp:21] [info] Added SDL game controllers from "./gamecontrollerdb.txt" (0)
[10:15:17.987] [GenericArrayFactory.cpp:18] [info] GenericArray Type Num: 7
[10:15:17.987] [GenericArrayFactory.cpp:22] [info] GenericArray Count: 60
[10:15:17.987] [GenericArrayFactory.cpp:18] [info] GenericArray Type Num: 7
[10:15:17.987] [GenericArrayFactory.cpp:22] [info] GenericArray Count: 48
[10:15:55.209] [Fast3dWindow.cpp:47] [debug] destruct fast3dwindow
[10:15:55.231] [Window.cpp:29] [debug] destruct window
[10:15:55.231] [ResourceManager.cpp:65] [info] destruct ResourceManager
[10:16:07.879] [os.cpp:21] [info] Added SDL game controllers from "./gamecontrollerdb.txt" (0)
[10:16:08.250] [GenericArrayFactory.cpp:18] [info] GenericArray Type Num: 7
[10:16:08.250] [GenericArrayFactory.cpp:22] [info] GenericArray Count: 60
[10:16:08.250] [GenericArrayFactory.cpp:18] [info] GenericArray Type Num: 7
[10:16:08.250] [GenericArrayFactory.cpp:22] [info] GenericArray Count: 48
[10:16:39.348] [GenericArrayFactory.cpp:18] [info] GenericArray Type Num: 3
[10:16:39.348] [GenericArrayFactory.cpp:22] [info] GenericArray Count: 465
[10:21:16.914] [GenericArrayFactory.cpp:18] [info] GenericArray Type Num: 3
[10:21:16.914] [GenericArrayFactory.cpp:22] [info] GenericArray Count: 1265
[10:21:16.914] [GenericArrayFactory.cpp:18] [info] GenericArray Type Num: 3
[10:21:16.914] [GenericArrayFactory.cpp:22] [info] GenericArray Count: 949
[11:05:03.442] [CrashHandler.cpp:72] [critical] Signal: 11
INVALID ACCESS TO STORAGE
Registers:
RAX: 0xFFFFFFFFFFFFFFFF
RDI: 0x0000564B7C505800
RSI: 0x000000000000000A
RDX: 0x000000000000000F
RCX: 0x0000564B7C523460
R8: 0x0000000000000000
R9: 0x00007FDE37FFDA48
R10: 0x0000000000000000
R11: 0x0000000000000246
RSP: 0x00007FDE37FFDB70
RBX: 0x0000000000000001
RBP: 0x00007FDE37FFDB80
R12: 0x0000000000000020
R13: 0x0000000000000058
R14: 0x00007FFF8850A790
R15: 0x00007FDE36FFF000
RIP: 0x0000564B7B4B14DE
EFL: 0x0000000000010202
Traceback:
1 /lib/x86_64-linux-gnu/libc.so.6(+0x3fdf0) [0x7fdea1f59df0]
2 reclaim_notes (+0x85)
3 process_sequences (+0xB5)
4 synthesis_execute (+0x7D)
5 create_next_audio_buffer (+0x64)
6 GameEngine::HandleAudioThread() (+0x12E)
7 void std::__invoke_impl(std::__invoke_other, void (*&&)()) (+0x21)
8 std::__invoke_result::type std::__invoke(void (*&&)()) (+0x24)
9 void std::thread::_Invoker >::_M_invoke<0ul>(std::_Index_tuple<0ul>) (+0x2C)
10 std::thread::_Invoker >::operator()() (+0x1C)
11 std::thread::_State_impl > >::_M_run() (+0x20)
12 /lib/x86_64-linux-gnu/libstdc++.so.6(+0xe6ae4) [0x7fdea22e6ae4]
13 /lib/x86_64-linux-gnu/libc.so.6(+0x92b7b) [0x7fdea1facb7b]
14 /lib/x86_64-linux-gnu/libc.so.6(+0x1107b8) [0x7fdea202a7b8]
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported sequence and inspect the crash path from GameEngine::HandleAudioThread() through create_next_audio_buffer, synthesis_execute, process_sequences, and reclaim_notes. Use the provided Signal 11 traceback to narrow the invalid access; done means the sequence no longer crashes the audio thread.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- game-dev
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100