Reproduction steps:
1. Open the attached “Test Project” project
2. Open the “Areas/2 Waterworks/LVL-1 Test” Scene
3. Open the “Editor/EditorToolsHelper.cs” Script
4. Go to line “67” and duplicate that line
5. Save the Script
Expected result: The script reloads
Actual result: Unity Editor crashes
Reproducible with: 2021.3.27f1, 2022.3.3f1, 2023.1.1f1, 2023.2.0a21
Reproducible on: Ubuntu 22.04
Not reproducible on: Windows 10
First lines of the stack trace:
#0 0x0055790893ebbc in burst_signal_handler(int, siginfo_t*, void*)
#1 0x007f2bbbe36520 in __sigaction
#2 0x007f2a1eae8170 in (Unknown)
#3 0x007f2a1ea0fe56 in (Unknown)
#4 0x007f2a1ea149cd in (Unknown)
#5 0x007f2a1e6833c9 in (Unknown)
#6 0x007f2a1e683566 in (Unknown)
#7 0x00557908ed581c in DataBufferGLES::Upload(unsigned long, unsigned long, void const*)
#8 0x00557908ee49ee in BufferGLES::EndWrite(unsigned long)
#9 0x00557908ee4885 in GfxDeviceGLES::EndBufferWrite(GfxBuffer*, unsigned long)
#10 0x005579088adda8 in DynamicVBO::ReleaseChunk(unsigned int, unsigned int)