Search Issue Tracker

Fixed

Fixed in 2021.3.25f1, 2022.2.18f1, 2023.1.0b13, 2023.2.0a5

Votes

0

Found in

2023.1.0a13

2023.2.0a1

Issue ID

UUM-16015

Regression

No

[Linux] [Crash] [AMD] Undocking the Game view crashes the Editor

--

-

Repro Steps:
# Create and open a new project
# Undock the game view (might need to redock and undock a few tries to get this to repro)

Expected results: The Editor doesn't crash

Reproducible on: 2023.1.0a13, 2022.2.0b9, 2022.1.18f1, 2021.3.11f1

 

Notes:
- Not reproducible on Windows or MacOS.
- Not reproducible with NVIDIA GPU's

Stack trace:
{code:java}
Thread 1 "Unity" received signal SIGINT, Interrupt.
0x00007ffff2a6199f in __GI___poll (fds=0x7fffffffd428, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
29    ../sysdeps/unix/sysv/linux/poll.c: No such file or directory.
(gdb) bt
#0  0x00007ffff2a6199f in __GI___poll (fds=0x7fffffffd428, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007ffff2660c1a in ?? () from /lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ffff2662a02 in xcb_wait_for_special_event () from /lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fff94fe2aa6 in glPrimitiveBoundingBox () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#4  0x00007fff94fe3e4a in glPrimitiveBoundingBox () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#5  0x00007fff94fe552c in glPrimitiveBoundingBox () from /lib/x86_64-linux-gnu/libGLX_mesa.so.0
#6  0x00007fff8261863e in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#7  0x00007fff826d8e0b in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#8  0x00007fff826d8e74 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#9  0x0000555559fd3204 in WaitAndClear () at ./PlatformDependent/Linux/GLContextLinux.cpp:107
#10 SetupDefaultContextState (context=..., setMultiThreaded=<optimized out>) at ./PlatformDependent/Linux/GLContextLinux.cpp:203
#11 0x0000555559fd3143 in MakeNewContextGL (level=<optimized out>, window=62915278, width=<optimized out>, height=<optimized out>, fullscreen=<optimized out>, doubleBuffer=<optimized out>, pbuffer=<optimized out>, depthTexture=<optimized out>, depthFormat=<optimized out>) at ./PlatformDependent/Linux/GLContextLinux.cpp:87
#12 0x0000555559fd3320 in SetupGraphicsContextFromWindow (window=62915278, width=<optimized out>, height=<optimized out>, enableStereo=@0x7fffffffd75f: false) at ./PlatformDependent/Linux/GLContextLinux.cpp:98
#13 0x000055555a104ce1 in WindowGLES::Reshape (this=0x55555edb9830, width=<optimized out>, height=<optimized out>, depthFormat=<optimized out>, hdr=<optimized out>) at ./Runtime/GfxDevice/opengles/WindowGLES.cpp:66
#14 0x000055555a104b9b in WindowGLES::WindowGLES (this=0x55555edb9830, window=<optimized out>, width=1, height=1, depthFormat=kFormatD24_UNorm_S8_UInt, hdr=false) at ./Runtime/GfxDevice/opengles/WindowGLES.cpp:24
#15 0x000055555a0dd16e in GfxDeviceGLES::CreateGfxWindow (this=<optimized out>, window=1, width=-1, height=-223995489, depthStencilFormat=kFormatNone, hdr=176) at ./Runtime/GfxDevice/opengles/GfxDeviceGLES.cpp:3809
#16 0x000055555bf2680b in GUIView::CreateGfxWindow (this=0x55555ecbfec0) at ./Editor/Platform/Linux/GUIView.cpp:755
#17 0x000055555bf2d240 in OnGUIViewMap (view=0x55555ecbfec0, event=<optimized out>) at ./Editor/Platform/Linux/GUIView.cpp:1969
#18 0x00007ffff38ac36f in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#19 0x00007ffff316ba56 in ?? () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#20 0x00007ffff3189df1 in g_signal_emit_valist () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff318b0f3 in g_signal_emit () from /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff38569b3 in ?? () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#23 0x00007ffff371400a in gtk_main_do_event () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#24 0x00007ffff33fcf69 in ?? () from /lib/x86_64-linux-gnu/libgdk-3.so.0
#25 0x00007ffff34300f6 in ?? () from /lib/x86_64-linux-gnu/libgdk-3.so.0
#26 0x00007ffff307e17d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007ffff307e400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007ffff307e6f3 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007ffff371312d in gtk_main () from /lib/x86_64-linux-gnu/libgtk-3.so.0
#30 0x000055555bf4f4ab in main (argc=<optimized out>, argv=<optimized out>) at ./Editor/Platform/Linux/main.cpp:535
(gdb)  {code}

  1. Resolution Note (fix version 2023.2.0a5):

    Verified the fix has landed to trunk 2023.2.0a6 with Rocky Linux 8.7

  2. Resolution Note (fix version 2023.1.0b13):

    Verified the fix has landed to 2023.1.0b14 with Rocky Linux 8.7 using AMD Radeon GFX

  3. Resolution Note (fix version 2022.2.18f1):

    Verified the fix has landed to 2022.2.18f1 with Ubuntu 22 and AMD gpu's

  4. Resolution Note (fix version 2021.3.25f1):

    Verified the fix has landed to 2021.3.25f1 with Rocky Linux 8.7 using an AMD gpu

Add comment

Log in to post comment

All about bugs

View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.