chickensoft-games / chickensoft-games/AutoInject
test: error messages from Godot when tests exit
Open
Nobody has claimed this yet.
- Dominant language
- C#
- Stars
- 237
- Forks
- 14
- Avg merge
- 6h 40m
- Merged PRs (30d)
- 6
Description
During local testing (on a Windows box) with AutoInject.Tests, at the time Godot exits, I get an error reading:
CLR: Assert failure(PID 9412 [0x000024c4], Thread: 27244 [0x6a6c]): !"Attempt to execute managed code after the .NET runtime thread state has been destroyed."
File: D:\a\_work\1\s\src\coreclr\vm\ceemain.cpp:1818 Image:
C:\Users\Mark\AppData\Roaming\godotenv\godot\bin\godot.exe
This error doesn't occur in the Ubuntu VM for the GH workflow, but there it reports:
WARNING: 13 RIDs of type "CanvasItem" were leaked.
at: _free_rids (servers/rendering/renderer_canvas_cull.cpp:2678)
WARNING: ObjectDB instances leaked at exit (run with --verbose for details).
at: cleanup (core/object/object.cpp:2514)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the AutoInject.Tests test run and reproduce the reported shutdown output on Windows and in the Ubuntu VM. Compare the Godot CLR assertion with the CanvasItem and ObjectDB leak warnings; done means identifying the test or shutdown path responsible and confirming clean exits in both environments.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp, godot
- Domain
- game-dev, testing
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100