Search Issue Tracker
Fixed
Votes
1
Found in
2021.3.21f1
Issue ID
UUM-56335
Regression
No
[Linux] Crash on g_type_check_instance when using a keyboard shortcut to focus a GameObject or save the project
Reproduction steps:
1. Open a 2D platformer microgame tutorial project
2. Advance to Change Colors step
3. Press “F” to find Player
Or
1. Open the attached “SaveCrash project
2. Create a new file in Assets folder
3. Save the project using Ctrl + S
Expected result: Unity Editor focuses on Player or saves the project
Actual result: Unity Editor crashes
Reproducible with: 2021.3.11f1, 2021.3.31f1
Reproducible on: Ubuntu 22.04, SteamOS, Fedora 37, Arch
First lines of the stack trace:
#0 0x0055cd97237b9c in burst_signal_handler(int, siginfo_t, void)
#1 0x007fb294dcee70 in funlockfile
#2 0x007fb295b722fd in g_type_check_instance
#3 0x007fb295b67e7c in g_signal_handlers_disconnect_matched
#4 0x0055cd9882afe3 in DisconnectGtkSignal(void, GtkCallbackResponse ()(), void)
#5 0x0055cd98810ea3 in OSOnRemoveMenuItem(MenuItem)
#6 0x0055cd980d4b7f in RemoveItemFromMenu(std::list<MenuItem, std::allocator<MenuItem> >, core::basic_string_ref<char>)
#7 0x0055cd980d4bd3 in RemoveItemFromMenu(std::list<MenuItem, std::allocator<MenuItem> >, core::basic_string_ref<char>)
#8 0x0055cd980d4a13 in MenuController::RemoveMenuItem(core::basic_string_ref<char>)
#9 0x0055cd985896c6 in RecentScenesMenu::Build()
#10 0x0055cd9858962e in RecentScenesMenu::Update()
#11 0x0055cd980d0bda in MenuController::UpdateAllMenus(bool)
#12 0x0055cd980d13a8 in MenuController::ExecuteMainMenuItem(core::basic_string<char, core::StringStorageDefault<char> > const&, MenuController::ExecutionCause)
#13 0x0055cd96d54d51 in EditorApplication_CUSTOM_ExecuteMenuItem(ScriptingBackendNativeStringPtrOpaque*)
#14 0x0000004175f212 in (wrapper managed-to-native) UnityEditor.EditorApplication:ExecuteMenuItem (string)
#15 0x0000004175f173 in UnityEditor.ShortcutManagement.MenuItemEntryDiscoveryInfo:<.ctor>b__7_0 (UnityEditor.ShortcutManagement.ShortcutArguments)
#16 0x000000415f2573 in UnityEditor.ShortcutManagement.Trigger:HandleKeyEvent (UnityEngine.Event,UnityEditor.ShortcutManagement.IContextManager)
#17 0x000000415f1b27 in UnityEditor.ShortcutManagement.ShortcutController:HandleKeyEvent (UnityEngine.Event)
#18 0x000000415f1a33 in UnityEditor.ShortcutManagement.ShortcutIntegration:EventHandler ()
#19 0x000000415f1938 in UnityEditor.EditorApplication:Internal_CallGlobalEventHandler ()
#20 0x000000411d3c4e in (wrapper runtime-invoke) object:runtime_invoke_void (object,intptr,intptr,intptr)
Notes:
- Crashes with this stack trace were only reported in the 2021.3 LTS stream
- CQA couldn’t reproduce this crash on any of their Linux machines
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
- “Remove Unused Overrides” available on not loaded Scene and throws “ArgumentException: The scene is not loaded” warning
- Adaptive Probe Volume occlusion edge is calculated incorrectly when viewing probes near geometry edges
- Sampling a texture using an HLSL file throws shader errors and the code does not compile
- "Graphics.CopyTexture called with null source texture" error when Base Camera of an Overlay Camera is removed with DX11 Graphics API and Compatibility Mode enabled
- WebGL sends wrong value with large numbers when SendMessage function is used
Resolution Note:
Fixed by https://issuetracker.unity3d.com/product/unity/issues/guid/UUM-56334