Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#1309·terax-ai

Recurring SIGABRT on macOS 27.0 (26A428): panic escaping a nounwind UI event callback with panic=abort (0.8.6)

Author: aderamdaniCreated Sep 24, 2026Updated Sep 24, 2026

Environment

  • Terax 0.8.6 (CFBundleVersion 0.8.6), aarch64 (Apple Silicon)
  • macOS 27.0 (26A428), Mac14,2 (Apple M2, 16 GB)
  • App path: /Applications/Terax.app
  • Binary UUID: 7a865bbd-28aa-3480-99a4-e18a581d58f5

Summary

Terax aborts repeatedly with SIGABRT. There are four crash reports on disk and all four share the identical main-thread stack and the same binary UUID:

  • 2026-09-22 12:52:17 +0700
  • 2026-09-24 20:13:08 +0700
  • 2026-09-24 20:15:44 +0700
  • 2026-09-24 20:54:52 +0700

So this is deterministic (same code path every time), not a random crash.

Crash facts

  • Exception Type: EXC_CRASH (SIGABRT), Termination Reason: Namespace SIGNAL, Code 6, Abort trap: 6
  • Application Specific Information: abort() called
  • Triggered thread: 0 main, Dispatch Queue: com.apple.main-thread

Analysis

  • The release profile uses panic = "abort" (src-tauri/Cargo.toml), so any Rust panic terminates the whole process.

  • The panic happens on the macOS UI event path. The top app frames are:

    abort
    terax +4960504
    terax +4947196
    terax +1937832
    terax +2054828
    terax +2054716
    terax +2055876
    terax +4899980
    terax +4899940
    terax +4900000
    terax +2137172
    -[NSApplication _handleEvent:]
    -[NSApplication run]
  • I extracted the abort message that is actually referenced by the failing code path. It is:

    "panic in a function that cannot unwind"
       at /rustc/<hash>/library/core/src/panicking.rs:225:5

    That is Rust refusing to unwind a panic across an extern "C" / Objective-C (nounwind) boundary. Because the original panic is unwound before the abort, its message is not recorded in the .ips file (hence only abort() called).

Steps to reproduce

Not isolated. It happens during normal use (several terminal tabs/spaces, editor, AI panel). No consistent triggering action identified yet.

Impact

The entire app terminates with no recovery; unsaved editor state can be lost.

Notes / suggestions

  • Because the callback is an FFI (nounwind) boundary combined with panic = "abort", any panic there becomes an unrecoverable SIGABRT. Catching it at the boundary (e.g. catch_unwind around the handler, or extern "C-unwind" plus handling) or fixing the underlying panic would avoid a total crash.
  • Running the release binary from a terminal (RUST_BACKTRACE=1 /Applications/Terax.app/Contents/MacOS/terax) is the next diagnostic step; the release binary is stripped, so a debug build would be needed for a meaningful backtrace.
  • HEAD (0.9.0-beta) may already behave differently.

I can provide the full .ips files if useful.

Source: crynta/terax-ai

View original on GitHubView discussion on GitHub