Repository navigation
Replies: 1 comment
|
Same failure reproduced independently over here: #8991. That report adds a data point this one does not have: there, DSH's own shell had already resolved to PowerShell 7.6.6 (PSHOME = C:\Program Files\PowerShell\7), and the confined call still died with 0xC0000142. So the failure is not explained by pwsh being absent from PATH. It also reproduces on Windows 11 build 22631 (23H2) with a machine-wide install, whereas this report is build 26100 (24H2) with a per-user install — so the bug is not specific to either. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Summary
All subprocess invocations through DSH Desktop's
pwshtool fail on Windows 11 with no stdout/stderr output and a fixed exit code3221225794(= `0xC0000Environment
C:\Users\Administrator\AppData\Local\Programs\DeepSeek HarnessC:\Users\Administrator\.dsh-desktop\dsh-runtimes\dsh-primary-runtime\dependencies\Reproduction Steps
pwshtool, e.g.Write-Output "test".Expected Result
Command executes normally, stdout captured and returned.
Actual Result
3221225794(decimal) =0xC0000142(hex) =STATUS_DLL_INIT_FAILEDWrite-Output,Get-Date,python -c ...,node -e ...all fail identically)Application Errorentries appear in Windows Event Viewer (consistent with failure occurring during process/DLL initialization, before WER kicks in)Control Experiment (decisive)
In a plain PowerShell terminal outside DSH, on the same machine, same binaries:
Both succeed with exit code 0. This rules out system-level corruption (SFC/DISM clean, VC++ redist reinstalled, no AV interference) and isolates the problem to DSH's subprocess-spawning / output-capture path.
Additional Clues Found in DSH's Own Artifacts
crash-2026-10-06T07-25-23-644Z-host.logshowsdsh desktop host exited with 1073807364(=0x40010004, a different code, suggesting a separate host-level instability around the same timeframe).crash-2026-09-28T15-37-19-883Z-web-boot.logshows@deepseek-ai/dsh-client-runtime/clientmodule missing →1 entry did not activate(build-time externals drift — possibly unrelated but worth noting).app.asar's internalsubprocess/win32-process/README.md(as found by another agent inspecting the packaged artifact):Keywords for Search / Triage
0xC0000142,STATUS_DLL_INIT_FAILED,CREATE_NO_WINDOW,CREATE_NEW_CONSOLE,subprocess/win32-process,write-restricted token,DACL sandbox,"Console isolation is unavailable","FAILS CLOSED"Suggested Investigation
Given the control experiment (same binaries work outside DSH), this looks like either:
CREATE_NO_WINDOW-flagged process creation combined with its restricted-token/DACL sandbox, causing DLL init failure specifically in that spawn path; orA quick way to distinguish: have DSH run a command that writes to a file instead of stdout (e.g.
python -c "open(r'C:\temp\probe.txt','w').write('ALIVE')"), then check outside DSH whether the file was actually created/modified. If the file gets written but DSH reports "no output / exit 3221225794", the bug is in output capture, not process creation.All reactions