Repository: godot
Issue: Crash when exporting to linux as a dedicated server
Labels: bug,platform:linuxbsd,topic:editor,topic:export

### Tested versions

v4.2.2.stable.official [15073afe3]

### System information

Godot v4.2.2.stable - Ubuntu 22.04.4 LTS 22.04 - X11 - GLES3 (Compatibility) - Mesa Intel(R) Xe Graphics (TGL GT2) () - 11th Gen Intel(R) Core(TM) i5-11300H @ 3.10GHz (8 Threads)

### Issue description

Exporting to linux as a dedicated server crashes the editor
```
================================================================
handle_crash: Program crashed with signal 11
Engine version: Godot Engine v4.2.2.stable.official (15073afe3856abd2aa1622492fe50026c7d63dc1)
Dumping the backtrace. Please include this when reporting the bug to the project developer.
[1] /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x786b2f642520] (??:0)
[2] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x3900613] (??:0)
[3] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x3998ebd] (??:0)
[4] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x725484] (??:0)
[5] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x5a445c] (??:0)
[6] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x5fb765] (??:0)
[7] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x3bb655a] (??:0)
[8] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x414c21b] (??:0)
[9] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x414d67f] (??:0)
[10] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x157df0b] (??:0)
[11] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x157fe7e] (??:0)
[12] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x1e2a844] (??:0)
[13] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x1e438fb] (??:0)
[14] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x1bd79f1] (??:0)
[15] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x1543452] (??:0)
[16] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x152fd63] (??:0)
[17] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x3ba02d0] (??:0)
[18] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x157b942] (??:0)
[19] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x3ba02d0] (??:0)
[20] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x21c9e09] (??:0)
[21] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x3ba02d0] (??:0)
[22] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x214a736] (??:0)
[23] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x21589a4] (??:0)
[24] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x20cdda5] (??:0)
[25] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x21255d6] (??:0)
[26] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x212884e] (??:0)
[27] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x21376e9] (??:0)
[28] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x420ac0e] (??:0)
[29] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x493d3f] (??:0)
[30] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x3963f82] (??:0)
[31] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x396575f] (??:0)
[32] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x497bfd] (??:0)
[33] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x41e8a6] (??:0)
[34] /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x786b2f629d90] (??:0)
[35] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0x80) [0x786b2f629e40] (??:0)
[36] /home/ben/Desktop/Godot 4/Godot_v4.2.2-stable_linux.x86_64() [0x42a59a] (??:0)
-- END OF BACKTRACE --
================================================================
```


### Steps to reproduce

1. Add a new export for linux
2. Under "Resources" select "Export as dedicated server"
3. Export project

### Minimal reproduction project (MRP)

n\a