build(deps): update coretrace-stack-analyzer past v0.22.0, which does not finish on CoreTrace's own code
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 38/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- cmake, cpp
- Lĩnh vực
- performance, tooling
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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).
- Ngôn ngữ chính
- C++
- Star
- 5
- Fork
- 4
- Merge trung bình
- 1 giờ 10 phút
- Pull request đã merge (30 ngày)
- 79
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của CoreTrace/coretrace
-
chore good first issue severity/minor
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
Maintainer thường phản hồi trong vòng 1 ngày
-
build severity/minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
CoreTrace/coretrace#176 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
build good first issue severity/minor
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
test: add unit tests for ctrace::RunDirectoryCó thể đã có người làm @tecnolgd đã nhận 1 ngày trước. Đang mởgood first issue test
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
CoreTrace/coretrace#164 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Builds without a build type are unoptimized: the README's commands and CI's main jobCó thể đã có người làm @SizzleUnrlsd đã nhận hôm nay. Đang mởbuild severity/minor
CoreTrace/coretrace#192 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của CoreTrace/coretrace
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
FriendsofECCE/ECCE#336 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
bitcoin-core/gui-qml#1030 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
tesseract-robotics/tesseract#1384 ·
-
Fix the silent drop of oversized clusters in the plain EuclideanClusterObjectDetectorCó thể đã có người làm @xmfcx đã nhận hôm nay. Đang mởcomponent:perception type:bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
autowarefoundation/autoware_core#1497 ·
Maintainer thường phản hồi trong vòng 2 ngày