HarbourMasters / HarbourMasters/Ghostship

Crash on Closing game

Open
#172 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
C
Stars
749
Forks
51
Avg merge
15h 39m
Merged PRs (30d)
29

Description

### Description of the crash:
Closing the game causes a Crash and launches Windows "program is not responding" window.

### Can you reproduce? If so please list the steps:
Yes, here are the steps to reproduce the crash:
- Start the game
- Try to close it
- Crash

### Logs:
[14:45:55.524] [Engine.cpp:200] [info] Starting Ghostship version Dutchman Charlie (1.0.2) (Branch: | Commit: b9cb71f)
[14:45:55.525] [ArchiveManager.cpp:240] [info] Reading archive: C:\Users\olivi\Desktop\PC Port and Decomp\Ghostship-Dutchman-Charlie-Win64\sm64.o2r
[14:45:55.673] [ArchiveManager.cpp:272] [info] Adding Archive C:\Users\olivi\Desktop\PC Port and Decomp\Ghostship-Dutchman-Charlie-Win64\sm64.o2r to Archive Manager
[14:45:55.676] [ArchiveManager.cpp:240] [info] Reading archive: C:\Users\olivi\Desktop\PC Port and Decomp\Ghostship-Dutchman-Charlie-Win64\ghostship.o2r
[14:45:55.676] [ArchiveManager.cpp:272] [info] Adding Archive C:\Users\olivi\Desktop\PC Port and Decomp\Ghostship-Dutchman-Charlie-Win64\ghostship.o2r to Archive Manager
[14:45:55.821] [os.cpp:21] [info] Added SDL game controllers from "./gamecontrollerdb.txt" (847)
[14:45:56.106] [GenericArrayFactory.cpp:18] [info] GenericArray Type Num: 7
[14:45:56.106] [GenericArrayFactory.cpp:22] [info] GenericArray Count: 60
[14:45:56.106] [GenericArrayFactory.cpp:18] [info] GenericArray Type Num: 7
[14:45:56.106] [GenericArrayFactory.cpp:22] [info] GenericArray Count: 48
[14:45:57.703] [ResourceManager.cpp:65] [info] destruct ResourceManager

### System Information:
- OS: Windows 10 22h2
- GFX Backend: DirectX11
- Game Version: Normal USA Version
- Rom Version: Normal USA Version

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the Windows 10 crash by starting and closing the game, then compare the shutdown output with the supplied log. Begin with the shutdown-related code in Engine.cpp and ResourceManager.cpp, and check the os.cpp platform setup; use the closing behavior and absence of the crash as the completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop, game-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.