godot icon indicating copy to clipboard operation
godot copied to clipboard

Crash when customizing editor Base/Accent color

Open giokhmaladze opened this issue 2 weeks ago • 2 comments

Tested versions

Reproducible in: 4.6.dev6

System information

Godot v4.6.dev4 - Fedora Linux 43 (Workstation Edition) on Wayland - Wayland display driver, Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 2060 (nvidia; 580.105.08) - AMD Ryzen 5 3600XT 6-Core Processor (12 threads) - 15.50 GiB memory

Issue description

Godot crashed after trying to customize editor Base/Accent color and checking how it looks several times in a row.

Crash log:

ERROR: Wayland client error code 24.
   at: _poll_events_thread (platform/linuxbsd/wayland/wayland_thread.cpp:3083)
ERROR: Caller thread can't call this function in this node (/root). Use call_deferred() or call_thread_group() instead.
   at: propagate_notification (scene/main/node.cpp:2597)

================================================================
handle_crash: Program crashed with signal 4
Engine version: Godot Engine v4.6.dev4.official (bd2ca13c6f3a5198eac035c855dcd1759e077313)
Dumping the backtrace. Please include this when reporting the bug on: https://github.com/godotengine/godot/issues
ERROR: Cannot create pipe from command: "addr2line" "0x4e1883" "0x7fcb3f90f2c0" "0x4da471" "0x41ff795" "0x5121423" "0x7fcb3f967464" "0x7fcb3f9ea5ac" "-e" "/home/gio/Downloads/Godot_v4.6-dev4_linux.x86_64(1)/Godot_v4.6-dev4_linux.x86_64" 2>/dev/null.
   at: execute (drivers/unix/os_unix.cpp:893)
[1] /lib64/libc.so.6(+0x1a2c0) [0x7fcb3f90f2c0] ()
[2] /home/gio/Downloads/Godot_v4.6-dev4_linux.x86_64(1)/Godot_v4.6-dev4_linux.x86_64() [0x4da471] ()
[3] /home/gio/Downloads/Godot_v4.6-dev4_linux.x86_64(1)/Godot_v4.6-dev4_linux.x86_64() [0x41ff795] ()
[4] /home/gio/Downloads/Godot_v4.6-dev4_linux.x86_64(1)/Godot_v4.6-dev4_linux.x86_64() [0x5121423] ()
[5] /lib64/libc.so.6(+0x72464) [0x7fcb3f967464] ()
[6] /lib64/libc.so.6(+0xf55ac) [0x7fcb3f9ea5ac] ()
-- END OF C++ BACKTRACE --
================================================================

I can reproduce it every time i try, though amount of iterations it takes to crash varies, it crashes when you change color ~15 times

This is reproducible on both modern and classic themes.

Steps to reproduce

  1. Go to Editor settings/Interface
  2. Change Editor settings/Interface/Accent color
  3. Click away (I click nearby on an option label itself)
  4. Wait for theme to update to new color
  5. Repeat it until application crashes

Minimal reproduction project (MRP)

giokhmaladze avatar Dec 07 '25 16:12 giokhmaladze

Repeat it until application crashes

Can you please tell how many times to repeat :D I tried like 20+ times and did not get any crash. Godot v4.6.dev6 - Windows 11 (build 26100) - Single-window, 2 monitors - OpenGL ES 3/ANGLE (Compatibility) - ANGLE (Intel, Intel(R) HD Graphics 620 (0x00005916) Direct3D11 vs_5_0 ps_5_0, D3D11-31.0.101.2115) - Intel(R) Core(TM) i3-7130U CPU @ 2.70GHz (4 threads) - 7.86 GiB memory

But there is another funny bug:

https://github.com/user-attachments/assets/d8bc62b5-d1ef-4c31-ac03-ddab868dc37b

arkology avatar Dec 08 '25 06:12 arkology

@arkology funny indeed, i couldn't reproduce that one :D

here is the video reproducing crash, it looks funny when i am trying to reproduce it on purpose, but it happened to me many times when i was just trying to customize my theme, as mentioned how many times it takes to change color to crash varies sometimes it happens sooner sometimes it doesn't 🤷‍♂️...

but if you can't reproduce it on windows maybe it's related to my environment linux/wayland...

https://github.com/user-attachments/assets/b89dbf33-4748-4a63-a21e-55bb9ccdc70c

here it's reproduced just by selecting colors, after 42 seconds it got frozen

https://github.com/user-attachments/assets/b7714721-f06e-4c84-83aa-fc5a9715cc53

it might be related to selecting new color while previous one is still being applied, i tested color pickers in other places and they doesn't seem to cause crash

giokhmaladze avatar Dec 08 '25 07:12 giokhmaladze

Similar to #113440, but I don't have the crash.

Godot v4.6.dev6 - Windows 10 (build 19045) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated Radeon RX 560 Series (Advanced Micro Devices, Inc.; 31.0.21912.14) - Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz (4 threads) - 15.93 ГиБ memory

JekSun97 avatar Dec 08 '25 18:12 JekSun97