Skip to content

[Bug]: [Windows][v1.4.280] Repeated native crashes - Access Violation at Orca.exe+0x3CC70A7 #51113

Done

Description

@Aris0211

Where were you using Orca?

Desktop only

Operating system

Windows

Remote host operating system

No response

Orca version

1.4.280

Details

Environment

  • Orca version: 1.4.280
  • OS: Windows
  • CPU: Intel Core Ultra 9 285K
  • GPU: NVIDIA RTX 5080 (16 GB)
  • RAM: 32 GB

Description

Orca has unexpectedly crashed four times today during normal usage. The last two crashes occurred less than four minutes apart.

After relaunching Orca, existing agent sessions resume successfully.

Crash signature

Two analyzed Crashpad dumps contain identical exception details:

  • Exception code: 0xC0000005
  • Faulting module: Orca.exe
  • Exception address: 0x00007FF78DCA70A7
  • Module offset: 0x3CC70A7
  • Operation: WRITE
  • Target address: 0x0000000000000008

This suggests a possible native null pointer dereference.

Recorded crash timestamps (UTC+8)

  • 2026-11-28 01:08:31
  • 2026-11-28 03:22:14
  • 2026-11-28 03:26:13

The latest dump has not yet been analyzed.

Diagnostic findings

  • No matching Windows Application Error or WER events.
  • No Windows resource exhaustion events.
  • Renderer V8 heap samples remained around 65–85 MB against a 4,192 MB limit.
  • Some background Orca processes remained alive.
  • Agent sessions resumed after relaunch.

Steps to reproduce

The exact trigger is unknown. The crashes occur during normal usage with active agent sessions.

Expected behavior

Orca should remain stable without unexpectedly terminating.

Additional information

Crashpad dumps are available locally and can be provided privately upon request.

Could you investigate this crash signature and confirm whether this is a known issue or regression?

Thank you!

