Skip to content
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 opening glb file #96869

Closed
marcosbitetti opened this issue Sep 11, 2024 · 2 comments · Fixed by #96880
Closed

crash opening glb file #96869

marcosbitetti opened this issue Sep 11, 2024 · 2 comments · Fixed by #96880

Comments

@marcosbitetti
Copy link

marcosbitetti commented Sep 11, 2024

Tested versions

4.4dev1 and 4.4dev2

System information

Godot v4.4.dev1 - Pop!_OS 22.04 LTS - X11 - Vulkan (Forward+) - dedicated NVIDIA GeForce GTX 1650 (nvidia; 555.58.02) - AMD Ryzen 7 2700 Eight-Core Processor (16 Threads)

Issue description

crash when open glb file. other glb file work fine.

Steps to reproduce

put glb on any folder and open engine. or just copy glb into project folder, importer crash

Minimal reproduction project (MRP)

crash.zip

console log

~/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64 --path ~/WildWitch/source -e
Godot Engine v4.4.dev1.official.28a72fa43 - https://godotengine.org
Vulkan 1.3.278 - Forward+ - Using Device #0: NVIDIA - NVIDIA GeForce GTX 1650
Requested V-Sync mode: Disabled


================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.4.dev1.official (28a72fa4344befeae251d8e9b11b84acd601a244)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7e315a842520] (??:0)
[2] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x45b60ad] (??:0)
[3] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x323e84c] (??:0)
[4] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x1842794] (??:0)
[5] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x1841b9b] (??:0)
[6] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x1849b9a] (??:0)
[7] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x1311112] (??:0)
[8] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x1314f29] (??:0)
[9] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x1318566] (??:0)
[10] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x131a023] (??:0)
[11] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x41fbc38] (??:0)
[12] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x2355fbc] (??:0)
[13] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x23b3083] (??:0)
[14] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x23b3679] (??:0)
[15] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x50cc8f] (??:0)
[16] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x41e5d2] (??:0)
[17] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7e315a829d90] (??:0)
[18] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x7e315a829e40] (??:0)
[19] /home/bitetti/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64() [0x43a64a] (??:0)
-- END OF BACKTRACE --
================================================================
[1]    9548 IOT instruction (core dumped)  ~/programacao/manage_godot/launch_versions/Godot_v4.4-dev1_linux.x86_64 --pat
@matheusmdx
Copy link
Contributor

Bisecting points to #94241 as the culprit, @zeux

image

Assertion failed warnings

Captura 2024-09-11 15-08-54-744210

Captura 2024-09-11 15-09-09-271005

Captura 2024-09-11 15-09-14-010386


Backtrace
================================================================
CrashHandlerException: Program crashed
Engine version: Godot Engine v4.4.dev.custom_build (7cef7a062e53ccf9c25efd4acd62dd1c861d435a)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[0] meshopt_optimizeVertexCacheTable (C:\Users\Matheus\Downloads\Godot Source\thirdparty\meshoptimizer\vcacheoptimizer.cpp:274)
[1] meshopt_optimizeVertexCacheTable (C:\Users\Matheus\Downloads\Godot Source\thirdparty\meshoptimizer\vcacheoptimizer.cpp:274)
[2] meshopt_optimizeVertexCache (C:\Users\Matheus\Downloads\Godot Source\thirdparty\meshoptimizer\vcacheoptimizer.cpp:353)
[3] ImporterMesh::create_shadow_mesh (C:\Users\Matheus\Downloads\Godot Source\scene\resources\3d\importer_mesh.cpp:856)
[4] ResourceImporterScene::_generate_meshes (C:\Users\Matheus\Downloads\Godot Source\editor\import\3d\resource_importer_scene.cpp:2555)
[5] ResourceImporterScene::_generate_meshes (C:\Users\Matheus\Downloads\Godot Source\editor\import\3d\resource_importer_scene.cpp:2617)
[6] ResourceImporterScene::import (C:\Users\Matheus\Downloads\Godot Source\editor\import\3d\resource_importer_scene.cpp:3044)
[7] EditorFileSystem::_reimport_file (C:\Users\Matheus\Downloads\Godot Source\editor\editor_file_system.cpp:2469)
[8] EditorFileSystem::reimport_files (C:\Users\Matheus\Downloads\Godot Source\editor\editor_file_system.cpp:2758)
[9] EditorFileSystem::_update_scan_actions (C:\Users\Matheus\Downloads\Godot Source\editor\editor_file_system.cpp:803)
[10] EditorFileSystem::_notification (C:\Users\Matheus\Downloads\Godot Source\editor\editor_file_system.cpp:1472)
[11] EditorFileSystem::_notificationv (C:\Users\Matheus\Downloads\Godot Source\editor\editor_file_system.h:141)
[12] Object::notification (C:\Users\Matheus\Downloads\Godot Source\core\object\object.cpp:873)
[13] SceneTree::_process_group (C:\Users\Matheus\Downloads\Godot Source\scene\main\scene_tree.cpp:1023)
[14] SceneTree::_process (C:\Users\Matheus\Downloads\Godot Source\scene\main\scene_tree.cpp:1100)
[15] SceneTree::process (C:\Users\Matheus\Downloads\Godot Source\scene\main\scene_tree.cpp:582)
[16] Main::iteration (C:\Users\Matheus\Downloads\Godot Source\main\main.cpp:4221)
[17] OS_Windows::run (C:\Users\Matheus\Downloads\Godot Source\platform\windows\os_windows.cpp:1666)
[18] widechar_main (C:\Users\Matheus\Downloads\Godot Source\platform\windows\godot_windows.cpp:181)
[19] _main (C:\Users\Matheus\Downloads\Godot Source\platform\windows\godot_windows.cpp:206)
[20] main (C:\Users\Matheus\Downloads\Godot Source\platform\windows\godot_windows.cpp:220)
[21] WinMain (C:\Users\Matheus\Downloads\Godot Source\platform\windows\godot_windows.cpp:234)
[22] __scrt_common_main_seh (D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
[23] <couldn't map PC to fn name>
-- END OF BACKTRACE --
================================================================

@zeux
Copy link
Contributor

zeux commented Sep 11, 2024

I can reproduce this, will take a look.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants