Windows: index worker crashes (0xC0000005) in parallel.extract on whole mixed C#/Vue repo; each sub-folder indexes fine alone
维护者通常 2 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- c, csharp, javascript, markdown, sql
- 领域
- backend, devtools, performance
调研方向
Start by tracing the index_repository CLI entry point into parallel.extract and inspect the worker crash and allocator diagnostics on Windows. The report gives no source files or tests to start from, so first determine how to capture a crash dump or enable extract phase tracing. Done means the reported whole repository indexes successfully on Windows while its subfolders continue to index successfully.
由索引模型根据 Issue 内容生成。
描述
Summary
On Windows, index_repository on a mixed C# / Vue / JS / Markdown / SQL repo (~990 files after ignores) ends with index worker ended with crash (exit=-1073741819) (0xC0000005, access violation) during parallel.extract. Every top-level sub-folder of the same repo indexes fine on its own; only the whole-repo index crashes. This looks similar in shape to #2349 (each package alone is fine, only the union crashes), but the signature differs: Windows, access violation, extract phase.
Environment
- codebase-memory-mcp 0.12.1 (install.ps1,
--skip-config, checksum verified) - Windows 11 Pro 10.0.26300, amd64
- Repo: .NET Framework 4.8 solution (ASP.NET WebForms + WebApi, several C# projects), Vue 2 single-file components without a bundler, plain JS/CSS, SQL scripts, Markdown docs. Private repo, so I can't attach it.
What I ran
codebase-memory-mcp cli index_repository --repo-path <repo root>, with and without --mode fast.
Result
| Attempt | Outcome |
|---|---|
| default mode | worker crash, exit=-1073741819 |
--mode fast |
same crash |
--mode fast + CBM_INDEX_SINGLE_THREAD=1 |
same crash |
--mode fast + CBM_WORKERS=1 + CBM_INDEX_SINGLE_THREAD=1 |
same crash |
| each top-level folder indexed separately (5 .NET/web projects, plus docs, Database, specifications, tooling dirs, hidden dirs) | all succeed |
Notes:
- The files that were started but not finished when the worker died differ between runs, so I don't think one specific file triggers it.
- The two env vars come from strings in the binary, not from the docs. The worker log still shows
parallel.extractafter setting them, so they may be no-ops here. - The first lines of stderr are always
mem.allocator.preloading_completed still_preloading=false detail=allocator_was_still_preloading,_so_arena_creation_and_purging_were_disabled. Not sure if related. - Last log lines before the crash are
parallel.extract.file.start .../...file.done .../parallel.extract.progress done=N total=M, with N around 110 to 150 of ~990 to ~1190 depending on the ignore set.
Expected
The whole-repo index completes, as each part does alone.
Questions
- Is there a supported way to get a crash dump or a more verbose extract-phase trace on Windows (
CBM_DIAGNOSTICS?) that I can attach? - Is a Windows-specific allocator/arena problem under
parallel.extracta known thing?
- 主要语言
- C
- 星标
- 45.8k
- 派生
- 3.8k
- 平均合并
- 3 天 6 小时
- 30 天内合并 PR
- 201
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
DeusData/codebase-memory-mcp 的其他 Issue
-
Generated Pi extension (cbmem.ts) breaks Gemini/Antigravity: Type.Union of Type.Literal serializes to anyOf/const可能已有人在做 @divakantpandey 于 1 天前认领。 未关闭bug editor/integration
难度 2/5 1-3 小时 新手友好度 72/100
DeusData/codebase-memory-mcp#2787 · 1 条评论 ·
维护者通常 2 天内回复
-
editor/integration parsing/quality
难度 2/5 1-3 小时 新手友好度 68/100
DeusData/codebase-memory-mcp#2286 ·
维护者通常 2 天内回复
-
install writes an unsupported `args` key into the Claude Code SubagentStart hook, so it never runs未关闭bug editor/integration priority/high stability/performance ux/behavior
难度 2/5 1-3 小时 新手友好度 72/100
DeusData/codebase-memory-mcp#2239 · 1 条评论 ·
维护者通常 2 天内回复
-
bug priority/high ux/behavior
难度 2/5 1-3 小时 新手友好度 72/100
DeusData/codebase-memory-mcp#2232 · 2 条评论 ·
维护者通常 2 天内回复
-
documentation editor/integration parsing/quality priority/normal
难度 2/5 1-3 小时 新手友好度 85/100
DeusData/codebase-memory-mcp#2169 ·
维护者通常 2 天内回复
查看 DeusData/codebase-memory-mcp 的全部 Issue
相似的 Issue
-
documentation
难度 1/5 1-3 小时 新手友好度 91/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 83/100
维护者通常 1 天内回复
-
enhancement ui
难度 1/5 1 小时以内 新手友好度 72/100
ChupathingyCE/chupathingyce#485 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 82/100
eclipse-paho/paho.mqtt.c#1727 ·
维护者通常 6 天内回复