Search Issue Tracker
Fixed
Fixed in 2021.3.44f1, 2022.3.47f1, 6000.0.20f1
Votes
3
Found in
2021.3.38f1
2022.3.29f1
6000.0.2f1
7000.0.0a1
Issue ID
UUM-72029
Regression
No
[Linux] Crash on pthread_kill when using incremental GC
Reproduction steps:
1. Open the attached “BugRepro” project
2. Open the “Assets/Scene.unity” scene
3. Enter the Play Mode
4. Wait for at least 10 minutes
Actual results: Used memory keeps growing until Unity Editor crashes when using incremental GC
Expected results: Unity Editor does not crash
Reproduced with: 2021.3.38f1, 2022.3.29f1, 6000.0.2f1
Reproduced on: Ubuntu 22.04, Ubuntu 24.04
Not reproduced on: Windows 10 Pro
First lines of the stack trace:
#0 0x0070d6ffe42520 in (Unknown)
#1 0x0070d6ffe969fc in pthread_kill
#2 0x0070d6ffe42476 in pthread_kill
#3 0x0070d6ffe287f3 in raise
#4 0x0070d552a6d37e in raise
#5 0x0070d552a6d2d6 in abort
#6 0x0070d552a6f03c in abort
#7 0x0070d552a6f236 in GC_merge_unmapped
#8 0x0070d552a70cdb in GC_merge_unmapped
#9 0x0070d552a6b091 in GC_unmap_old
#10 0x0070d552a71616 in GC_unmap_old
#11 0x0070d552a755ca in GC_finish_collection
Notes:
* before the crash “mmap(PROT_NONE) failed” error appears in the logs
* on Windows, RAM usage does not get higher than 8GB with 64 GB RAM available
-
evgeniy_koromyslov
May 14, 2024 11:28
This issue is devastating for us as we can't enable incremental GC for linux server and players experience severe lags due to garbage collection spikes which could get up to several seconds
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
- Inconsistent behaviour when interacting with different dropdown types with pointer events on parent Visual Element
- Hidden GameObjects won't re-enable when they have call "DontDestroyOnLoad" function
- Overlay Canvas are rendered on each split-screen camera when HDR is enabled
- [Android] The Player loses focus when using UnityEngine.Handheld.StartActivityIndicator() with Facebook SDK
- Build fails with "Building Library/Bee/artifacts/MacStandalonePlayerBuildProgram/gahcy/hj9mx3z/951.0 failed with output:..." errors when Scripting Backend is set to IL2CPP
Resolution Note:
This fix was specific to mono which is not available in this release.