Reproduction steps:
1. Create a new 3D project
2. Enter the Play Mode
3. Exit the Play Mode
Expected result: Unity Editor exits the Play Mode
Actual result: Unity Editor crashes
Reproducible with: 2021.3.16f1, 2022.3.10f1
Reproducible on: Fedora, Manjaro, Ubuntu 22.04, Ubuntu 23.04, Linux Mint 21, Arch
Not reproducible on: no other environment reported this crash
First lines of the stack trace:
#0 0x007f796b842520 in (Unknown)
#1 0x007f796b896a7c in pthread_kill
#2 0x007f796b842476 in pthread_kill
#3 0x007f796b8287f3 in raise
#4 0x007f77be26cde6 in raise
#5 0x007f77be26cd3e in abort
#6 0x007f77be26ea98 in abort
#7 0x007f77be26ecea in GC_merge_unmapped
#8 0x007f77be274cdd in GC_merge_unmapped
#9 0x007f77be271150 in GC_unmap_old
#10 0x007f77be275029 in GC_unmap_old
#11 0x007f77be23f4a2 in GC_finish_collection
Notes:
- This crash could not be reproduced by CQA, but there are a lot of crash reports of it
- All the listed versions are taken from other bug reports
- Users also reproduced this crash when using the package manager, running tests, leaving the Editor open for extended periods of time, or just opening a scene