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

build(deps): update coretrace-stack-analyzer past v0.22.0, which does not finish on CoreTrace's own code

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

维护者通常 1 天内回复

@SizzleUnrlsd 已经在做这个了。

开始于 2026年10月15日。

  • #194 来自 @SizzleUnrlsd —— 未关闭

评估

难度
4/5
预计耗时
3-5 天
新手友好度
38/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
cmake, cpp

调研方向

Start with cmake/stackUsageAnalyzer.cmake and src/Process/Tools/StackAnalyzerToolImplementation.cpp; the issue reports that v0.22.0 stalls in the ownership engine, while the analyzer's main completes much faster. Check the analyzer release and bridge API, then update the dependency and adapt the bridge if needed. Run the stated ctrace --compile-commands invocation on CoreTrace's database and confirm it completes in minutes; CI should stay green.

由索引模型根据 Issue 内容生成。

描述

bug build severity/major

The stack analyzer pinned in cmake/stackUsageAnalyzer.cmake (v0.22.0) does not finish on CoreTrace's own code. Its main does, but no release contains the fix yet.

Observed

On f2672ac, macOS 15.6.1 on Apple M3, LLVM 20.1.2, with CoreTrace's 22 translation units (src/**/*.cpp, main.cpp):

Run v0.22.0 (through ctrace) main d7a58d6 (standalone)
Whole program, default options stopped after 42 min, unfinished 90 s
src/Process/Ipc/ApiHandler.cpp alone, --no-resource-cross-tu over 300 s 9 s
src/Process/Tools/StackAnalyzerToolImplementation.cpp alone, same over 300 s 4 s
src/App/Runner.cpp alone, same 142 s 6 s

A sample of the v0.22.0 runs shows the time in the ownership engine (ownership::solve, AbstractState::join, Contents::merge), on one core whatever --jobs (coretrace-stack-analyzer#199). ctrace cannot stop it: the linked analyzers take no timeout (docs/configuration.md).

main is 149 commits ahead of v0.22.0; coretrace-stack-analyzer#184 (closed 2026-10-08) is one of the related fixes.

To do

  • Release the stack analyzer from main (v0.23.0).
  • Update GIT_TAG in cmake/stackUsageAnalyzer.cmake, and adapt the bridge (src/Process/Tools/StackAnalyzerToolImplementation.cpp) if its API changed.

Acceptance

  • ctrace --compile-commands <CoreTrace's own database> --invoke ctrace_stack_analyzer completes, in minutes rather than hours.
  • CI stays green.

Found by the initial static analysis of CoreTrace on its own code (2026-10-13).

主要语言
C++
星标
5
派生
4
平均合并
1 小时 10 分钟
30 天内合并 PR
79

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

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

CoreTrace/coretrace 的其他 Issue

查看 CoreTrace/coretrace 的全部 Issue

相似的 Issue

更多 C++ Issue

把新 issue 发到你的邮箱

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