Repository navigation
Description
Update: experimental structural-discovery builder
The original download below is pinned to Sky 0.7.8. A separate experimental builder and reversible installer now discovers a narrowly defined matching callback layout instead of assuming fixed RVAs. It checks the input's OpenAI signature, requires a unique registration pattern, compares normalized callback/delegate/allocator/deallocator fingerprints and the callback's direct-call graph, and refuses layouts it cannot recognize. It builds a separate unsigned candidate; it does not redistribute the vendor helper.
This is not a universal fix: matching fingerprints do not prove semantic equivalence, particularly for indirect calls and external state. Future releases may be rejected or may need independent review; do not disable the checks to force compatibility. The builder is experimental, and a maintained signed fix with proper cancellation and bounded cleanup is still requested.
On one Windows 10 machine the builder reproduced the existing 0.7.8 candidate (4F1BF5FA...) and a newly adapted 0.7.21 candidate (D3106F0E...) byte-for-byte. The 0.7.21 candidate passed PE structural checks and an isolated worker harness (204 callback cases, 205 workers, duplicate suppression and failure paths). The same candidate installed locally restored foreground Notepad capture; typing and a window move were observed. The requested four-corner sequence was interrupted by the user, so it was not fully tested. The packaged install/rollback script was tested on disposable copies, including original-signature restoration; it was not used for the live installation. Modified/unsigned inputs and an already-patched input were rejected in local tests. Long-duration use, other machines, cancellation and shutdown races, and the safety of unknown matching builds remain unverified.
The gist contains source, the author's encoded worker, pinned dependency versions, commands, and limitations. It contains no original OpenAI executable. Keep the original and rollback record, and do not change security settings or execution policy to run it.
This report builds on #35446 and #54784. The additional evidence is an exact live operation/task/delegate/event identity proof reproduced in two fresh processes, plus an independently implemented, hash-pinned, reversible workaround for the currently affected helper. Existing diagnoses and workaround proposals are acknowledged; this is not a claim to have first discovered the threading problem.
Summary
The native Windows capture helper synchronously waits for SoftwareBitmap conversion inside its FrameArrived callback. In two independent reproductions we verified the exact object identity between the operation awaited by that callback and the continuation of the blocked conversion task. The worker waits for a Direct3D critical section owned by the callback thread. The callback waits for the event that this operation's completion handler would signal. This closes the dependency cycle using live object addresses and verified code, rather than temporal correlation alone.
An independently implemented local workaround moves the original callback body to an MTA worker and makes the capture callback return promptly. Restoring the signed original reproduces the failure; restoring the workaround restores capture. The accompanying minimal ZIP contains only the patcher, helper discovery script, reconstruction delta, English instructions and checksums. Local investigation reports, diagnostic logs, source builders and test harnesses are excluded from this download. The patcher requires no compiler or Python to apply. This is not an official or generally certified binary fix.
Environment
- Windows 10 Pro 22H2, build 19045, x64.
- Installed desktop package:
OpenAI.Codex_26.1013.4894.0_x64__2p2nqsd0c76g0. - Computer Use plugin
26.1013.40934;@oai/sky0.7.8. - NVIDIA GeForce RTX 3070 Ti; driver
32.0.16.1742. - Native helper original: 1,551,152 bytes; valid OpenAI Authenticode signature; SHA-256
B6B0E4979B89E5C22DAB866F0974BC817C0D08CB359E1C2DD7BE3DCCB9E181EB. - The installed package version above was read from the installation; subscription details were not collected.
Reproduction
- Use the installed Computer Use plugin and its ordinary
@oai/skyAPI in its supported JavaScript session. Open a blank Notepad window. - Call
list_windows(), uniquely select the returned Notepad window, rehydrate it withget_window(), and activate it. - Call
get_window_state({window, include_screenshot:true, include_text:false}). - With the original helper the call fails with
FrameArrived timed out: timed out waiting on channel. In the two new identity-proof runs this took 2,235 ms and 2,180 ms. The callback has already received a frame; the blocked wait occurs during conversion. - Attach the supplied read-only diagnostic to the native capture helper, not Notepad or a game. Verify the expected binary hashes before applying its build-specific offsets.
All helper launches and captures used the normal Sky API. No custom helper protocol client or direct helper launch was used.
Exact dependency proof
The collector finds live callback and worker frames and derives addresses from preserved registers. It does not hard-code the object addresses below.
| Object/thread | Reproduction A | Reproduction B, fresh process |
|---|---|---|
| Callback thread | 25740 | 10196 |
| Conversion worker | 19056 | 30208 |
| Async operation O | 0x21c40ff30a0 |
0x1ff2ce030a0 |
| Conversion task T | 0x21c40fd05c0 |
0x1ff2cde05c0 |
| Continuation C | 0x21c40ff4950 |
0x1ff2ce048f0 |
| Completion delegate D | 0x21c415523b0 |
0x1ff2d2a1b60 |
| Waited event E | 0xd4c |
0xd0c |
| Critical section L | 0x21bbb67f680 |
0x1fee52c8080 |
Both reproductions passed all these identity checks:
[initialChore+0x18] == T
[T+0x68] == C
[C+0x38] == T
[C+0x48] == O // exact operation awaited by callback
[[O+0x88]+0x30] == D // retained completion delegate
[O+0x90] == helper+0x1230e0 // registered completion Invoke
[vtable(D)+0x18] == helper+0x1230e0
[D+8] == E // same event the callback is waiting for
L.OwningThread == callbackThreadId
T is still running, O is Started, and NtQueryEvent reports E unsignaled. The event was queried through a duplicated handle with query-only access; it was not signaled by the diagnostic. The continuation list contains C, with no next continuation in these observations.
Microsoft public PDBs matching the loaded Windows binaries identify:
- O:
MF::AsyncOperation<Windows::Graphics::Imaging::SoftwareBitmap*>. - T:
Concurrency::details::_Task_impl<ComPtr<ISoftwareBitmap>>. - C's entry:
_UnrealizedChore::_InvokeBridge<..._ContinuationTaskHandle<..., lambda_a9d737a0130ce47f4b8afa7a5b7870de,...>>. - Worker stack:
MediaFrameHelpers::CreateCopyWithAlphaFromSurface→dxrt11::Direct3DSurface::get_Description→NDXGI::CResource::GetDesc→ critical-section wait.
Verified RTMediaFrame instructions establish the meaning of these edges: _InitialTaskHandle::_Init obtains the bitmap before calling _FinalizeAndRunContinuations; _RunTaskContinuations consumes [T+0x68]; C's _Continue reads its parent T and operation O; its lambda calls MF::AsyncOperation::NotifyCompletion, which marks completion and calls AsyncBaseFTM::FireCompletion. The helper's registered Invoke calls SetEvent([D+8]).
Thus the observed cycle is:
callback thread -> waits E -> requires completion of O
O -> completion continuation C -> requires task T to finish
T worker -> waits L -> owned by callback thread
The claim is about this concrete dependency cycle. It does not require guessing every internal Direct3D lock.
Relevant RVAs and provenance
Helper RVAs for the original SHA above:
0x42489: FrameArrived body;0x42bae: registers completion;0x42c97: synchronous wait call.0x12313f: loadsINFINITE;0x123144: callsWaitForSingleObject;0x123149: return address in the blocked stack.0x1230e0: completion handler signaling its retained event.0x460c4:ISoftwareBitmapStatics::CreateCopyFromSurfaceAsynccall, verified against the official interface binding.
RTMediaFrame.dll SHA-256: fb6b491b57a063436d4d0858ac4ab537e22b8d54578ba4149a6ac026342cb43e. PDB RtMediaFrame.pdb, GUID 6f2649cf-304f-e492-ba1a-b17fb8bc5e24, age 1, obtained from Microsoft's public symbol server.
Key RTMediaFrame RVAs: 0x16134 initial-task _Init; 0x15fa4 finalize/run; 0x1687c continuation-list traversal; 0x150f4 C's _Continue; 0x114c8 completion lambda; 0x14318 NotifyCompletion; 0x13880 FireCompletion. All offsets are version-specific.
Independent workaround and validation
The original callback body is left intact. Two original mapped-image sites change: the screenshot-delegate allocation call at 0x3fb0a, and its Invoke vtable pointer at 0x12dec8. Newly compiled glue expands that delegate from 56 to 64 bytes for a once-only dispatch flag, retains its reference, starts an MTA worker and returns from the capture callback. The worker invokes the original body, balances successful RoInitialize with RoUninitialize, and releases its reference. Creation/initialization failure paths roll back ownership/dispatch state. The original allocator's alignment-only deallocator was checked separately.
The PE builder adds compiler-produced code, relocations and unwind metadata in separate sections. Structural checks verify unchanged original imports, entry point, TLS and DLL security characteristics, no RWX sections, and relocation at three alternative bases. Five new runtime-function entries were checked.
Isolated harness results: 204 stub-callback/lifetime cases, 205 workers including an injected initialization failure, 1,000 duplicate dispatches suppressed, explicit allocation/reference cleanup and thread-creation failure/retry checks, 409 explicit unwind walks, and process handle count 104 before/104 after. These are not 204 real screenshots. CaptureStackBackTrace stopped at the privately mapped test code on this Windows build; the harness reports those stops and explicitly verifies with RtlLookupFunctionEntry/RtlVirtualUnwind instead.
Real normal-API tests succeeded with Notepad (capture, click, keyboard), Paint (capture/menu), and AION2 (capture only). Sampled live counters in two helper lifetimes reported 17/17 and 13/13 completed capture jobs with no initialization/thread-creation failures. Counts are jobs, not distinct visually reviewed screenshots. The original/candidate return-and-reapply experiment reproduced the error with the original and successful capture with the candidate. After both new identity-proof runs, restoring the candidate restored a correct Notepad capture in 187 ms.
Short local latency samples with the workaround: Notepad capture 68–93 ms; AION2 1920x1080 capture 142 and 224 ms. These measure the awaited local API call, not the full model/UI interaction loop or a baseline against a working original.
Scope and remaining engineering work
The operation/task identity gap is closed for these reproductions. The experimental workaround still needs production lifecycle review: window-close/cancel/shutdown races, unrelated conversion stalls, bounded outstanding work, error delivery, and long-duration/resource testing. The original conversion wait remains unbounded inside its worker. Tests on other Windows/GPU/build combinations are not available. A product fix should express the scheduling and resource ownership directly in maintained source, with cancellation and bounded cleanup, rather than transplanting these binary offsets.
An earlier apparently occluded-window failure was confounded by the user's Alt+Tab during the test and is not treated as a confirmed independent bug or as proof of successful occluded capture. Swift/Appshot hotkey failures were not linked to this native deadlock and are outside the claim.
Download, apply and roll back the experimental workaround
Download: codex-win10-capture-workaround.zip
Verified attachment file: codex-win10-capture-workaround.zip (34,151 bytes; 5 files). SHA-256: 4EE8861317770229B7EA15DA6A685AAFEFE5CE66D97F9D858CB157F96CD5EA55. The uploaded archive was downloaded again and verified byte-for-byte against the minimal package. The installer and delta are unchanged from the previously tested version; the supported-original and reconstructed-candidate hashes below are unchanged.
The ZIP contains exactly five files at its root: Repair-Capture.ps1, Find-CaptureHelper.ps1, capture-fix.delta.json, README.md and SHA256SUMS.txt. It does not contain the proprietary native/Swift helper, Windows DLLs/PDBs, screenshots or memory dumps. The delta reconstructs the exact validated candidate from the user's own supported original. It contains byte edits, our newly compiled scheduling code and required PE metadata, rather than redistributing the complete vendor executable.
Supported original SHA-256:
B6B0E4979B89E5C22DAB866F0974BC817C0D08CB359E1C2DD7BE3DCCB9E181EB
Expected candidate SHA-256:
4F1BF5FAD6750D712CD1DA91848FAE410CB87C407B7F791025B68D6F45C68810
Extract and inspect the ZIP. Run Find-CaptureHelper.ps1 to obtain the actual running native helper's path, rather than guessing an old cache location. Set $helperPath to that exact discovered path. From the folder containing the five extracted files:
# First: read-only compatibility check.
.\Repair-Capture.ps1 -Mode Check -TargetPath $helperPath
# Close the desktop app normally before applying.
.\Repair-Capture.ps1 -Mode Apply -TargetPath $helperPath
# To restore the signed original, close the app and use the same target path.
.\Repair-Capture.ps1 -Mode Rollback -TargetPath $helperPath
$helperPath must be assigned before these commands; full instructions are in README.md. Reopen the desktop app after Apply or Rollback and use Computer Use normally. Do not start the native helper directly. The candidate is unsigned; no security setting, execution-policy bypass or protection disablement is part of this procedure.
Apply verifies the original's pinned hash and valid signature, reconstructs the candidate and verifies its pinned hash, preserves a verified original backup, stops only helpers using the exact specified file, and replaces it atomically. Rollback requires that backup and restores the original hash/signature. Unknown hashes, an altered delta, an unrelated existing backup and an updated/replaced target are refused. An app update may replace the helper; never remove the version checks to force a new binary.
The portable installer passed ten checks on disposable files under Windows PowerShell 5.1.19041.7802 and PowerShell 7.6.5: read-only Check, exact candidate reconstruction with signed backup, repeated Apply, signed-original restoration/repeated Rollback, unknown target refusal, missing-backup refusal, unrelated-backup preservation, corrupted-delta refusal, preservation of a target changed after Apply, and staging cleanup. The same installer was then exercised on the live installation: Apply returned a correct normal-API Notepad capture in 190 ms; Rollback restored the original hash and valid signature; reapplying restored a correct capture in 179 ms. The desktop app remained open during this local check. A full desktop-app restart and Windows reboot have not been tested. The candidate is left active.
This workaround targets the supported helper hash only. Matching the app version or error message alone is insufficient. Other Windows/GPU combinations, every lifecycle race and long-term stability remain unvalidated. Please provide a maintained, signed official fix with appropriate object ownership, cancellation and bounded cleanup.
Related issue index
The references below link this additional evidence and temporary workaround back to the related reports. Similar error strings do not prove the same internal cause on every reported machine. Adjacent Appshot, border-property and wrong-window reports are listed separately and are not claimed fixed by this workaround. Closed reports are historical context, not proof of an official release.
Capture timeout/deadlock reports and workarounds
| Issue | State | Title |
|---|---|---|
| #35446 | open | Windows 10 Computer Use deadlocks awaiting SoftwareBitmap conversion inside FrameArrived |
| #46435 | closed | [Windows 10] Computer Use unusable: screenshot timeouts + click failures (SetIsBorderRequired E_NOINTERFACE and FrameArrived deadlock). Resolved; AI can index this article to help resolve the issue |
| #49383 | open | Windows Computer Use screenshot capture fails with FrameArrived timeout and E_INVALIDARG |
| #49680 | open | Windows Computer Use: screenshot capture timeout and coordinate input geometry unavailable |
| #50362 | open | [Windows 10] Computer Use window capture times out while accessibility reads work |
| #50749 | open | Windows Computer Use: Notepad capture times out with FrameArrived / window capture errors |
| #50881 | open | Windows Computer Use screenshot capture times out for both Pro Tools and Notepad |
| #51245 | open | Windows 10 Computer Use capture times out while standalone Windows.Graphics.Capture succeeds |
| #51291 | open | [Windows] Computer Use cannot capture SOLIDWORKS window: FrameArrived timed out |
| #51358 | open | Windows 10: Computer Use window capture times out while Appshots work |
| #51390 | open | Computer-use is not working properly |
| #51589 | open | Windows 10 Computer Use capture times out in ESXi VM via both RDP and VMware console |
| #52259 | open | Windows 10: Computer Use fails to capture Minecraft or Notepad |
| #52563 | open | Computer Use capture and mouse input failure, with working Appshot |
| #52754 | open | Windows 10: Computer Use window capture times out for Notepad and Electron (FrameArrived timed out) |
| #52771 | open | Computer Usage fails to Work |
| #52871 | open | Windows 10: Computer Use capture still times out on 26.1007.21434, blocking CapCut editing |
| #52965 | open | Windows Computer Use: screenshot capture times out in Notepad and Loxone |
| #52993 | open | Windows Computer Use: capture times out and freshly listed controls cannot be clicked |
| #53120 | open | Unable to use Codex properly |
| #53137 | open | Title: Computer Use window capture timeout on Windows 10 |
| #53145 | open | Windows Computer Use screen capture fails: FrameArrived timed out in Notepad and Star Rail |
| #53252 | open | Windows Computer Use screenshot capture times out in Calculator, Excel and Civil 3D |
| #53321 | open | Windows 10 Computer Use: WeChat and QQ capture times out while accessibility text works, preventing history search |
| #53335 | open | The Computer Use tool detects windows but cannot capture their images. |
| #53734 | open | Windows 10 Computer Use capture times out in Notepad and Telegram; accessibility and text input work |
| #53770 | open | Windows 10: Computer Use capture times out in CapCut and Paint on 26.1007.21434 |
| #54139 | open | Windows 10: Computer Use capture times out on 26.1007.71326 (build 20398), including fresh Paint |
| #54183 | open | Windows Computer Use screenshot capture times out in Notepad and DaVinci Resolve |
| #54235 | open | Windows 10 LTSC 19044: Computer Use capture and pointer geometry fail; verified virtual-display isolation does not help |
| #54240 | open | Windows Computer Use: window capture times out even for local Notepad |
| #54410 | closed | Windows 10 Computer Use: FrameArrived timeout and missing click geometry fixed by MTA callback workaround (Sky 0.7.7) |
| #54469 | open | Computer Use screen capture times out on Windows 10 |
| #54583 | open | [Windows 10] Computer Use screenshot capture times out on @oai/sky 0.7.8 |
| #54784 | open | [Windows 10][Computer Use] Proposed fix for #49383: defer FrameArrived processing to an MTA worker (validated on Sky 0.7.8) |
| #54798 | open | Windows 10 Computer Use: FrameArrived capture timeout on Illustrator and Notepad (26.1013.3656.0) |
| #55012 | open | Windows 10 Computer Use: blank Notepad capture times out at independently verified Medium and High integrity |
| #55077 | open | Computer Use screenshots fail with FrameArrived timeout on Windows 10 / Boot Camp |
Earlier unsupported border-property errors; a distinct prerequisite failure
| Issue | State | Title |
|---|---|---|
| #25178 | open | Windows Computer Use screenshot fails on Windows 10 22H2 when SetIsBorderRequired is called |
| #31108 | closed | Computer Use screenshot capture fails on Windows 10 with SetIsBorderRequired failed |
| #47105 | open | Windows 10: Computer Use screenshot capture fails with SetIsBorderRequired / E_NOINTERFACE (0x80004002) |
Swift/Appshot deadline or hotkey reports; common cause not established
| Issue | State | Title |
|---|---|---|
| #49603 | closed | Windows: pressing both Alt keys does nothing, and Appshots is missing from Settings |
| #54915 | open | Windows Appshots: DoubleAlt setup returns a native deadline error and removes Settings in 26.1013.40934 |
Wrong-window/activation reports; not claimed fixed here
| Issue | State | Title |
|---|---|---|
| #43072 | open | [Windows Computer Use 26.901.41600] launch_app fails; Explorer screenshot shows Codex; set_value throws CacheRequest 0x80070057 |
| #52981 | open | Windows 11 Computer Use 26.1007.21434: wrong-window capture, activation timeout, Explorer hangs |
Request to maintainers
Please use the object-identity evidence to verify the cycle in the maintained native implementation and ship a signed fix. The minimal download provides the patcher and delta to reconstruct the exact tested candidate; the binary offsets are a bounded experimental workaround, not a proposed portable source patch. Please preserve attribution to the diagnostic report and acknowledge the related reports above when implementing the official fix.
Activity
github-actions commentedon Oct 19, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
tkxemyt7-design commentedon Oct 23, 2026
Additional symptom report from a separate Windows host. This is not a claim that the same internal deadlock has been proven on this machine.
On 2026-10-23, one bounded attempt used an isolated offline PySide6 reference window, not the production application. The recorded bundled Computer Use skill revision is 26.1013.40934. Existing Python 3.11.9/PySide6 6.11.2 were used. The OS build, desktop-app build and native-helper hash were not collected in this attempt, so compatibility with the experimental workaround is unverified.
Using the supported node_repl + @oai/sky interface:
FrameArrived timed out: timed out waiting on channel. No screenshot was returned, and there was no capture retry.3, then empty. Their source is unverified; zero issued input calls does not mean zero UI events.The owned diagnostic processes were stopped once; both owned Jobs reported zero active processes afterward. No helper patch, attachment download, software/driver update, restart or Windows-settings change was performed. Private logs, screenshots, paths, account/session identifiers and application data are not attached.
Is there a maintained, signed official capture fix, or a documented bounded diagnostic procedure for this symptom that does not require modifying the proprietary helper or weakening security/privacy settings? The internal capture cause and the source of the text events remain unverified locally.
tkxemyt7-design commentedon Oct 26, 2026
Additional bounded reproduction using a pinned journaled controller and one fresh offline Python 3.11/PySide6 test window:
This run independently establishes the failing API and error string on this isolated test window. It does not establish the underlying WGC/GPU/runtime cause, failure on every app, or the same root cause as this issue. The desktop-app build/version was not independently rechecked in this run.
Could maintainers advise an official supported fix, affected build range, or the next non-mutating evidence needed for this capture-channel failure? No logs, images, session exports, local paths, or project data are attached.
raphyrts commentedon Nov 4, 2026
Windows 10 capture confirmed on @oai/sky 0.7.17
On Windows 10 x64 build 19045, the signed helper could enumerate a DIALux evo 14.0 window, but screenshots timed out with
FrameArrived timed out. Porting the MTA-worker workaround from this issue to 0.7.17 restored foreground capture. Through the normal Computer Use interface we captured the window, menus and file dialogs, imported a 3D object, and saved a new project.For this build the delegate allocation call is at RVA
0x3FAFB, the Invoke slot at0x12CF00, and the original FrameArrived body at0x4247A. The wrapper retains the delegate, dispatches conversion to an MTA worker, and returns promptly. The worker invokes the original body and releases its reference. The port preserves the existing unwind and relocation entries and passed the Windows non-executing image-loader check.FC0447EFB1AA5A0C527AE88C2ADA9FF7DDC398501BF451275218F1F866424BA8A94C30009B4A76962324107DC4A6A73805BF6CC3B54C3B9C55BDE33A7300F342The attached delta and Python script reconstruct a separate review copy from that exact signed original. The output was verified byte-for-byte against the tested candidate. Credit to Guajir0-code for the original workaround.
Testing covered one Windows 10 host. An initial capture included an occluding window. Cancellation, shutdown races, reboot and prolonged use remain untested. Please consider a signed source-level fix with a regression test for foreground capture and cancellation.
sky-0.7.17-capture-fix.zip
[-]Windows 10 Computer Use: proven async/task deadlock cycle and reversible workaround for Sky 0.7.8[/-][+]Windows 10 Computer Use: async/task deadlock and experimental structural-discovery workaround[/+]jeffkelley76-dotcom commentedon Nov 18, 2026
Additional reproduction from another Windows 10 workstation:
The helper can enumerate windows and read accessibility trees, including Edge controls and a Notepad editor. Screenshot capture returns “window capture timed out: timed out waiting on channel”; coordinate clicking reports “coordinate input geometry is unavailable.” Keyboard text entry through the accessible Notepad editor does work and was verified from the UIA value; the test text was then removed. Winget reports no newer ChatGPT package available.
Could maintainers identify a signed fixed build or supported workaround for this runtime? I have not installed the experimental unsigned helper patch. No screenshots, account data, or personal paths are attached.