Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの 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 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
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時間 4分
マージ済み PR(30日)
71

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CoreTrace/coretrace のほかの issue

CoreTrace/coretrace の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。