-
-
Notifications
You must be signed in to change notification settings - Fork 21k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Crash when opening 160 scenes in EditorToaster::_error_handler_impl
when MessageQueue runs out of memory
#76820
Comments
Notes on things to try for the development team:
|
It's in the project's |
i got it debugging in vscode and visual studio to test and get more details
shows LOTS of this message in vscode when crashes half these files have id collisions too i don't think that is related tho because my original used 160 unique scenes and same problem i don't know what i am talking about but from call stack looks like it is doing infinite calls to EditorToaster::_error_handler when i get the exception
|
EditorToaster::_error_handler_impl
when MessageQueue runs out of memory
This might have been fixed for 4.1 with #75940 which made the MessageQueue growable. That being said we should still aim to prevent this infinite loop in EditorToaster and not use the toaster to display error messages that originate in itself (like this one about running out of memory). I think we might have one or more existing issues about this but don't have time to do a deep dive right now, so keeping this open. |
thanks ya seems fixed for me in a 4.1 build |
Godot version
v4.0.2.stable.official [7a0977c]
System information
Windows 11, Core i5-12400F, RX 6600
Issue description
i have a project with 80 animations, 80 animation scenes, and 80 test scenes
converting to 4 sometimes need to open a scene and save it to trigger a conversion
after doing this and reloading the program crashes and disappears with no message after showing all windows loading in title bar
so i made a simple test project and duplicated a bunch of windows, open them all and same insta-crash
is there some way to close windows from outside of godot? because it stuck in this state where it cannot open because too many windows open but cannot close windows because cannot open?
thanks
Steps to reproduce
Minimal reproduction project
https://github.com/rakkarage/TestWindows
The text was updated successfully, but these errors were encountered: