-
-
Notifications
You must be signed in to change notification settings - Fork 21.6k
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
Silent crash while using a SubViewport #85155
Comments
I could reproduce the crash on Linux with the MRP, running the project multiple times in gdb.
It seems to be caused by the But this MRP still does a lot of things, would be good to split it further to only keep what's needed for the crash to happen. For example |
It's crashing on this line in Line 842 in fa1fb2a
Which doesn't make much sense as the MRP doesn't use any GDExtension. I added a test print around there, most of the time it's not printed, but when it crashes it does get printed (so
Data corruption? |
I have tested the MRP on Debian Linux X11
So it crashes in Godot even before #78634 was merged. |
GodotCrash.zip |
I tried a dozen times on Windows and can't reproduce it, maybe it's platform related? System Information: |
It may well be platform specific, or compiler specific yeah. I've tested this with GCC on Linux. |
When I tested the MRP, it also crashed with llvm on Linux. |
Maybe only slightly related, but since the crash mentions GDExtensions and Linux. Over on the Godot WebRTC-Native GDExtension GitHub page, we noticed a probably unrelated silent crash. Some conditions are similiar though (mainly, it only happens on Linux and that GDExtensions are more or less involved). (Here where the code crashes). The general error was a std::bad_cast but we now found out that it is an issue when multiple GDExtensions are loaded on Linux (specifically WebRTC-native + anything else). I didn't test without webrtc-native yet. TL:DR;: Silent crash has similiarities, thought I'd share. |
Godot version
4.2.rc1
System information
Godot v4.2.rc1 - Linux Mint 21.2 (Victoria) - X11 - Vulkan (Forward+) - dedicated AMD Unknown (RADV ICELAND) () - AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx (8 Threads)
Issue description
The code used on the minimal reproduction project, may crash randomly the game while starting to run on Debug mode
While developing the game, I saw these two kinds of crashes on the Godot logs
Steps to reproduce
Rerun the minimal reproduction project until it crashes
Minimal reproduction project
GodotCrash.zip
The text was updated successfully, but these errors were encountered: