Search Issue Tracker

Fixed

Fixed in 6000.0.0b15

Votes

0

Found in

2023.3.0b10

Issue ID

UUM-65362

Regression

Yes

[Linux] Crash on AddSubMenuToMenu when launching a Project with -debugAllocator argument

--

-

Reproduction steps:
1. Open the “Terminal” application
2. Run {{sudo sysctl -w vm.max_map_count=5000000}} command
3. Launch a Project with {{-debugAllocator}} argument (example: {{Unity/Hub/Editor/<version>/Editor/Unity -debugAllocator -projectPath <project path>}})

Expected result: The Editor opens up
Actual result: The Editor crashes

Reproducible with: 2023.3.0a17, 2023.3.0b10
Not reproducible with: 2021.3.36f1, 2022.3.21f1, 2023.2.13f1, 2023.3.0a16

Reproducible on: Ubuntu 22.04
Not reproducible on: Windows 10

First lines of the stack trace:
#0 0x007f1897442520 in __sigaction
#1 0x0055f6921f62c0 in AddSubMenuToMenu(core::basic_string_ref<char>, int, core::basic_string_ref<char>, bool)
#2 0x0055f6921f642b in MenuController::AddSubMenu(core::basic_string_ref<char>, int, core::basic_string_ref<char>)
#3 0x0055f692632b9c in ScriptCommands::AddPackageSpecificParentMenus()
#4 0x0055f69262054e in ScriptCommands::Rebuild()
#5 0x0055f6921f1449 in MenuInterface::BuildRegisteredMenuInterfaces()

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.