build(deps): update coretrace-stack-analyzer past v0.22.0, which does not finish on CoreTrace's own code
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- cmake, cpp
- Domain
- performance, tooling
Research direction
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.
Written by the indexing model from the issue text.
Description
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_TAGincmake/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_analyzercompletes, in minutes rather than hours.- CI stays green.
Found by the initial static analysis of CoreTrace on its own code (2026-10-13).
- Dominant language
- C++
- Stars
- 5
- Forks
- 4
- Avg merge
- 1h 4m
- Merged PRs (30d)
- 71
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from CoreTrace/coretrace
-
documentation severity/minor
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
chore good first issue severity/minor
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
build severity/minor
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
build good first issue severity/minor
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
Maintainers usually reply within 1 day
-
good first issue test
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
All issues in CoreTrace/coretrace
Similar issues
-
bug format I/O medium priority rt_lib
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
refactor
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
compiler-explorer/compiler-explorer#9272 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 76/100
Maintainers usually reply within 1 day