#11435·Trilium

macOS desktop app crashes on startup with EXC_BREAKPOINT (SIGTRAP) on macOS 26 Tahoe (Electron 43.4.0 / V8 JIT)

Author: bbappyuanyuanCreated Sep 10, 2026Updated Sep 27, 2026
Labelsawaiting feedback

Description

Bug Description

Trilium Notes macOS desktop app (v0.105.0, Electron 43.4.0) crashes on startup with EXC_BREAKPOINT (SIGTRAP) / brk 0 on macOS 26 (Tahoe). The crash happens ~10 seconds after launch, during V8 JIT initialization on the main thread, before any sync activity occurs.

Crash signature (from .ips report):

  • Exception: EXC_BREAKPOINT (SIGTRAP), codes 0x0000000000000001, 0x00000001157550e8
  • Faulting thread: 0 (CrBrowserMain, main thread)
  • Top frames: ares_dns_rr_get_ttl → V8 code (e.g. v8::String::MakeExternal, CompilationDependencies::DependOnArrayIteratorProtector, v8::MicrotasksScope::~MicrotasksScope)
  • Hardware/OS: Apple M2 (Mac14,2, arm64), macOS 26.6.2 (25G83)

Steps to Reproduce

  1. Install Trilium Notes 0.105.0 (macOS arm64 build) on a Mac running macOS 26.x (Tahoe) with Apple Silicon
  2. Launch the app with an existing 6.7 GB trilium-data directory
  3. App window appears and starts loading notes, then the process crashes ~10 seconds later
  4. Restarting the app reproduces the same crash every time

Expected Behavior

The app should start normally and remain running, as it did on macOS 15.x (Sequoia).

Actual Behavior

The app crashes reliably ~10 seconds after launch. The application log shows normal startup (notes loaded, consistency checks pass), then the process dies with EXC_BREAKPOINT during a slow SELECT * FROM blobs query right after consistency checks:

23:09:57.283  Versions:    app=0.105.0 db=240 sync=39 clipper=1.0
23:09:58.926 JS Info: CKEditor state changed to ready
23:10:01.824 Table counts: notes: 3304, revisions: 2312, attachments: 5074, branches: 3325, attributes: 4962, etapi_tokens: 9, blobs: 6347
23:10:02.027 All consistency checks passed with no errors detected (took 226ms)
23:10:03.044 Slow query took 135ms: SELECT * FROM blobs WHERE blobId = ?
[crash]

No sync activity occurs before the crash (sync server is configured but the app dies before the first sync round-trip).

Environment

  • Trilium: 0.105.0 (build 2026-08-19 18:00:52, a0908a6e1e)
  • Electron Framework: 43.4.0 (bundled)
  • OS: macOS 26.6.2 Tahoe (25G83)
  • Hardware: Apple M2 (Mac14,2), arm64
  • App path: /Applications/Trilium Notes.app/Contents/MacOS/trilium
  • Bundle ID: com.electron.trilium-notes

Additional Context

This looks like the known upstream Electron/Chromium bug on macOS 26 Tahoe related to MAP_JIT enforcement. macOS 26 tightened JIT page permissions: Chromium worker threads (network/DNS resolver subsystem) can lose RX permission before V8 attempts to execute JIT code, producing an Instruction Abort and V8's IMMEDIATE_CRASH (brk 0).

Identical crash signatures are reported in:

The bug spans Electron 36 → 41+ and appears to be at the V8/Chromium layer, not specific to any single Electron release. Trilium 0.105.0 ships Electron 43.4.0 and still crashes.

Suggested Action

  • Bump the Electron version used by the Trilium desktop build to one that includes the c-ares/V8 JIT fix for macOS 26, and ship a new macOS release.
  • Possibly worth checking whether a workaround exists (e.g. disabling hardware acceleration or the DNS resolver) that could be applied in the meantime.

TriliumNext Version

0.105.0

What operating system are you using?

macOS

What is your setup?

Local + server sync

Operating System Version

Apple M2 (Mac14,2, arm64), macOS 26.6.2 (25G83)

Error logs

No response