Repository navigation
Description
Summary
The OpenClaw Windows Companion app crashes when using the built-in speech input test flow. The crash is reproducible and does not depend on the selected speech model: tiny, base, and small all trigger the same failure.
The gateway is running and reachable during the test, so this does not appear to be caused by the gateway being offline.
A screen recording is available showing the crash during the voice input test.
What happened
When testing speech input in the Windows Companion app, the app closes/crashes instead of completing the test or showing an error message.
This happens with all tested speech input models:
tinybasesmall
Because all tested models reproduce the crash, this does not look like a model-specific failure or a missing-model edge case. It looks like the Companion voice test flow is failing at the app/runtime level.
Repro
- Open OpenClaw Windows Companion.
- In the left sidebar, navigate to Speech and Audio under This Computer.
- In the Speech Model card, select a speech model, for example
tiny. - Click Download to download the selected model.
- Wait until the UI shows Model ready.
- Click Test speech input.
- Click Record.
- Observe that the application crashes.
- Reopen the application.
- Repeat the same steps with
baseandsmall. - Observe the same crash behavior.
Expected behavior
The speech input test should either:
- complete successfully and show/transcribe the captured input, or
- fail gracefully with a visible diagnostic message if something is misconfigured.
The Companion app should not crash.
Actual behavior
The Windows Companion app crashes during the speech input test.
Evidence
Screen recording:
OpenClaw.Windows.Companion.Crash.mp4
The recording shows:
- Windows Companion running normally
- a downloaded and ready speech model
- speech input testing being started
- the application crashing
Windows Event Viewer records repeated APPCRASH events for OpenClaw.Tray.WinUI.exe.
Windows Event Viewer crash details
The crash reproduced multiple times. Event Viewer consistently reports OpenClaw.Tray.WinUI.exe crashing in MSVCP140.dll with exception code 0xc0000005 and fault offset 0x0000000000013020.
Representative Application Error event:
ProviderName: Application Error
Event ID: 1000
Level: Error
Faulting application name:
OpenClaw.Tray.WinUI.exe
Faulting application version:
0.6.0.0
Faulting module name:
MSVCP140.dll
Faulting module version:
14.29.30142.1
Exception code:
0xc0000005
Fault offset:
0x0000000000013020
Faulting application path:
%USERPROFILE%\AppData\Local\OpenClawTray\OpenClaw.Tray.WinUI.exe
Faulting module path:
%USERPROFILE%\AppData\Local\OpenClawTray\MSVCP140.dll
Windows Error Reporting also records this as an APPCRASH:
Event name:
APPCRASH
P1:
OpenClaw.Tray.WinUI.exe
P2:
0.6.0.0
P4:
MSVCP140.dll
P5:
14.29.30142.1
P7:
c0000005
P8:
0000000000013020
Why this matters
Speech input is a visible, user-facing Companion feature. A native crash here makes the feature unusable and gives the user no actionable error message.
The repeated Event Viewer entries make this a high-confidence crash reproduction rather than a transient UI glitch. The fact that the crash reproduces across tiny, base, and small also suggests the issue is probably not isolated to one speech model.
Suggested investigation
Check the voice input test path for unhandled native/runtime failures around:
- microphone permission / audio device access,
- audio capture initialization,
- selected model path resolution,
- model process startup,
- native library loading,
- temporary audio file creation,
- transcription result parsing,
- cancellation / timeout handling,
- UI thread dispatch after the test starts.
Given the Event Viewer details, also inspect the bundled/runtime dependency path for MSVCP140.dll, because the crash consistently faults there with 0xc0000005.
At minimum, the Companion should catch failures in this path and surface a visible diagnostic instead of terminating.
Environment
Windows:
OS Name: Microsoft Windows 11 Pro Insider Preview
OS Version: 10.0.26300 N/A Build 26300
System Type: x64-based PC
WSL:
WSL version: 2.7.7.0
Kernel version: 6.18.26.1-1
WSLg version: 1.0.73.2
Windows version reported by WSL: 10.0.26300.8553
OpenClaw / Gateway:
OpenClaw 2026.6.1 (2e08f0f)
Gateway:
Service: systemd user (enabled)
Gateway bind: loopback / 127.0.0.1
Gateway port: 18789
CLI version: 2026.6.1
Gateway version: 2026.6.1
Runtime: running
Connectivity probe: ok
Capability: admin-capable
Windows Companion:
OpenClaw.Tray.WinUI.exe
Version from Event Viewer: 0.6.0.0
Audio devices:
NVIDIA Virtual Audio Device (Wave Extensible) (WDM) OK
NVIDIA Broadcast OK
Audio Share OK
Notes
The gateway was running and reachable during the test. openclaw gateway status reported Connectivity probe: ok, so the crash does not appear to be caused by the gateway being offline.
The crash was reproduced repeatedly with the same faulting module, exception code, and fault offset.
Metadata
Metadata
Assignees
Labels
Type
Fields
Priority
Activity
clawsweeper commentedon Jun 4, 2026
Codex review: keeping this open for maintainer follow-up; there is still a little grit to resolve. Reviewed June 4, 2026, 7:11 AM ET / 11:11 UTC.
Summary
Keep open: the report is a concrete, current user-facing crash with screen-recording and Event Viewer evidence, and current main still routes the Speech Model test through the same native speech/audio path without an evident post-release fix.
Reproducibility: yes. the issue gives high-confidence user reproduction steps plus screen-recording and Event Viewer evidence. I did not run Windows locally, but source inspection shows current main still follows the same Record -> VoiceService -> AudioPipeline/native STT path and has no post-v0.6.0 speech-path fix.
Next step
This needs maintainer or Windows-native investigation before a safe fix PR can be queued; the source path is narrow, but the native access-violation root cause is not yet isolated.
Review details
Best possible solution:
Keep the issue open and investigate the Windows native speech test path until Record either transcribes successfully or surfaces a visible diagnostic instead of terminating the tray process.
Do we have a high-confidence way to reproduce the issue?
Yes, the issue gives high-confidence user reproduction steps plus screen-recording and Event Viewer evidence. I did not run Windows locally, but source inspection shows current main still follows the same Record -> VoiceService -> AudioPipeline/native STT path and has no post-v0.6.0 speech-path fix.
Is this the best way to solve the issue?
Unclear because there is no patch yet and the native APPCRASH needs root-cause evidence before choosing the repair. The narrow solution should harden the existing speech test startup/transcription path rather than add a new speech mode or alternate workflow.
AGENTS.md: found, but no applicable review policy affected this item.
Remaining risk / open question:
Codex review notes: model gpt-5.5, reasoning high; reviewed against 85445c78066b.
Label changes
Label changes:
P2: This is a reproducible user-facing crash in a bounded Companion speech feature, with strong evidence but limited blast radius.impact:crash-loop: The issue is about OpenClaw.Tray.WinUI.exe terminating during a normal Speech Input Test action.issue-rating: 🦞 diamond lobster: Current issue advisory state selects this label.clawsweeper:source-repro: Current issue advisory state selects this label.clawsweeper:no-new-fix-pr: Current issue advisory state selects this label.clawsweeper:needs-maintainer-review: Current issue advisory state selects this label.Label justifications:
P2: This is a reproducible user-facing crash in a bounded Companion speech feature, with strong evidence but limited blast radius.impact:crash-loop: The issue is about OpenClaw.Tray.WinUI.exe terminating during a normal Speech Input Test action.Evidence reviewed
What I checked:
src/OpenClaw.Tray.WinUI/Pages/VoiceSettingsPage.xaml:69, 85445c78066b)src/OpenClaw.Tray.WinUI/Pages/VoiceSettingsPage.xaml.cs:414, 85445c78066b)src/OpenClaw.Tray.WinUI/Services/VoiceService.cs:117, 85445c78066b)src/OpenClaw.Shared/OpenClaw.Shared.csproj:20, 85445c78066b)Likely related people:
src/OpenClaw.Tray.WinUI/Pages/VoiceSettingsPage.xaml.cs,src/OpenClaw.Tray.WinUI/Services/VoiceService.cs,src/OpenClaw.Tray.WinUI/Services/AudioPipeline.cs)src/Directory.Build.targets,tests/OpenClaw.Tray.Tests/ReleaseSigningWorkflowTests.cs)How this review workflow works
@clawsweeper re-reviewcomments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.@clawsweeper re-reviewor@clawsweeper re-runon an open PR or issue to request a fresh review only.@clawsweeper reviewto request a fresh review only.@clawsweeper autofix,@clawsweeper automerge,@clawsweeper fix ci, or@clawsweeper address review.@clawsweeper explainto ask for more context, or@clawsweeper stopto stop active automation.yuema2026 commentedon Jun 5, 2026
我也是同样的问题,x64 Windows 11,v0.6.3