Reproduction steps:
1. Open the attached “BugRepro” project
2. Click File > Build
3. Open the terminal and change the directory to build the folder
4. Run the executable with -batchmode -nographics arguments
Expected result: Crash stack trace is displayed only one time
Actual result: Crash stack trace is displayed either with each of the lines duplicated or the entire stack trace displayed multiple times
Reproducible with: 2020.3.48f1, 2021.3.25f1, 2023.1.0b17, 2023.2.0a10, 2023.2.0a15
Couldn’t test with: 2020.3.47f1, 2021.3.23f1, 2022.2.20f1, 2023.1.0b15, 2023.2.0a10 ([Internal link]: call stack is not displayed at all)
Reproducible on: Ubuntu 22.10
Note: When testing this issue, the [Internal link] fix for the 2022.2 stream has not yet come out, but this issue will probably be reproduced there.