You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Editor crashes on exit with extension loaded, after AHashMap sync (ce03221) #2024
Our extension registers a lot of classes, and now the editor consistently crashes at the very end of shutdown. Right before the crash I get: ERROR: Parameter "singleton" is null
followed by orphan StringName warnings (e.g. "Node"), then an access violation.
godot --headless --editor --quit --path test/project (godot master fb1821384, Win)
First run crashes right at the end of shutdown, just after EditorSettings: Save OK!. Second run exits fine since the cache exists by then. Old godot-cpp versions crash the same way — when I tested different commits before, what actually changed between runs was whether a reimport happened, not the commit. And it doesn't crash without the extension.
The last thing in the log before the crash is the editor doc cache thread, so maybe a shutdown race with extension teardown.
Might be a godot problem rather than godot-cpp.
Activity
dsnopek commentedon Jul 25, 2026
Thanks!
However, I'm unable to reproduce this in a test project. Can you share your project or an MRP that demonstrates the issue?
Ivorforce commentedon Jul 26, 2026
Possibly related to #1900 and/or #2004
SneaK1ng commentedon Aug 1, 2026
Update: I got this wrong earlier...
the crash has nothing to do with any specific godot-cpp commit. The real trigger is the first editor scan.
can repro it with any test project:
Build test/
(master, MSVC, scons platform=windows target=template_debug)
Delete test/project/.godot
godot --headless --editor --quit --path test/project (godot master fb1821384, Win)
First run crashes right at the end of shutdown, just after EditorSettings: Save OK!. Second run exits fine since the cache exists by then. Old godot-cpp versions crash the same way — when I tested different commits before, what actually changed between runs was whether a reimport happened, not the commit. And it doesn't crash without the extension.
The last thing in the log before the crash is the editor doc cache thread, so maybe a shutdown race with extension teardown.
Might be a godot problem rather than godot-cpp.
Ivorforce commentedon Aug 1, 2026
Good to know! That makes it really likely it's the same as #1900, which I've tracked down to the same issue.
2shady4u commentedon Aug 1, 2026
I am facing the same issue.