Skip to content

Critical: Repeated Bun bridge crashes (SIGILL segfault) since v3.5.5-beta #151

Description

@Zutyosh

Summary

Since upgrading to version 3.5.5-beta, the Empryo desktop application experiences repeated crashes during normal usage. At least 7 distinct incidents occurred on a single day of use (2026-07-29), with 3 confirmed Bun bridge process crashes showing identical SIGILL segmentation fault signatures.

Environment

Component Value
OS CachyOS (Arch-based)
Kernel Linux 7.1.5-1-cachyos
Installation Method Arch Linux package
Application Build Empryo Desktop 3.5.5-beta
Electron 43.2.0
Bridge Runtime Bun v1.3.14 (0d9b296a)
System RAM 33.57 GB
Peak RSS at Crash ≤ 0.63 GB (no memory pressure)

Impact

  • Application becomes completely unusable without restart
  • Sessions interrupted during normal navigation (tab/workspace switching)
  • No user action triggers the crash predictably
  • Work/files remain untouched but workflow is disrupted

Incident Timeline (2026-07-29)

# Time Type Status
1 ~12:03 → 13:55 Complete app restart (no proper shutdown sequence) Probable
2 14:21 → 14:23 Renderer reload + "picker was stuck invisible" warning Probable
3 15:03:53 Bridge segfault (Bun), signal=SIGILL Confirmed
4 15:33:17 Bridge segfault (Bun), signal=SIGILL Confirmed
5 15:39 → 15:52 Renderer reload (~12 min after opening) Probable
6 ~18:15 Incomplete shutdown sequence To verify
7 19:11:03 Bridge segfault (Bun), signal=SIGILL Confirmed

Confirmed Crash Details

All 3 confirmed Bun crashes return the exact same hash, indicating a deterministic/reproducible bug rather than random memory corruption:============================================================
Bun v1.3.14 (0d9b296a) Linux x64
Linux Kernel v7.1.5 | glibc v2.44
CPU: sse42 popcnt avx avx2
panic(main thread): Segmentation fault at address 0x0
oh no: Bun has crashed. This indicates a bug in Bun, not your code.

Crash Report

Bridge Lifetime Before Crash

  • Crash 1 (15:03:53): ~40 minutes after bridge startup (cwd: Git/PNW-SS)
  • Crash 2 (15:33:17): ~29 minutes after bridge startup (cwd: Git/PNW-SS)
  • Crash 3 (19:11:03): ~7 minutes after bridge startup (cwd: Git/Cyberia)

Key observation: Crashes occur across different workspaces, suggesting this is not project-specific but a systemic runtime issue.

Reproducibility

No specific user action reliably triggers the crash. It occurs during normal navigation (tab switching, workspace changes) after variable durations (7-40 minutes) of bridge runtime.

User Interface Evidence

Screenshot shows the "Engine disconnected" dialog that appears when the bridge process terminates unexpectedly:

  • Error: bridge exited code=null signal=SIGILL
  • User must manually reconnect to resume work

Steps Taken

  • Full application reinstall attempted
  • Memory pressure ruled out (plenty of available RAM at crash time)
  • Debug bundle generated via app menu (available upon request)
  • Full session logs captured covering multiple days with all 3 complete crash traces

Expected Behavior

Bridge process should remain stable throughout normal application usage without unexpected terminations.

Additional Notes

  • This issue appeared specifically after upgrading to 3.5.5-beta
  • Previous versions did not exhibit this behavior
  • SIGILL (Illegal Instruction) suggests potential CPU instruction compatibility issue or memory corruption in the Bun runtime
Image

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions