Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#169 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@SizzleUnrlsd đang làm issue này rồi.

Từ ngày 15/10/2026.

  • #194 của @SizzleUnrlsd — đang mở

Đá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ả

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).

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của CoreTrace/coretrace

Tất cả issue của CoreTrace/coretrace

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.