godot: tree_exited signal callbacks are run in the editor even when the script is not "tool", can cause editor crash
Godot version: 3.1-stable_X11.64
OS/device including version: Solus 3.9999 Gnome Nvidia GTX 1050TI
Issue description:
Randomly when I switch between scenes Godot crashes, the only thing on the terminal when this happens is:
ERROR: _load: Condition ' !f ' is true. returned: ERR_CANT_OPEN
At: scene/resources/dynamic_font.cpp:149.
ERROR: _get_modified_time: Failed to get modified time for:
At: drivers/unix/file_access_unix.cpp:292.
ERROR: _load: No loader found for resource: res://
At: core/io/resource_loader.cpp:285.
malloc(): smallbin double linked list corrupted
I am using GLES2
Minimal reproduction project:
It’s not minimal but can give enough context mooncheeser source.zip
About this issue
- Original URL
- State: open
- Created 5 years ago
- Reactions: 3
- Comments: 17 (17 by maintainers)
I think that https://github.com/godotengine/godot-proposals/issues/214 would also solve this
A reproducible backtrace with your recipe;) https://github.com/godotengine/godot/issues/27125#issuecomment-473578498
I think I found the trigger for this crash, can you guys test the following @bojidar-bg and @capnm
tree_exited
signal to the root’squeue_free
method