0.5.6: silent crash during recording on Windows 11 (0xc0000005, mostly ntdll.dll) - recording lost, no error shown
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 冷清
调研方向
首先,在 Windows 11 上复现暂停屏幕和麦克风录制时的崩溃,然后检查 Cap logs 和 Windows Event Log 条目中的访问冲突。完成的标准是录制不再静默退出、录制会通过 project-config.json 完成最终化,并且在关闭失败时显示错误。
由索引模型根据 Issue 内容生成。
描述
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.
- 主要语言
- Rust
- 星标
- 22.8k
- 派生
- 2k
- 平均合并
- 10 小时 41 分钟
- 30 天内合并 PR
- 89
环境准备
- 提供 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
CapSoftware/Cap 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 68/100
CapSoftware/Cap#2384 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
CapSoftware/Cap#2305 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 68/100
CapSoftware/Cap#1714 · 3 条评论 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
CapSoftware/Cap#2409 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 4/5 3-5 天 新手友好度 64/100
CapSoftware/Cap#2408 · 1 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
Change output crossing a compactsize boundary leaves the fee slightly below the requested feerate未关闭bug
难度 2/5 1-3 小时 新手友好度 78/100
bitcoindevkit/bdk_wallet#578 ·
维护者通常 8 天内回复
-
难度 2/5 1-3 小时 新手友好度 88/100
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
521xueweihan/HelloGitHub#3832 ·
-
难度 2/5 1-3 小时 新手友好度 84/100
-
难度 2/5 1-3 小时 新手友好度 82/100
canonical/opentelemetry-collector-operator#409 ·
维护者通常 1 天内回复