Scope
Umbrella tracker for reported segfaults, heap corruption, hangs, and out-of-bounds reads observed during indexing. Many of these surface only at scale (large repos, deep ASTs, big all_defs[] arrays) or on specific code patterns (C++ template substitution, recovery-mode parses, deeply-nested DFS).
v0.7.0 shipped major LSP and parser-stack hardening (`1b9d9c1`, `82d5c84`) that likely already addresses several of these — reporters are encouraged to re-test on the latest release.
Additionally tracked: open PRs that target subsets of this work — PR #322 (template-call guards), PR #323 (expression eval steps), PR #339 (extract_channels growable stacks), PR #360 (C++ template call segfault).
Sub-issues
Acceptance
- Each linked issue is reproduced against the latest release; reporters confirm whether it still occurs.
- For any remaining crash, root cause is identified and either fixed or replaced with a graceful error.
- Soak/ASan tests cover the scale regimes that previously crashed (≥1500 files, ≥1500 defs, deep ASTs, C++ template patterns).
- No "Segmentation fault" path in the binary — all unexpected conditions surface a logged error.
Why one task
These cluster around the parallel extract → LSP-cross → C++ template resolution paths. Treating them together avoids regressing one while fixing another, and lets us close several at once when the underlying lifecycle bug is fixed.
Scope
Umbrella tracker for reported segfaults, heap corruption, hangs, and out-of-bounds reads observed during indexing. Many of these surface only at scale (large repos, deep ASTs, big
all_defs[]arrays) or on specific code patterns (C++ template substitution, recovery-mode parses, deeply-nested DFS).v0.7.0 shipped major LSP and parser-stack hardening (`1b9d9c1`, `82d5c84`) that likely already addresses several of these — reporters are encouraged to re-test on the latest release.
Additionally tracked: open PRs that target subsets of this work — PR #322 (template-call guards), PR #323 (expression eval steps), PR #339 (
extract_channelsgrowable stacks), PR #360 (C++ template call segfault).Sub-issues
codebase-memory-mcp cli index_repositoryon dhw/xx_hash.h #355 — Segmentation fault on dhw/xx_hash.hAcceptance
Why one task
These cluster around the parallel extract → LSP-cross → C++ template resolution paths. Treating them together avoids regressing one while fixing another, and lets us close several at once when the underlying lifecycle bug is fixed.