Activity

  1. added theissue type on Nov 27, 2026
  2. added
    bug
    on Nov 27, 2026
  3. Kyler555-pixel commented on Nov 27, 2026

    @Kyler555-pixel

    Same crash on a second, independent machine.

    • Orca 1.4.280, Windows 10 22H2 (build 19045), x64, CPU: AMD 9900x, GPU: AMD 7900XT
    • Two main-process ("browser") crashes on Nov 27 UTC: 19:40:37 and 19:49:00
    • Both: 0xC0000005 at Orca.exe+0x3CC70A7, WRITE to 0x8, identical to this report
    • Not resource-related: renderer heap ~165 MB, ~500 MB private, no long tasks
    • The app was close to idle before both crashes (only background git status / worktree list polling)
    • The terminal daemon logged "shutdown: idle" ~2 s after each dump, so it's an effect, not the cause

    Regression window: 1.4.278 ran on this machine from Nov 26 13:30 to Nov 27 13:30 UTC with zero crashes. The auto-update went straight to 1.4.280 (skipping 1.4.279). First crash 6 h later, second 5 min after relaunch. So the bug is between 1.4.278 and 1.4.280.

    I have both minidumps (~64 MB each) and can share them privately; not posting them publicly since they include process memory.

    Update

    Trigger: all three crashes (19:40:37, 19:49:00, 20:14:48 UTC) happened right as I used the Orca mobile companion app (paired over Tailscale). The crashing thread in both readable dumps is the worker "orca-command-path-directory", not a network thread, so the transport looks irrelevant; it seems like a mobile request reaches the command-path lookup and that worker crashes.

    Root cause pointer: the crashing thread is the worker spawned in chunks/installed-agent-detection-*.js:
    spawnWorkerThread("command-path-directory-worker-entry.js", { name: "orca-command-path-directory" }).
    It lists each PATH directory via fs.promises.opendir({ bufferSize: 129 }) and returns early after 128 entries. The host
    force-destroys the worker after a 10 s per-read timeout (dispose -> host.destroy()) and after 60 s idle teardown. A native
    AV writing to 0x8 on exactly that thread fits a worker being terminated while an opendir/readdir is in flight.
    Detection is triggered when the mobile app connects/asks for agents, which matches my phone-only trigger.
    PATH here has 42 entries, all local (no network/mapped drives), so it's not a slow-share hang.
    Edit: my "worker terminated mid-opendir" theory was wrong. The actual cause is opendir failing on a missing PATH folder (see nwparker's comment below). Thread name and scanner location are still accurate.

    Workaround until the fix ships (confirmed on my machine, Win10 22H2): remove PATH entries that point to folders that don't exist. I had 11 stale ones (old bun/volta/fnm/asdf/yarn installs etc.); after removing them and fully restarting Orca, the crash no longer happens when I connect from the mobile app.

    PowerShell, no admin. It backs up your user PATH first, removes only folders that don't exist, prints what it removed, then lists any missing folders in the system PATH (those need admin to remove):

    $u=[Environment]::GetEnvironmentVariable('Path','User'); Set-Content "$HOME\path-user-backup.txt" $u
    $keep=@(); $drop=@()
    foreach($p in $u -split ';'){ if(!$p.Trim()){continue}; if(Test-Path -LiteralPath ([Environment]::ExpandEnvironmentVariables($p.Trim())) -PathType Container){$keep+=$p}else{$drop+=$p} }
    "Removed:"; $drop
    [Environment]::SetEnvironmentVariable('Path',($keep -join ';'),'User')
    "Missing in system PATH (needs admin):"; [Environment]::GetEnvironmentVariable('Path','Machine') -split ';' | ? {$_ -and !(Test-Path -LiteralPath ([Environment]::ExpandEnvironmentVariables($_)) -PathType Container)}

    Then quit Orca fully (including the tray icon) and reopen it.

    Undo: [Environment]::SetEnvironmentVariable('Path',(Get-Content "$HOME\path-user-backup.txt" -Raw).Trim(),'User')

    If that doesn't help, rolling back to v1.4.278 also avoids the crash.

  4. nwparker commented on Nov 27, 2026

    @nwparker
    Contributor

    Thanks to everyone who shared dumps and thread names here; that's what let us pin this down. The crash is a null write inside the runtime's directory-open completion on Windows: when opening a directory fails (e.g. a missing folder on PATH), the error code can get cleared, so the failure is reported as success with no directory, and the next step crashes the app. It's triggered by Orca's PATH command scanner, which opens every PATH entry.

    #51158 (merged) makes that scanner list directories a different way on Windows that doesn't have this problem. It will ship in the next release. If you still see Orca.exe+0x3CC70A7 crashes after updating, please post here with the new dump details.

  5. 211277729 commented on Nov 27, 2026

    @211277729

    一样反复闪退

  6. JonatanRomero95 commented on Nov 28, 2026

    @JonatanRomero95

    Confirming the same crash signature on another Windows machine running Orca 1.4.280.

    Environment:

    • Windows 11 Pro, version 10.0.26300, 64-bit.
    • Orca executable file version 1.4.280 (product version 1.4.280.0).

    The desktop application repeatedly closes unexpectedly. Two local Crashpad dumps were inspected; both identify the main application process and contain identical exception details:

    • Exception: 0xC0000005.
    • Faulting module and offset: Orca.exe+0x3CC70A7.
    • Operation: WRITE; target address: 0x8.

    Recorded dump modification times, corresponding to the observed closures:

    • 2026-11-28 03:44:29 UTC (00:44:29 UTC-3), process ID 24292.
    • 2026-11-28 03:54:17 UTC (00:54:17 UTC-3), process ID 2856.

    The main-process lifecycle log records subsequent application starts at 03:44:43.954 UTC and 03:54:25.073 UTC. A targeted search of Windows Application events 1000, 1001 and 1002 over the preceding three days returned no Orca matches. No explicit fatal/uncaught/process-gone entry was found in the inspected main trace around these crashes.

    The exact user action triggering the crashes is not known. We have not symbolized the stacks or verified the faulting thread name or PATH entries on this machine, so this report confirms the matching crash signature rather than independently establishing the directory-scanner root cause.

    Thanks for identifying the directory-open failure and merging #51158. Please let us know which released Windows version includes that fix so we can update and verify.

    The two memory dumps remain local and are not included in this public comment. This report includes only the extracted diagnostic metadata, without workspace paths or conversation contents.

  7. brennanb2025 commented on Nov 28, 2026

    @brennanb2025
    Contributor

    Thanks for the reports and dumps. This is the same crash as #50997 (same Orca.exe+0x3cc70a7, write to 0x8), and the fix goes out in a release tonight.

    The crash started in 1.4.280 with its runtime update. On Windows, when opening a folder fails (for example, a folder on PATH that no longer exists), the failure can come back as a success with no folder, and the next step crashes the app.

    Once you're on the new release, please post here or on #50997 if you still see crashes at Orca.exe+0x3cc70a7.

  8. meilingluolingluo commented on Nov 28, 2026

    @meilingluolingluo

    Another Windows 1.4.280 machine, matching signature and root cause.

    • OS: Windows 10 Pro 22H2, build 19045.6466
    • Orca: 1.4.280 packaged (FileVersion 1.4.280)
    • Two crashes on 2026-11-28 at 06:54:29 and 07:13:31 UTC (14:54:29 / 15:13:31 UTC+8). Main-process lifecycle breadcrumbs show restarts at 07:11:43 and 07:13:40 UTC.
    • Both Crashpad dumps are identical: 0xC0000005, WRITE to 0x0000000000000008, faulting IP Orca.exe+0x3CC70A7.
    • main.trace.ndjson ends on routine aiVault.search.* / parseCache spans with no error span. No WER or Application Error events. Renderer V8 heap ~70-117 MB against a 4192 MB limit, so not resource exhaustion.
    • The dump strings include the orca-command-path-directory worker name, and the session PATH in the dump has 9 directories that do not exist on disk:
      • C:\Users\meili.volta\bin
      • C:\Users\meili.asdf\shims
      • C:\Users\meili.local\share\mise\shims
      • C:\Users\meili\AppData\Local\agy\bin
      • C:\Users\meili\AppData\Local\qwen-code\bin
      • C:\Users\meili\AppData\Local\Yarn\bin
      • C:\Users\meili.bun\bin
      • C:\Users\meili\AppData\Roaming\fnm\aliases\default
      • C:\Users\meili.fnm\aliases\default

    User and machine PATH variables have no missing entries; all of the stale folders are injected into the agent session PATH. This fits the missing-directory diagnosis from nwparker's comment exactly.

    Dumps are kept locally and not attached because they contain main-process memory. gh release list still shows 1.4.280 as latest ? which release will contain #51158 / #51332?

  9. shawnluo commented on Nov 28, 2026

    @shawnluo

    Same crash here on another machine: Windows 11 Home 10.0.26300 x64, Orca 1.4.280 (Electron 45.4.1).

    • 3 Crashpad dumps, all identical: ptype=browser, 0xC0000005 WRITE to 0x8 at Orca.exe+0x3CC70A7, faulting thread orca-command-path-directory
    • 1.4.278 ran ~16 h with no crashes; after the auto-update to 1.4.280 (2026-11-27 18:51 PST) the main process crashed 7+ times, often 1-2 min after relaunch
    • PATH had 11 non-existent folders (5 user, 6 system), which matches the root cause described above

    Applied the workaround (removed the stale user PATH entries). Dumps are available privately if useful. Thanks for the quick fix in #51158.

  10. brennanb2025 commented on Nov 28, 2026

    @brennanb2025
    Contributor

    The fix for this crash is out in v1.4.281. Please update: Orca will offer it, or you can pick Check for Updates. If it still crashes on 1.4.281, please post here with your Windows version, and we'll reopen right away.

  11. zionlee23 commented on Nov 28, 2026

    @zionlee23

    Confirming the same crash on another Windows machine, Orca 1.4.280.

    • Windows 11, build 10.0.26300, x64
    • Two Crashpad dumps (about 56 MB and 60 MB), 2026-11-28 at 16:23 and 16:51 local time (UTC+8)
    • Both: EXCEPTION_ACCESS_VIOLATION, write to 0x8, faulting address Orca.exe+0x3cc70a7, on different thread IDs
    • No GPU driver DLLs (NVIDIA or AMD) are loaded in the crashing process, even though the machine has both GPUs, so this does not look driver-related
    • No Application Error (1000/1001) event and no unexpected system shutdown in the Windows event log
    • Several more unexplained restarts the same day (no updater event before them), after the app auto-updated to 1.4.280 that morning

    This matches the root cause nwparker described: my user PATH has 2 entries that point to folders that no longer exist (...\Unity\bin and ...\go\bin).

    I have not attached the dumps because they contain process memory. I can share details privately if useful. I will update to v1.4.281, which includes #51158, and report back here if the crash still happens.

  12. asdffail commented on Nov 28, 2026

    @asdffail

    Same crash here on 1.4.280 (Windows 11): 0xC0000005 writing to 0x8 at Orca.exe+0x3CC70A7, twice this morning.

    I resolved the dump against Electron 45.4.1's public symbols (electron.exe.pdb 876FB6B6FFA544AB4C4C44205044422E1). The faulting frame is:

    node::fs_dir::DirHandle::New+0xa7  (electron_node/src/node_dir.cc:110)
    

    It's on a background thread, not the main thread. That is the opendir failure #51332 fixes ("Fix a Windows crash when a folder can't be opened"), which shipped in v1.4.281. So this issue looks like a duplicate of what #51332 closed, and 1.4.281 should fix it. Both of my crashes happened while AI Vault was indexing.

  13. bolobao5313 commented on Nov 28, 2026

    @bolobao5313

    Confirming the same crash on Windows 11 Home (10.0.26200, x64) running Orca v1.4.280 (Electron 45.4.1, Node v24.22.3), after auto-updating from v1.4.279 on 2026-11-27.

    • Crash time: 2026-11-28 13:28:17 UTC (21:28:17 UTC+8)
    • Dump summary: ptype=browser, 0xC0000005 (STATUS_ACCESS_VIOLATION), WRITE to 0x0000000000000008 at Orca.exe+0x3CC70A7 (electron.exe.pdb GUID 876FB6B6FFA544AB4C4C44205044422E1), faulting inside node::fs_dir::DirHandle::New called from AfterOpenDir (Orca.exe+0x3CC861B)
    • Crashing thread: orca-command-path-directory (tid=46532)
    • Memory state: healthy (orca-isolate-heap: main=97MB old=50MB large=9MB total=132MB workers=3; renderer usedHeapMB=138MB), no WER / Application Error 1000 entry
    • PATH context: several non-existent PATH directories present (e.g. \.asdf\shims, \.local\share\mise\shims, \.volta\bin, \.bun\bin, etc.), matching the root cause identified above
    • Also saw one earlier silent unclean exit on the same day (10:11:46 UTC) with no dump and no "end" entry in agent-session-runtimes (triggered automatic crash recovery on next launch).

    Dumps are kept locally and not attached publicly. Thanks for the fast turnaround — updating to v1.4.281 next and will report back if it recurs.

  14. martinroneid-prog commented on Nov 30, 2026

    @martinroneid-prog

    Same crash here on 1.4.280 (Windows 11, x64), twice in about 26 hours. Both are main ("browser") process crashes with the same signature as this issue.

    Crashpad dump Local time (UTC+1) Exception Address
    20ea2885-….dmp 2026-11-29 14:22:46 0xC0000005, write to 0x8 Orca.exe+0x3CC70A7
    ab54458f-….dmp 2026-11-30 16:28:12 0xC0000005, write to 0x8 Orca.exe+0x3CC70A7
    • Both dumps report Orca 1.4.280 and Electron 45.4.1.
    • The crashing thread's stack has return addresses only in Orca.exe, ntdll, KERNELBASE and KERNEL32. No native addon (.node) modules appear on it.
    • Windows logged no Application Error/WER events, no resource-exhaustion warnings and no reboots around either crash.
    • The last trace events before each crash were routine background git.exec calls (remote -v, for-each-ref, worktree list) and aiVault.search.commit/parseCache.sqlite.
    • The daemon and its PTY sessions survived. All sessions reattached on relaunch, so the impact was downtime: after the first crash the window stayed closed for about 6.5 h before it was relaunched.
    • There were no crashes on 1.4.271/1.4.272 (23.–28.11). Crashes started after the auto-update to 1.4.280 on 28.11.

    We have updated to 1.4.284 and will report back if the crash recurs there. I can share the dumps privately if that helps, but I'd rather not attach them publicly because they contain process memory.

  15. brennanb2025 commented on Dec 1, 2026

    @brennanb2025
    Contributor

    Thanks, everyone, for the dumps and details. All the crashes reported here are on 1.4.280, and the fix shipped in v1.4.281. The current release is v1.4.284, so updating (Check for Updates, or accept the update prompt) resolves it.

    Closing this as fixed. If Orca crashes with this signature on 1.4.281 or later, please comment here with your Orca and Windows versions and we'll reopen right away.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugos:Windows

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions