-
-
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
Godot crashes on project load in QuickHull::build #16560
Comments
Thanks for the report, I can reproduce the crash with the attached project, and go this backtrace (with debug symbols):
|
It seems that here:
Won't debug further in the coming days, so anyone is free to pick it from there. There's likely something invalid in the attached project which triggers the crash, so two things need to be fixed:
@danielwray Can you give more details regarding how you built this demo project? |
Hi Akien, I received errors in the debug console while setting up the scene and this appears to be due to exporting a OBJ mesh from Blender with 'n-gons', and then applying a convex static body via the Mesh drop-down in the 3D view. I do not know if this is the root cause, however the errors do appear to be reference a similar part of the code that I would assume is responsible for creating a mesh hull. When converting the obj to a triangulated mesh this appears to resolve the error scene in the image, however I cannot get the scene to fail to load like the original setup. |
See also #17069 for an additional scene that reproduces the issue. |
I have the same problem with my scene Started digging deeper with
And the values of
which is weird because at the start of the loop
Looks like |
Still happening ! Lost 1 hour during the ludum dare :( |
See also #17569 for detailed steps to reproduce this crash (at least it looks related). |
In the meantime, and if your project still loads, I recommend roughing out collisionshapes with cubes on anything cylindrical. |
We delete the faces for consideration in this loop but we can still sometimes find an edge that connects to this face. We now interate over all edges and disconnect edges connecting to this face. This fixes godotengine#16560 and fixes godotengine#17569
We delete the faces for consideration in this loop but we can still sometimes find an edge that connects to this face. We now interate over all edges and disconnect edges connecting to this face. This fixes godotengine#16560 and fixes godotengine#17569
We delete the faces for consideration in this loop but we can still sometimes find an edge that connects to this face. We now interate over all edges and disconnect edges connecting to this face. This fixes godotengine#16560 and fixes godotengine#17569 (cherry picked from commit 33669a8)
Godot version:
3.0.stable.official
Godot_v3.0-stable_x11.64
OS/device including version:
Fedora 27 x64
Linux 4.14.16-300.fc27.x86_64 #1 SMP Wed Jan 31 19:24:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
Issue description:
Loading Godot project returns several errors and crashes out with the following:
./Godot_v3.0-stable_x11.64 -v
No touch devices found
PulseAudio: detected 2 channels
PulseAudio: audio buffer frames: 512 calculated latency: 11ms
Using GLES3 video driver
OpenGL ES 3.0 Renderer: AMD TAHITI (DRM 2.50.0 / 4.14.16-300.fc27.x86_64, LLVM 5.0.0)
GLES3: max ubo light: 409
GLES3: max ubo reflections: 455, ubo size: 144
ARVR: Registered interface: Native mobile
CORE API HASH: -5322839590168703562
EDITOR API HASH: 1130500531728179788
load resource: /home/xxx/.config/godot/editor_settings-3.tres
EditorSettings: Load OK!
EditorSettings Save OK!
FPS: 1
FPS: 79
OPENING: /home/xxx/game_development/physics_demos (::home::xxx::game_development::physics_demos)
EditorSettings Save OK!
OpenGL ES 3.0 Renderer: AMD TAHITI (DRM 2.50.0 / 4.14.16-300.fc27.x86_64, LLVM 5.0.0)
GLES3: max ubo light: 409
GLES3: max ubo reflections: 455, ubo size: 144
ARVR: Registered interface: Native mobile
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' !F ' is true. Continuing..:
At: core/math/quick_hull.cpp:399.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' !F2 ' is true. Continuing..:
At: core/math/quick_hull.cpp:430.
ERROR: build: Condition ' !F2 ' is true. Continuing..:
At: core/math/quick_hull.cpp:430.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' !F ' is true. Continuing..:
At: core/math/quick_hull.cpp:399.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' !F2 ' is true. Continuing..:
At: core/math/quick_hull.cpp:430.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' !F2 ' is true. Continuing..:
At: core/math/quick_hull.cpp:430.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' !F2 ' is true. Continuing..:
At: core/math/quick_hull.cpp:430.
ERROR: build: Condition ' !F ' is true. Continuing..:
At: core/math/quick_hull.cpp:399.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' !F2 ' is true. Continuing..:
At: core/math/quick_hull.cpp:430.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' !F2 ' is true. Continuing..:
At: core/math/quick_hull.cpp:430.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' !F2 ' is true. Continuing..:
At: core/math/quick_hull.cpp:430.
ERROR: build: Condition ' !F2 ' is true. Continuing..:
At: core/math/quick_hull.cpp:430.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' O == __null ' is true. Continuing..:
At: core/math/quick_hull.cpp:403.
ERROR: build: Condition ' !F ' is true. Continuing..:
At: core/math/quick_hull.cpp:399.
ERROR: build: Condition ' !F2 ' is true. Continuing..:
At: core/math/quick_hull.cpp:430.
ERROR: build: Condition ' !F2 ' is true. Continuing..:
At: core/math/quick_hull.cpp:430.
ERROR: build: Condition ' !F2 ' is true. Continuing..:
At: core/math/quick_hull.cpp:430.
ERROR: operator[]: FATAL: Index p_index=2 out of size (size()=0)
At: core/vector.h:138.
handle_crash: Program crashed with signal 4
Dumping the backtrace. Please include this when reporting the bug on https://github.com/godotengine/godot/issues
[1] /lib64/libc.so.6(+0x376f0) [0x7f48ba4bf6f0] (??:0)
[2] /home/xxx/godot/Godot_v3.0-stable_x11.64() [0x493ba7] (??:?)
[3] /home/xxx/godot/Godot_v3.0-stable_x11.64() [0x1af8adf] (??:?)
[4] /home/xxx/godot/Godot_v3.0-stable_x11.64() [0xaccca4] (??:?)
[5] /home/xxx/godot/Godot_v3.0-stable_x11.64() [0x108c808] (??:?)
[6] /home/xxx/godot/Godot_v3.0-stable_x11.64() [0xcc5849] (:?)
[7] /home/xxx/godot/Godot_v3.0-stable_x11.64() [0x4f03e8] (??:?)
[8] /home/xxx/godot/Godot_v3.0-stable_x11.64() [0x1a06c29] (??:?)
[9] /home/xxx/godot/Godot_v3.0-stable_x11.64() [0x1b4550a] (??:?)
[10] /home/xxx/godot/Godot_v3.0-stable_x11.64() [0x176374f] (??:?)
[11] /home/xxx/godot/Godot_v3.0-stable_x11.64() [0xec75b3] (??:?)
[12] /home/xxx/godot/Godot_v3.0-stable_x11.64() [0x4c3c78] (??:?)
[13] /home/xxx/godot/Godot_v3.0-stable_x11.64() [0x452dad] (??:?)
[14] /lib64/libc.so.6(__libc_start_main+0xea) [0x7f48ba4a900a] (??:0)
[15] /home/xxx/godot/Godot_v3.0-stable_x11.64() [0x45e5ff] (??:?)
-- END OF BACKTRACE --
Steps to reproduce:
Load scene file (see attached)
physics_demos.zip
The text was updated successfully, but these errors were encountered: