Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

0.5.6: silent crash during recording on Windows 11 (0xc0000005, mostly ntdll.dll) - recording lost, no error shown

未关闭
#2,019 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
缺陷
描述清晰度
基本清楚
活跃度
冷清
技术栈
rust, tauri

调研方向

首先,在 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 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

CapSoftware/Cap 的其他 Issue

查看 CapSoftware/Cap 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。