Search Issue Tracker

In Progress

Under Consideration for 2021.3.X

In Progress in 2023.1.X



Found in


Issue ID




[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


# 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}

Comments (13)

  1. 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).

  2. xAdamQ

    Sep 07, 2022 03:20

  3. 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

  4. 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

  5. huantianad

    Sep 01, 2022 23:32

    I'm not sure if there's a quick fix, still getting this issue on NixOS for a while now.

  6. xAdamQ

    Sep 01, 2022 19:35

    Did Anyone find a quick fix??

  7. Mailson-M

    Aug 31, 2022 16:28

    Me too.
    Got exactly the same issue on Linux Mint 21.

  8. shadoh

    Aug 23, 2022 01:54

    Hey guys I also had a ticket about this (which has now been marked duplicate), so thought I would share how I got it working.

    Ok, so basically what I did was uninstall unityhub, it was previously installed via Pop Shop.

    I then added the deb following the instructions for installing on ubuntu and installed it that way. Using apt from the unity repository.

    I also had to install the SSH 1.1 package as well (otherwise I got a blank screen on Unity Hub). (Bottom of the page)

    But after doing that it works, so there must’ve been a missing package or permission issue, weird.

  9. Nitue

    Aug 22, 2022 16:30

    The ticket says "Could not reproduce the issue on any testing machines with Nvidia GPUs and no user reports list these GPUs". Don't know what are the testing GPUs, but this happens for me on with RTX 3080, driver version 515.48.07, PopOS! 22.04. Also tested on 510 driver.

    Does not happen on Unity 2020 LTS.

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.