Skip to content

[macOS] SkyComputerUseService SIGSEGV in AsyncStream.yield leaves Chrome backend unavailable #36672

Open

Description

@tschreiner

What version of the app are you using?

  • ChatGPT/Codex Desktop: 26.727.51351 (build 6119)
  • Computer Use / SkyComputerUseService: 26.727.1000550 (build 1000550)
  • ChatGPT Chrome Extension: 1.2.27236.6274
  • Google Chrome: 151.0.7922.72

What platform is your computer?

  • macOS 26.6 (25G72)
  • Apple Silicon / arm64

What issue are you seeing?

The external Chrome backend intermittently becomes unavailable even though Chrome, the ChatGPT Chrome Extension, and the Native Messaging host all pass the bundled diagnostics.

The browser runtime failed immediately with:

Browser is not available: chrome

A retry after two seconds failed identically. Later, without changing the extension or native-host configuration, the Chrome backend became available again, so the failure is intermittent.

A macOS diagnostic report at 2026-08-03 02:48:46 +0200 shows that SkyComputerUseService crashed with:

Exception: EXC_BAD_ACCESS
Signal: SIGSEGV
Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Termination: Segmentation fault: 11
Faulting thread: com.apple.main-thread

The faulting stack begins with:

AsyncStream._Storage.yield(_:)
AsyncStream.Continuation.yield(_:)
<two unsymbolicated SkyComputerUseService frames>
notify_datagram_handler(...)
CGSDatagramReadStream::dispatchMainQueueDatagrams()

This is not the Outlook recursion/stack-exhaustion signature from #20683: there is no SIGBUS, ___chkstk_darwin, or excessive recursion.

Diagnostics

The bundled Chrome diagnostics all passed:

  • Google Chrome is running.
  • The expected extension is installed and enabled in the selected Default profile.
  • The native-host manifest exists and is valid.
  • The expected origin chrome-extension://hehggadaopoacecdllhhajmbjkdcmajg/ is present.
  • No extension disable reason or enterprise-policy block was reported.

The system was not under memory pressure at the time of follow-up diagnosis.

Three old ChatGPT cua_node kernel processes were also still running as PPID 1 orphans from previous sessions. This may be related to the lifecycle-cleanup family reported in #25744 and #26293, but it does not prove the cause of the SIGSEGV.

Steps to reproduce

The exact trigger is not yet deterministic:

  1. Use ChatGPT/Codex Desktop with the Chrome extension and Computer Use enabled.
  2. Keep several desktop tasks/browser-control sessions active over time.
  3. Attempt to acquire the external Chrome backend.
  4. Observe Browser is not available: chrome.
  5. Check macOS Diagnostic Reports for a SkyComputerUseService crash.

The failure reproduced twice in the same task, including the documented two-second retry. The backend later recovered without reinstalling the extension or changing the native-host manifest.

Expected behavior

A correctly installed and enabled Chrome extension/native host should remain discoverable. SkyComputerUseService should not crash while dispatching a window/event notification, and a helper crash should be recovered without leaving browser backend state unavailable.

Additional information

No exact public match was found for the AsyncStream._Storage.yield plus null-address signature.

Possibly related, but not duplicates:

I can provide the complete sanitized .ips crash report privately if needed.

