CachyOS / CachyOS/distribution
[Bug]: code 1.124.2-1 crashes with SIGSEGV in electron42 when clicking Commit or Help → About
- Dominant language
- No language data
- Stars
- 27
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
### Kernel
7.0.12-1-cachyos
### Desktop Environment / Window Manager
KDE Plasma
### CPU
amd ryzen 5900x
### GPU / Driver
nvidia 3900
### Description
CachyOS package code crashes with SIGSEGV when clicking either:
Source Control → Commit
Help → About
This reproduces on my main CachyOS system and also in a clean CachyOS VM with a clean Code config.
Package/version info:
code 1.124.2-1
Executable: /usr/lib/electron42/electron
Command Line: /usr/lib/electron42/electron /usr/lib/code/code.mjs
Signal: 11 (SEGV)
code --version:
1.124.2
6928394f91b684055b873eecb8bc281365131f1c
x64
The crash also occurred with extensions disabled and with the same package installed in a clean CachyOS VM.
Useful commands/output:
❯ pacman -Q code electron42
which code
pacman -Qo /usr/bin/code
coredumpctl list | grep -iE ‘code|electron’ | tail -10
coredumpctl info
code 1.124.2-1
electron42 42.3.0-1
/usr/bin/code
/usr/bin/code is owned by code 1.124.2-1
Wed 2026-06-17 13:54:43 PDT 15094 1000 1000 SIGSEGV truncated /usr/lib/electron42/electron 5.9M
Wed 2026-06-17 14:01:28 PDT 17506 1000 1000 SIGSEGV truncated /usr/lib/electron42/electron 11.8M
Wed 2026-06-17 14:21:05 PDT 18802 1000 1000 SIGSEGV truncated /usr/lib/electron42/electron 15.3M
Wed 2026-06-17 14:23:01 PDT 19207 1000 1000 SIGSEGV truncated /usr/lib/electron42/electron 8.1M
Wed 2026-06-17 14:26:02 PDT 21167 1000 1000 SIGSEGV truncated /usr/lib/electron42/electron 8.1M
Wed 2026-06-17 14:28:27 PDT 22285 1000 1000 SIGSEGV truncated /usr/lib/electron42/electron 8.1M
Wed 2026-06-17 14:31:12 PDT 23291 1000 1000 SIGSEGV truncated /usr/lib/electron42/electron 14M
Wed 2026-06-17 14:40:44 PDT 26250 1000 1000 SIGSEGV truncated /usr/lib/electron42/electron 8M
PID: 26250 (code-oss)
UID: 1000 (me)
GID: 1000 (me)
Signal: 11 (SEGV)
Timestamp: Wed 2026-06-17 14:39:42 PDT (34min ago)
Command Line: $‘/usr/lib/electron42/electron --ozone-platform=x11 /usr/lib/code/code.mjs /home/me/git/folder’
Executable: /usr/lib/electron42/electron
Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-code-oss-26250.scope
Unit: user@1000.service
User Unit: app-code-oss-26250.scope
Slice: user-1000.slice
Owner UID: 1000 (me)
Boot ID: 03255d7fa8ae4e138292bf5baf1b77d2
Machine ID: c8524a6d1e5a45738b676362ef72f4fc
Hostname: nvidia-cachyos
Storage: /var/lib/systemd/coredump/core.code-oss.1000.03255d7fa8ae4e138292bf5baf1b77d2.26250.1781732382000000.zst (truncated)
Size on Disk: 8M
Message: Process 26250 (code-oss) of user 1000 dumped core.
### Steps to Reproduce
1. launch code
2. open menu item Help->About, or click Commit button to commit a change
### Expected Behavior
Those things don't crash code
### Actual Behavior
CachyOS package code crashes with SIGSEGV when clicking either:
Source Control → Commit
Help → About
This reproduces on my main CachyOS system and also in a clean CachyOS VM with a clean Code config.
### Logs / Error Messages
see main description
### Additional Context
Happens every time. Never used to happen, must be a bug in fairly recent code update.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the crash through Help → About and Source Control → Commit using the listed code and electron42 package versions. Inspect the resulting coredump with coredumpctl info and compare behavior in the clean CachyOS VM; done means both actions complete without a SIGSEGV.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, linux
- Domain
- desktop, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100