godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
88.85k stars 20.15k forks source link

Crash when re-importing model with AnimationPlayer open #95769

Open geowarin opened 3 weeks ago

geowarin commented 3 weeks ago

Tested versions

v4.3.stable.official [77dcf97d8]

System information

Linux 4.3 stable - Vulkan

Issue description

Re-importing a model with the AnimationPlayer open crashes the editor.

Steps to reproduce

https://github.com/user-attachments/assets/c474b0a0-afdd-4147-af7e-775e0c2d54c5

Minimal reproduction project (MRP)

crash.zip

Calinou commented 3 weeks ago

I can confirm this on 4.4.dev 1bd740d18d714f815486b04bf4c6154ef6c355d9 (Linux).

The crash does not occur if the AnimationPlayer bottom panel is shown but no node is selected when reimporting.

Backtrace:

handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.4.dev.custom_build (1bd740d18d714f815486b04bf4c6154ef6c355d9)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib64/libc.so.6(+0x40d00) [0x7ff0c264fd00] (??:0)
[2] bin/godot.linuxbsd.editor.x86_64() [0x6a132e6] (/home/hugo/Documents/Git/godotengine/godot/./core/templates/hash_map.h:100)
[3] bin/godot.linuxbsd.editor.x86_64() [0x69adae6] (/home/hugo/Documents/Git/godotengine/godot/./core/templates/hash_map.h:310)
[4] bin/godot.linuxbsd.editor.x86_64() [0x501deee] (/home/hugo/Documents/Git/godotengine/godot/./core/string/string_name.h:187)
[5] bin/godot.linuxbsd.editor.x86_64() [0x50a2b04] (/home/hugo/Documents/Git/godotengine/godot/./core/variant/binder_common.h:304 (discriminator 2))
[6] bin/godot.linuxbsd.editor.x86_64() [0x509ef7f] (/home/hugo/Documents/Git/godotengine/godot/./core/variant/binder_common.h:419)
[7] bin/godot.linuxbsd.editor.x86_64() [0x5090d4a] (/home/hugo/Documents/Git/godotengine/godot/./core/object/callable_method_pointer.h:104)
[8] bin/godot.linuxbsd.editor.x86_64() [0x946669b] (/home/hugo/Documents/Git/godotengine/godot/./core/variant/callable.cpp:57)
[9] bin/godot.linuxbsd.editor.x86_64() [0x9998f41] (/home/hugo/Documents/Git/godotengine/godot/./core/object/message_queue.cpp:221)
[10] bin/godot.linuxbsd.editor.x86_64() [0x99992ef] (/home/hugo/Documents/Git/godotengine/godot/./core/object/message_queue.cpp:270)
[11] bin/godot.linuxbsd.editor.x86_64() [0x5b8c1c4] (/home/hugo/Documents/Git/godotengine/godot/./scene/main/scene_tree.cpp:540)
[12] bin/godot.linuxbsd.editor.x86_64() [0x2bb96ba] (/home/hugo/Documents/Git/godotengine/godot/main/main.cpp:4177 (discriminator 3))
[13] bin/godot.linuxbsd.editor.x86_64() [0x4aeabe3] (/home/hugo/Documents/Git/godotengine/godot/./editor/progress_dialog.cpp:135)
[14] bin/godot.linuxbsd.editor.x86_64() [0x4aeb61f] (/home/hugo/Documents/Git/godotengine/godot/./editor/progress_dialog.cpp:223)
[15] bin/godot.linuxbsd.editor.x86_64() [0x47dbb58] (/home/hugo/Documents/Git/godotengine/godot/./editor/editor_node.cpp:4910)
[16] bin/godot.linuxbsd.editor.x86_64() [0x433171c] (/home/hugo/Documents/Git/godotengine/godot/./editor/editor_node.h:959)
[17] bin/godot.linuxbsd.editor.x86_64() [0x47e8e46] (/home/hugo/Documents/Git/godotengine/godot/./editor/editor_node.cpp:6292 (discriminator 5))
[18] bin/godot.linuxbsd.editor.x86_64() [0x47b59ae] (/home/hugo/Documents/Git/godotengine/godot/./editor/editor_node.cpp:1093)
[19] bin/godot.linuxbsd.editor.x86_64() [0x4890e16] (/home/hugo/Documents/Git/godotengine/godot/./core/templates/vector.h:291)
[20] bin/godot.linuxbsd.editor.x86_64() [0x488533c] (/home/hugo/Documents/Git/godotengine/godot/./core/variant/binder_common.h:419)
[21] bin/godot.linuxbsd.editor.x86_64() [0x486ab90] (/home/hugo/Documents/Git/godotengine/godot/./core/object/callable_method_pointer.h:104)
[22] bin/godot.linuxbsd.editor.x86_64() [0x946669b] (/home/hugo/Documents/Git/godotengine/godot/./core/variant/callable.cpp:57)
[23] bin/godot.linuxbsd.editor.x86_64() [0x99a52bd] (/home/hugo/Documents/Git/godotengine/godot/./core/object/object.cpp:1188)
[24] bin/godot.linuxbsd.editor.x86_64() [0x5ae3ba8] (/home/hugo/Documents/Git/godotengine/godot/./scene/main/node.cpp:3924)
[25] bin/godot.linuxbsd.editor.x86_64() [0x46e3ced] (/home/hugo/Documents/Git/godotengine/godot/./core/object/object.h:936)
[26] bin/godot.linuxbsd.editor.x86_64() [0x46797d1] (/home/hugo/Documents/Git/godotengine/godot/./core/templates/vector.h:291)
[27] bin/godot.linuxbsd.editor.x86_64() [0x4a9a72c] (/home/hugo/Documents/Git/godotengine/godot/./editor/import_dock.cpp:691)
[28] bin/godot.linuxbsd.editor.x86_64() [0x4a98984] (/home/hugo/Documents/Git/godotengine/godot/./editor/import_dock.cpp:583)
[29] bin/godot.linuxbsd.editor.x86_64() [0x4a97c24] (/home/hugo/Documents/Git/godotengine/godot/./editor/import_dock.cpp:535)
[30] bin/godot.linuxbsd.editor.x86_64() [0x4ae38b6] (/home/hugo/Documents/Git/godotengine/godot/./core/variant/binder_common.h:309)
[31] bin/godot.linuxbsd.editor.x86_64() [0x4ae1511] (/home/hugo/Documents/Git/godotengine/godot/./core/variant/binder_common.h:419)
[32] bin/godot.linuxbsd.editor.x86_64() [0x4adb85a] (/home/hugo/Documents/Git/godotengine/godot/./core/object/callable_method_pointer.h:104)
[33] bin/godot.linuxbsd.editor.x86_64() [0x946669b] (/home/hugo/Documents/Git/godotengine/godot/./core/variant/callable.cpp:57)
[34] bin/godot.linuxbsd.editor.x86_64() [0x99a52bd] (/home/hugo/Documents/Git/godotengine/godot/./core/object/object.cpp:1188)
[35] bin/godot.linuxbsd.editor.x86_64() [0x5ae3ba8] (/home/hugo/Documents/Git/godotengine/godot/./scene/main/node.cpp:3924)
[36] bin/godot.linuxbsd.editor.x86_64() [0x359de88] (/home/hugo/Documents/Git/godotengine/godot/./core/object/object.h:936)
[37] bin/godot.linuxbsd.editor.x86_64() [0x5ca6209] (/home/hugo/Documents/Git/godotengine/godot/./scene/gui/base_button.cpp:138)
[38] bin/godot.linuxbsd.editor.x86_64() [0x5ca6a95] (/home/hugo/Documents/Git/godotengine/godot/./scene/gui/base_button.cpp:171)
[39] bin/godot.linuxbsd.editor.x86_64() [0x5ca5bbb] (/home/hugo/Documents/Git/godotengine/godot/./scene/gui/base_button.cpp:68 (discriminator 2))
[40] bin/godot.linuxbsd.editor.x86_64() [0x5da3a0a] (/home/hugo/Documents/Git/godotengine/godot/./scene/gui/control.cpp:1830)
[41] bin/godot.linuxbsd.editor.x86_64() [0x5baf927] (/home/hugo/Documents/Git/godotengine/godot/./scene/main/viewport.cpp:1571)
[42] bin/godot.linuxbsd.editor.x86_64() [0x5bb1620] (/home/hugo/Documents/Git/godotengine/godot/./scene/main/viewport.cpp:1837 (discriminator 2))
[43] bin/godot.linuxbsd.editor.x86_64() [0x5bbd884] (/home/hugo/Documents/Git/godotengine/godot/./scene/main/viewport.cpp:3259 (discriminator 2))
[44] bin/godot.linuxbsd.editor.x86_64() [0x5bec96d] (/home/hugo/Documents/Git/godotengine/godot/./scene/main/window.cpp:1680)
[45] bin/godot.linuxbsd.editor.x86_64() [0x5ca2824] (/home/hugo/Documents/Git/godotengine/godot/./core/variant/binder_common.h:304 (discriminator 2))
[46] bin/godot.linuxbsd.editor.x86_64() [0x5c8fbd4] (/home/hugo/Documents/Git/godotengine/godot/./core/variant/binder_common.h:419)
[47] bin/godot.linuxbsd.editor.x86_64() [0x5c76dac] (/home/hugo/Documents/Git/godotengine/godot/./core/object/callable_method_pointer.h:104)
[48] bin/godot.linuxbsd.editor.x86_64() [0x946669b] (/home/hugo/Documents/Git/godotengine/godot/./core/variant/callable.cpp:57)
[49] bin/godot.linuxbsd.editor.x86_64() [0x2b17c35] (/home/hugo/Documents/Git/godotengine/godot/./core/variant/variant.h:867)
[50] bin/godot.linuxbsd.editor.x86_64() [0x2aff29a] (/home/hugo/Documents/Git/godotengine/godot/platform/linuxbsd/x11/display_server_x11.cpp:4063 (discriminator 1))
[51] bin/godot.linuxbsd.editor.x86_64() [0x2afef90] (/home/hugo/Documents/Git/godotengine/godot/platform/linuxbsd/x11/display_server_x11.cpp:4040)
[52] bin/godot.linuxbsd.editor.x86_64() [0x93c985c] (/home/hugo/Documents/Git/godotengine/godot/./core/input/input.cpp:803)
[53] bin/godot.linuxbsd.editor.x86_64() [0x93cae2c] (/home/hugo/Documents/Git/godotengine/godot/./core/input/input.cpp:1084)
[54] bin/godot.linuxbsd.editor.x86_64() [0x2b05383] (/home/hugo/Documents/Git/godotengine/godot/./core/templates/local_vector.h:339)
[55] bin/godot.linuxbsd.editor.x86_64() [0x2ad4f48] (/home/hugo/Documents/Git/godotengine/godot/platform/linuxbsd/os_linuxbsd.cpp:960)
[56] bin/godot.linuxbsd.editor.x86_64() [0x2aca431] (/home/hugo/Documents/Git/godotengine/godot/platform/linuxbsd/godot_linuxbsd.cpp:85)
[57] /lib64/libc.so.6(+0x2a088) [0x7ff0c2639088] (??:0)
[58] /lib64/libc.so.6(__libc_start_main+0x8b) [0x7ff0c263914b] (??:0)
[59] bin/godot.linuxbsd.editor.x86_64() [0x2aca225] (??:?)
-- END OF BACKTRACE --
levidavidmurray commented 4 days ago

Similar occurrence on Windows, however I don't see an actual crash. The editor freezes and comes back after 5-10 minutes 🤔