godot: Segfault on project load due to generating thumbnail for a Gradient2D.tres texture file
Godot version
Godot 4.0 dev
System information
Arch Linux + X11 + Radeon RX6800XT
Issue description
Yesterday suddenly Godot editor crashed and I am no longer able to load my project. It segfaults every time when I load it - sometimes immediatelly, sometimes after a few seconds.
Here’s is the backtrace:
#0 RefCounted::reference (this=this@entry=0x1eff483e0bff) at core/object/ref_counted.cpp:59
#1 0x0000555556907f5d in Ref<Gradient>::ref (p_from=..., this=0x7fffffffdf38) at ./core/object/ref_counted.h:69
#2 Ref<Gradient>::ref (p_from=..., this=0x7fffffffdf38) at ./core/object/ref_counted.h:60
#3 Ref<Gradient>::Ref (p_from=..., this=0x7fffffffdf38) at ./core/object/ref_counted.h:177
#4 NoiseTexture2D::_generate_texture (this=0x7fff047f6660) at modules/noise/noise_texture_2d.cpp:164
#5 0x00005555569082c5 in NoiseTexture2D::_update_texture (this=0x7fff047f6660) at modules/noise/noise_texture_2d.cpp:208
#6 0x000055555616c879 in call_with_variant_args_helper<__UnexistingClass>(__UnexistingClass*, void (__UnexistingClass::*)(), Variant const**, Callable::CallError&, IndexSequence<>) (p_args=<synthetic pointer>, r_error=...,
p_method=<optimized out>, p_instance=<optimized out>) at ./core/variant/binder_common.h:262
#7 call_with_variant_args_dv<__UnexistingClass> (p_args=<optimized out>, default_values=..., r_error=..., p_argcount=<optimized out>, p_method=<optimized out>, p_instance=<optimized out>) at ./core/variant/binder_common.h:409
#8 MethodBindT<>::call(Object*, Variant const**, int, Callable::CallError&) const (this=<optimized out>, p_object=<optimized out>, p_args=<optimized out>, p_arg_count=<optimized out>, r_error=...) at ./core/object/method_bind.h:320
#9 0x0000555559ffd6b6 in Object::callp (this=0x7fff047f6660, p_method=..., p_args=0x0, p_argcount=<optimized out>, r_error=...) at core/object/object.cpp:733
#10 0x0000555559d2d987 in Callable::callp (this=this@entry=0x7fffea1e6038, p_arguments=p_arguments@entry=0x0, p_argcount=p_argcount@entry=0, r_return_value=..., r_call_error=...) at core/variant/callable.cpp:62
#11 0x0000555559ff8e69 in MessageQueue::_call_function (this=<optimized out>, p_callable=..., p_args=<optimized out>, p_argcount=0, p_show_error=<optimized out>) at core/object/message_queue.cpp:229
#12 0x0000555559ff91ac in MessageQueue::flush (this=0x55555d070550) at core/object/message_queue.cpp:275
#13 0x000055555814138f in SceneTree::physics_process (this=0x555560d4c850, p_time=0.016666666666666666) at scene/main/scene_tree.cpp:430
#14 0x000055555605781b in Main::iteration () at main/main.cpp:3163
#15 0x0000555555ff2b01 in OS_LinuxBSD::run (this=this@entry=0x7fffffffe2e0) at platform/linuxbsd/os_linuxbsd.cpp:878
#16 0x0000555555fe4f89 in main (argc=<optimized out>, argv=0x7fffffffe838) at platform/linuxbsd/godot_linuxbsd.cpp:73
Steps to reproduce
No idea 😕
Minimal reproduction project
I don’t have one 😕
About this issue
- Original URL
- State: open
- Created a year ago
- Comments: 17 (4 by maintainers)
Links to this issue
- 00mjk/Liblast: A Libre Multiplayer FPS Game built with Godot 4 engine and a fully open-source toolchain - Codeberg.org
- electron271/Liblast: A Libre Multiplayer FPS Game built with Godot 4 engine and a fully open-source toolchain - Liblast - Codeberg.org
- atulyaraaj/Liblast: A Libre Multiplayer FPS Game built with Godot 4 engine and a fully open-source toolchain - Codeberg.org
- electron271/Liblast: A Libre Multiplayer FPS Game built with Godot 4 engine and a fully open-source toolchain - Liblast - Codeberg.org
- Riteo/Liblast-clean: This is like the third attempt. I hope I'm not wasting too much bandwidth. - Liblast-clean - Codeberg.org
- Liblast/Legacy Assets at main - maksu/Liblast - Codeberg.org
This seems to be helping. I have deleted these two resources from my game project and it seems to to be crashing. CircleAlpha.zip