Search Issue Tracker
Fixed
Fixed in 2021.3.16f1, 2022.2.2f1, 2023.1.0a20
Votes
19
Found in
2021.3.7f1
Issue ID
UUM-11724
Regression
No
[Linux] Editor crashes at "DisconnectGtkSignal(void*, GtkCallbackResponse (*)(), void*)" when opening floating windows
How to reproduce:
# Create and open a new project
# Open the Build setting window by going to the menu bar: File > Build Settings…
# Observe the crash
Reproducible with: 2021.3.6f1, 2021.3.7f1
Reproducible on: Ubuntu 22.04, Manjaro, Fedora, Pop OS, Linux Mint
Not reproducible on: Windows 10, Ubuntu, 20.04
Notes:
# Could not reproduce the issue on any testing machines with Nvidia GPUs and no user reports list these GPUs indicating that the crash may be related to AMD and Intel GPUs. Could be caused by the Mesa drivers
# The crash is triggered by opening the “Build Settings“, “Preferences“, “Project Settings“, “Package Manager“ and “Color Picker“ windows, opening the “Add Component“ dropdown, adding a script to a Game Object or when creating a new script in the Project panel. There may be other unlisted actions that trigger the crash
# The top 8 lines of the stack trace below occur in all instances of this issue
Crash stack trace:
{noformat}#0 0x0055dbb0f040dc in burst_signal_handler(int, siginfo_t*, void*)
#1 0x007f15b6fcbe60 in funlockfile
#2 0x007f15b75bc2fd in g_type_check_instance
#3 0x007f15b75b1e7c in g_signal_handlers_disconnect_matched
#4 0x0055dbb24e5843 in DisconnectGtkSignal(void*, GtkCallbackResponse (*)(), void*)
#5 0x0055dbb1d9019d in MenuItem::~MenuItem()
#6 0x0055dbb1d94833 in RemoveItemFromMenu(std::list<MenuItem, std::allocator<MenuItem> >*, core::basic_string_ref<char>)
#7 0x0055dbb1d94873 in RemoveItemFromMenu(std::list<MenuItem, std::allocator<MenuItem> >*, core::basic_string_ref<char>)
#8 0x0055dbb1d946b3 in MenuController::RemoveMenuItem(core::basic_string_ref<char>)
#9 0x0055dbb224ec86 in RecentScenesMenu::Build()
#10 0x0055dbb224ebee in RecentScenesMenu::Update()
#11 0x0055dbb1d909aa in MenuController::UpdateAllMenus(bool)
#12 0x0055dbb24cb5b7 in OnActivated(MenuItem*)
#13 0x007f15b7599349 in g_closure_invoke
#14 0x007f15b75acaef in g_signal_handler_disconnect
#15 0x007f15b75b395f in g_signal_emit_valist
#16 0x007f15b75b3ab3 in g_signal_emit
#17 0x007f15b7cc7f9c in gtk_widget_activate
#18 0x007f15b7b80a26 in gtk_menu_shell_activate_item
#19 0x007f15b7b80d03 in gtk_menu_shell_activate_item
#20 0x007f15b7d1f6b5 in gtk_window_position_get_type
#21 0x007f15b7599578 in g_closure_invoke
#22 0x007f15b75b2b8c in g_signal_emit_valist
#23 0x007f15b75b3ab3 in g_signal_emit
#24 0x007f15b7cc4fe4 in gtk_requisition_copy
#25 0x007f15b7b6a19f in gtk_lock_button_set_permission
#26 0x007f15b7b6bdac in gtk_main_do_event
#27 0x007f15b7836172 in gdk_drawing_context_is_valid
#28 0x007f15b786c3cf in gdk_x11_drag_context_get_type
#29 0x007f15b74a5291 in g_main_context_dispatch
#30 0x007f15b74a5538 in g_main_context_dispatch
#31 0x007f15b74a5853 in g_main_loop_run
#32 0x007f15b7b6ae85 in gtk_main
#33 0x0055dbb24e3d47 in main
#34 0x007f15b6dfcb80 in __libc_start_main
#35 0x0055dbb06ca029 in _start{noformat}
-
eric1320
Nov 24, 2022 01:36
Still getting this on 2023.1.0a19 but with a different stacktrace:
Obtained 27 stack frames.
#0 0x007fcb584a4bf0 in __sigaction
#1 0x007fcb5bc956d9 in g_type_check_instance
#2 0x007fcb5bc89d74 in g_signal_handlers_disconnect_matched
#3 0x0055f072f656d3 in DisconnectGtkSignal(void*, GtkCallbackResponse (*)(), void*)
#4 0x0055f0727ac68d in MenuItem::~MenuItem()
#5 0x0055f0727b11f5 in RemoveEmptyParentMenus(std::list<MenuItem, std::allocator<MenuItem> >&)
#6 0x0055f0727b1159 in RemoveEmptyParentMenus(std::list<MenuItem, std::allocator<MenuItem> >&)
#7 0x0055f0727acf2b in MenuController::UpdateAllMenus(bool)
#8 0x00000040e583f8 in (wrapper managed-to-native) UnityEditor.EditorUtility:Internal_UpdateAllMenus ()
#9 0x00000040429c4f in (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
#10 0x007fc9de8462a6 in mono_get_runtime_build_info
#11 0x007fc9de9e3aa8 in mono_runtime_invoke
#12 0x007fc9de9e3a0c in mono_runtime_invoke
#13 0x0055f071d2bdb3 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)
#14 0x0055f071d086a7 in ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
#15 0x0055f071e42d6f in Scripting::UnityEditor::EditorApplicationProxy::Internal_CallUpdateFunctions(ScriptingExceptionPtr*)
#16 0x0055f072878cd5 in SceneTracker::Update()
#17 0x0055f0729c5d11 in Application::TickTimer()
#18 0x0055f072f53fee in MainMessageIteration(void*)
#19 0x007fcb5971b8e4 in g_main_context_dispatch
#20 0x007fcb5971bc88 in g_main_context_iterate.constprop.0
#21 0x007fcb5971bf73 in g_main_loop_run
#22 0x007fcb58e1e405 in gtk_main
#23 0x0055f072f5324b in main
#24 0x007fcb5849024e in __libc_start_call_main
#25 0x007fcb58490309 in __libc_start_main
#26 0x0055f0711de029 in _start -
awsapps
Nov 04, 2022 14:15
I can reproduce this error in version 2021.3.2f1. I suspect all 2021.3.x versions are afected by this bug
-
awsapps
Nov 04, 2022 14:10
Happens to me with a Nvidia GTX 660
-
MatasJurev
Oct 21, 2022 10:50
Leaving a comment here to double that this issue occurs on Nvidia gpus too. I was using Pop OS 22.04, rtx 3070 with driver version 515.
-
huantianad
Sep 28, 2022 20:41
Hopefully this also gets fixed for 2021.3.X, not just 2023, because like the previous person I've found that the best I can do is downgrade to 2021.3.4 and deal with bugs.
-
Draco18s
Sep 15, 2022 19:20
Ugh, annoying that I updated to 3.9 to get the fix to the canvas layout bug introduced in 3.5 and have to backtrack to 3.4 (I'd rather deal with an inspector bug than a game-feature bug).
-
xAdamQ
Sep 07, 2022 03:20
sorry wrong link :D, a fix for this issue: https://forum.unity.com/threads/a-fix-for-unity-crashing-on-opening-any-window.1332894/
-
xAdamQ
Sep 07, 2022 03:19
-
optimusdag
Sep 05, 2022 10:45
I found a solution. This issue happened to me when installing unity from the last version of the unity hub. If you download the older version of unity hub and install through that one, the issue does not happen anymore. The version that worked for me is 2.4.6
-
ubuntu-user
Sep 03, 2022 16:11
System : Ubuntu 22.04.1 LTS
Unity 2021.3.9f1
choosing another layout :
Obtained 27 stack frames.
#0 0x0055db785f331c in burst_signal_handler(int, siginfo_t*, void*)
#1 0x007f250c23be60 in funlockfile
#2 0x007f250c82c2fd in g_type_check_instance
#3 0x007f250c821e7c in g_signal_handlers_disconnect_matched
#4 0x0055db79bd5e33 in DisconnectGtkSignal(void*, GtkCallbackResponse (*)(), void*)
#5 0x0055db7947eabd in MenuItem::~MenuItem()
#6 0x0055db79483333 in RemoveItemFromMenu(std::list<MenuItem, std::allocator<MenuItem> >*, core::basic_string_ref<char>)
#7 0x0055db79483373 in RemoveItemFromMenu(std::list<MenuItem, std::allocator<MenuItem> >*, core::basic_string_ref<char>)
#8 0x0055db794831b3 in MenuController::RemoveMenuItem(core::basic_string_ref<char>)
#9 0x0055db78114f8c in Menu_CUSTOM_RemoveMenuItem(ScriptingBackendNativeStringPtrOpaque*)
#10 0x00000041e65623 in (wrapper managed-to-native) UnityEditor.Menu:RemoveMenuItem (string)
#11 0x00000041e644cf in UnityEditor.EditorApplication/<>c__DisplayClass103_0:<CallDelayed>b__0 ()
#12 0x007f23a1071228 in mono_get_runtime_build_info
#13 0x007f23a120ff2e in mono_runtime_invoke
#14 0x007f23a120fe78 in mono_runtime_invoke
#15 0x0055db789f9123 in scripting_method_invoke(ScriptingMethodPtr, ScriptingObjectPtr, ScriptingArguments&, ScriptingExceptionPtr*, bool)
#16 0x0055db789d7207 in ScriptingInvocation::Invoke(ScriptingExceptionPtr*, bool)
#17 0x0055db78b20e2f in Scripting::UnityEditor::EditorApplicationProxy::Internal_InvokeTickEvents(ScriptingExceptionPtr*)
#18 0x0055db79b37183 in Application::TickTimer()
#19 0x0055db79bd517a in MainMessageIteration(void*)
#20 0x007f250c71518c in g_main_context_dispatch
#21 0x007f250c715538 in g_main_context_dispatch
#22 0x007f250c715853 in g_main_loop_run
#23 0x007f250cddae85 in gtk_main
#24 0x0055db79bd4337 in main
#25 0x007f250c06cb80 in __libc_start_main
#26 0x0055db77db9029 in _start
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- SerializedPropertyChangeEvent is invoked when initially binding PropertyFields in custom Editor
- UI Panel is not visible when HDR and STP filter are enabled
- Crash on GfxDeviceD3D11Base::DrawBuffersIndirect when opening a specific project
- OnTriggerExit2D is called in Play mode when undoing component adding
- Builds fail with "Execution failed for task ':launcher:checkReleaseDuplicateClasses'" error when the newer version of the In-App Purchasing package is installed on a specific project
Resolution Note (fix version 2023.1.0a20):
Fixed in 2023.1.0a20
Resolution Note (fix version 2022.2.2f1):
Fixed in 2022.2.2f1
Resolution Note (fix version 2021.3.16f1):
Fixed in 2021.3.16f1