Visual Studio Code exits with signal 5/TRAP whenever the File menu is accessed
# Description:
Visual Studio Code crashes whenever the File menu is accessed. After clicking on the File menu, or moving over to it from a different menu with mouse or cursor keys, the application locks up for a few seconds and then exits.
journald contains:
Nov 01 22:18:50 lethe systemd-coredump[102911]: Process 102622 (code-oss) of user 1000 terminated abnormally with signal 5/TRAP.
# Additional info:
* package version(s): 1.95.0-1, 1.95.1-1
* config and/or log files: I deleted everything under ~/.vscode-oss/, ~/.config/"Code - OSS", and ~/.cache to ensure there are no custom configs
* link to upstream bug report, if any: N/A
Kernel version:
```
$ uname -a
Linux lethe 6.6.58-1-lts #1 SMP PREEMPT_DYNAMIC Wed, 23 Oct 2024 17:28:15 +0000 x86_64 GNU/Linux
```
VS Code version:
```
$ code --version
1.95.1
65edc4939843c90c34d61f4ce11704f09d3e5cb6
x64
````
I tested this with both 1.95.0-1 and 1.95.1-1, both behave the same. Downgrading to 1.94.2-1 solves the issue.
I also tested with `code --disable-extensions --disable-gpu` but it made no difference.
# Steps to reproduce:
1. Upgrade to `code` 1.95.0.
2. Start.
3. Click on the file menu.
Here's a video of me reproducing the problem:
[code-bug-2024-11-01_00.03.34-cropped.mkv](/uploads/f219005aa6eb2727bb2eaeac9fe00301/code-bug-2024-11-01_00.03.34-cropped.mkv)
issue