0.5.6: silent crash during recording on Windows 11 (0xc0000005, mostly ntdll.dll) - recording lost, no error shown
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Domain
- desktop, operating-systems
Research direction
Start by reproducing the crash when pausing a screen-and-mic recording on Windows 11, then inspect the Cap logs and Windows Event Log entries for the access violation. Done means recording no longer exits silently, the recording is finalized with project-config.json, and an error is surfaced if shutdown fails.
Written by the indexing model from the issue text.
Description
Summary
Since updating to 0.5.6 (released Jul 17), Cap crashes silently mid-recording on Windows 11. The recording indicator/tray simply disappears, no error dialog is shown, and the recording is lost (the .cap folder is left without project-config.json, only orphaned DASH segments). Before 0.5.6 the same setup was stable for weeks of daily recordings.
What triggers it
- Most reliably: pressing Pause during a recording (reproduced several times).
- But it also dies spontaneously during recording with no interaction at all — we only noticed because the recording indicator was gone.
Windows Event Log evidence
7 APPCRASH events on Jul 18 alone, all Cap.exe 0.5.6.0 (timestamp 0x6a4edb0e), exception code 0xc0000005 (access violation):
| Time (local) | Faulting module | Offset |
|---|---|---|
| 10:04 | ntdll.dll 10.0.26100.8521 | 0x21dc9 |
| 10:33 | ntdll.dll | 0x21dc9 |
| 10:37 | ntdll.dll | 0x21dc9 |
| 10:40 | ntdll.dll | 0x164747 |
| 11:22 | Cap.exe | 0x1e9ba80 |
| 11:28 | ntdll.dll | 0x1decd |
| 11:32 | ntdll.dll | 0x164747 |
Cap's own logs end abruptly mid-recording (no "pipeline shutdown" / teardown lines), consistent with a hard process crash. The ntdll offsets (heap paths) at multiple distinct addresses suggest heap corruption rather than a single bad call site.
Environment
- Cap 0.5.6.0 (desktop, installed via .exe), path
C:\Users\<user>\AppData\Local\Cap\Cap.exe - Windows 11 Home, build 26200
- Recording: screen + mic, DASH segments visible in
%APPDATA%\so.cap.desktop\recordings\
Additional note
Older releases on GitHub currently have no installer assets attached, so downgrading as a workaround isn't possible. If you could attach a 0.5.5 (or last-known-good) Windows installer to a release, that would help affected users a lot while this is investigated.
Happy to provide full logs or the WER report IDs if useful.
- Dominant language
- Rust
- Stars
- 25k
- Forks
- 2.4k
- Avg merge
- 1d 8h
- Merged PRs (30d)
- 676
Getting set up
- Ships a Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CapSoftware/Cap
-
Captions panel does not offer to show an existing transcriptPossibly taken @thedavidweng claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
CapSoftware/Cap#4276 · 1 comment ·
Maintainers usually reply within 1 day
-
Download, FAQ, privacy and terms pages have no meta descriptionPossibly taken @patrickballard claimed this 13 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
CapSoftware/Cap#3675 · 1 comment ·
Maintainers usually reply within 1 day
-
self hosting
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CapSoftware/Cap#2384 · 3 comments ·
Maintainers usually reply within 1 day
-
Dashboard pagination causes full page reloads on self-hosted CapPossibly taken @DipanshuAmbilkar03 claimed this 11 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
CapSoftware/Cap#2305 · 2 comments ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
CapSoftware/Cap#1714 · 3 comments ·
Maintainers usually reply within 1 day
Similar issues
-
benchmark-review
Difficulty 2/5 1-3 hours Newbie friendliness 63/100
Maintainers usually reply within 1 day
-
area:filesystem bug need-triage
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
libracoder/kiri#364 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
matrix-org/matrix-rust-sdk#7495 ·
Maintainers usually reply within 1 day