#1844

[Bug]: Desktop app renderer crashes (SIGTRAP) on page navigation when a macOS accessibility client is attached

OpenAmoKorankyeopened 15d ago

Existing issue

  • I have searched the existing issues and found no duplicate.

Problem description

The desktop app's renderer process crashes (EXC_BREAKPOINT / SIGTRAP on CrRendererMain) when navigating between dashboard pages while a macOS Accessibility (AX) client is reading the app. The window goes completely blank: only the traffic-light buttons remain, with no sidebar and no content. The control-plane processes (Node service, next-server) stay up; only the renderer dies.

In normal mouse-and-keyboard use the app does not crash. The crash appears only once an accessibility client has queried the window. In our case that was a desktop-automation tool that reads the AX tree (the same macOS API screen readers such as VoiceOver use), which puts Chromium into full accessibility mode. We have not yet confirmed it with VoiceOver itself, but VoiceOver users would plausibly hit the same crash.

Expected: navigating from Home into a project opens the project page, regardless of whether an accessibility client is attached.

Steps to reproduce

  1. Launch the Openship desktop app (1.0.1) on macOS and let Home load.
  2. Attach a macOS accessibility client to the app window: an AX-API automation tool reading the window's accessibility tree, or (unconfirmed) VoiceOver.
  3. Click a project row on Home (or Projects in the sidebar).
  4. Within ~2–7 s the window goes blank and Openship Helper (Renderer) exits with a crash report.

Recovery:

  • Cmd+R does nothing.
  • View → Force Reload respawns the renderer and Home loads again.
  • A second Force Reload closed the main window entirely (the app process kept running with no window), so the app had to be relaunched.

Observed 3 times, identical stack each time. One crash happened ~4 s after the display woke from a screen lock, with a navigation click having been delivered while the screen was locked.

Environment

  • OpenShip version/commit: desktop app 1.0.1 (Electron 44.11.1, Chrome 152.0.7977.169)
  • Deployment method: desktop app running the control plane locally, deploying to one remote server over SSH
  • Operating system: macOS 27.2 (26B123), Apple Silicon (arm64)
  • Browser (if applicable): n/a (desktop app)

Logs and screenshots

Process:      Openship Helper (Renderer)  (com.oblien.openship.helper, 1.0.1)
Exception:    EXC_BREAKPOINT (SIGTRAP), termination "Trace/BPT trap: 5"
Thread:       CrRendererMain
extMods:      all zero (no external thread_create / thread_set_state / task_for_pid)

Crashed thread (Electron Framework is stripped, so names are the nearest exported
symbol and the offsets are what identify the site; identical in all 3 reports):
  ares_llist_node_next + 27334828
  ares_llist_node_next + 27334432
  v8impl::Finalizer::ResetEnv() + 51520
  v8impl::Finalizer::ResetEnv() + 47588
  v8::String::MakeExternal(...) + 63012
  node::crypto::Hash::HashUpdate(...) + 45904
  node::crypto::Hash::HashUpdate(...) + 40120
  v8::String::MakeExternal(...) + 59928
  v8::internal::compiler::CompilationDependencies::DependOnContextCell(...) + 4856
  node::Environment::AddUnmanagedFd(int) + 122588
  node::Environment::AddUnmanagedFd(int) + 121448
  v8::ValueSerializer::ValueSerializer(...) + 217200
  v8::Function::GetScriptOrigin() const + 29504
  v8::Function::GetScriptOrigin() const + 25348
  ...
  ElectronMain
  start

macOS unified log, main app process, moments before the first crash in that run:
  [com.apple.AppKit:AutomaticTermination] _NSDisableAutomaticTerminationAndLog
      NSAccessibility Request Received

A SIGTRAP on the renderer main thread is typically a Chromium/V8 CHECK failure. Symbolicating against the Electron 44.11.1 symbols should identify the call site; the crash timing points at accessibility-tree serialization during navigation. Full .ips crash reports are available on request.

Additional context

  • Across ~24 h of manual use of the same 1.0.1 build, the app process received no NSAccessibility request and the renderer never crashed. Every crash on this machine happened during an AX-client session.
  • Opening the local dashboard URL (http://127.0.0.1:<port>) in a regular browser is not a usable fallback while this happens: it lands in an empty local workspace instead of the signed-in one.

Activity

1
sourav72744d ago

Can I pick this issue ?