Activity

  1. added
    bug
    app
    on Aug 3, 2026
  2. trukhinyuri commented on Sep 5, 2026

    @trukhinyuri

    Additional crash evidence from September 3 on a newer helper build. The callback path is related to this issue, but I cannot establish an identical root cause from the unsymbolicated frames.

    I found a confirmed crash of the Codex Computer Use helper in macOS DiagnosticReports. This report supplies a crash signature, not a deterministic reproduction or a claim about downstream recording/browser behavior.

    Environment:

    • Mac14,6, Apple M2 Max, 96 GB memory; macOS 26.6.2 (25G83).
    • Helper: SkyComputerUseService, bundle com.openai.sky.CUAService, version 26.831.1000926, build 1000926.
    • Occurrence: 2026-09-03 15:03:52.7848 +0200.
    • Installed helper still had this version during the September 5 inspection. The desktop app inspected then was com.openai.codex 26.901.41123, build 7942; that is the inspection version, not a recovered crash-time desktop version.

    Actual result: the helper terminated with EXC_BAD_ACCESS / SIGSEGV, KERN_INVALID_ADDRESS at 0x0. Faulting queue: com.apple.main-thread.

    Sanitized leading frames:

    0  <null PC>                  0x0
    1  SkyComputerUseService      image offset 2375380
    2  SkyLight                  notify_datagram_handler(...) +484
    3  SkyLight                  CGSDatagramReadStream::dispatchMainQueueDatagrams() +276
    4  SkyLight                  block in CGSDatagramReadStream::mainQueueWakeup() +36
    

    Helper binary UUID, for symbolication: 10A60435-199F-373B-B92D-2EC7971E1670.

    Expected result: the helper handles the notification without terminating. I do not have the initiating UI action or a reliable reproduction sequence. I have not deliberately induced this crash during the audit.

    This issue also involves a null-address helper crash and SkyLight datagram dispatch. My captured leading frames do not include its AsyncStream frames, and I have not independently established its Chrome-backend symptom. Please split this into a separate issue if internal symbolication establishes a distinct defect.

  3. sharifhsn commented on Oct 3, 2026

    @sharifhsn

    Additional evidence for the null-PC signature in the September 3 crash report above: three native Computer Use crashes on October 2 across two newer helper builds. I have not established the same underlying cause as the original issue; these stacks do not include its AsyncStream frames, and I have not reproduced its Chrome-backend symptom.

    Environment:

    • macOS 26.6.2 (25G83), Apple Silicon arm64, Mac17,9 / Apple M5 Pro, 48 GiB RAM; SIP enabled, no Rosetta translation.
    • Desktop app inspected at 22:00 EDT: ChatGPT 26.930.21537 (build 12776), bundle com.openai.codex. This is the inspection version; historical desktop versions for the first two crashes were not established.
    • Helper and client inspected then: 26.929.1001365 (build 1001365), helper bundle com.openai.sky.CUAService.

    All times below are October 2, 2026, America/New_York / EDT (UTC−04:00). The report header/filename time is later than the body captureTime; the latter correlates with the recorded tool failures.

    Crash Report time captureTime Helper version Helper-relative LR / return-frame offset
    A 08:15:21 08:15:04.8585 26.924.1001281 0x24c450
    B 14:40:47 14:40:16.6029 26.924.1001281 0x24c450
    C 20:13:09 20:12:56.6152 26.929.1001365 0x259390

    All three show EXC_BAD_ACCESS / SIGSEGV, KERN_INVALID_ADDRESS at 0x0, faulting queue com.apple.main-thread, PC = 0, FAR = 0, x22 = 0, and ESR 0x82000006 (instruction-abort translation fault). Leading frames for C:

    0  <unmapped / null PC>      0x0
    1  SkyComputerUseService    image offset 0x259390 (unsymbolicated)
    2  SkyLight                 notify_datagram_handler(...) +484
                                image offset 0xbdd0
    3  SkyLight                 CGSDatagramReadStream::dispatchMainQueueDatagrams() +276
                                image offset 0x46a11c
    4  SkyLight                 mainQueueWakeup() block invocation +36
                                image offset 0x469fe8
    

    The SkyLight offsets are identical in A/B/C, with image UUID 0c8f41c6-6d93-3db3-b522-ca8cff5c3b33. Helper UUIDs for symbolication:

    • A/B: b3d18ba2-055a-351c-87cc-5fcbbe576943.
    • C: fac7d1cd-cdd2-3eb3-950f-6973530d2db5.

    The currently installed helper matches C's UUID and passes codesign --verify --deep --strict. Read-only disassembly around the recorded LR, using helper-relative offsets:

    0x259378  ldp x22, x20, [x19, #0x18]
    ...
    0x25938c  blr x22
    0x259390  mov x0, x20       // recorded LR
    

    blr x22 immediately before the LR, together with x22 = 0 and PC = 0, supports an attempted call through a null function pointer. No vendor dSYM was used; the callback's identity and the reason for the zero target remain unknown. The older binary was not disassembled.

    Observed operations and recovery:

    • B: a batch closing Granola's search UI and a Preview document window returned Sky Computer Use native pipe closed before response at 14:40:16.575, within 28 ms of the crash capture time. The next app-inventory call returned successfully at 14:40:20.794 without an explicit tool reset.
    • C: the same pipe error appeared 400 ms into a batch beginning with Granola and Mail quit shortcuts. The batch returned no individual completion markers, so the precise failing operation is unknown. A CUA JavaScript-tool reset followed by cua.getState() restored native access at 20:13:46.447 without restarting the desktop app.
    • A: the initiating operation was not recovered.

    Expected behavior: ordinary window closure and app quit operations should not terminate the native helper; native access should recover predictably if the helper exits.

    There is no demonstrated deterministic minimal reproduction. The two cleanup batches make callback registration/lifetime during window or focus teardown a useful hypothesis, but Granola's presence in both does not establish an app-specific defect. High memory usage is not established as the cause; instantaneous resource measurements at the crash times are missing. I did not deliberately induce another crash during the investigation because other computer-use work was active.

    Could you symbolicate the two helper offsets and inspect the indirect-call target's lifetime around queued SkyLight notifications? Please split this into another issue if symbolication establishes a distinct defect. The evidence above was checked against the three original crash reports and bounded tool logs; raw diagnostic files, transcripts, and screen content have been kept private.

  4. MaximilianMauroner commented on Oct 6, 2026

    @MaximilianMauroner

    Additional evidence for the null-PC crash signature already documented in this thread: it also occurs on macOS 27.0.1 (26A434), arm64.

    Two original macOS crash reports on this machine show EXC_BAD_ACCESS / SIGSEGV, KERN_INVALID_ADDRESS at 0, PC=0, and the main-thread SkyLight notify_datagram_handler / CGSDatagramReadStream dispatch path:

    Capture time (Europe/Vienna, UTC+02:00) Helper version Helper return-frame offset
    2026-09-29 18:35:42.1268 26.923.1001242 0x24c1f8
    2026-10-05 13:40:40.9574 26.929.1001365 0x259390

    The October 5 offset matches the October 2 evidence in the preceding comment. In this incident, a native Google Calendar app interaction batch (close a popup, press a shortcut, read accessibility state) returned Sky Computer Use native pipe closed before response at 13:40:40.877, within 81 ms of the crash capture time. Reacquiring the app returned its accessibility tree at 13:40:46.507 without a desktop restart. The batch has no per-operation completion markers, so the precise failing action is unknown.

    On October 6, both the installed helper and the helper bundled in ChatGPT desktop 26.930.61225 (build 13232) remain 26.929.1001365. That desktop version is the inspection version, not a recovered crash-time app version.

    No deterministic reproduction or common cause with the original AsyncStream crash is established. This adds a newer OS and another native-app incident to the existing null-PC evidence. No screenshot is needed for this crash signature; raw reports, paths, and private screen content are omitted.

    Model: GPT-6 family (exact variant not independently verified). Agent tool: Codex desktop.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    appbrowserbugcomputer-use

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions