Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

test_lsp.py's LSan check misses leaks hidden by a stale stack pointer

オープン 初心者向け
#1,374 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
c, python
領域
testing-qa

調査の方向性

test_lsp.py の LSan の「no sanitizer reports」チェックから始め、eigenlsp の起動方法を確認します。LSAN_OPTIONS=use_stacks=0:use_registers=0 を指定してチェックを実行し、次に src/eigenlsp.c から free_scopes を削除すると、仕込まれたリークテストが失敗することを確認します。新たに明らかになった偽陽性は、修正するか、その理由を添えて文書化します。

索引モデルが issue の本文から書いたものです。

説明

area:gates kind:gate-defect

Found by the blind critic on #1364. With free_scopes deleted from src/eigenlsp.c (a real leak of the rename scope table), the harness's "no sanitizer reports" check passed. Under normal LSAN options: rc 0, no report. With LSAN_OPTIONS=use_stacks=0:use_registers=0: Direct leak of 512 byte(s). A stale pointer left on the stack keeps the block "reachable", so the leak class the harness claims to watch is invisible to it.

Done when

  • The LSP leak check runs eigenlsp with use_stacks=0:use_registers=0 (or an equivalent that sees this class), and the planted free_scopes deletion turns it red.
  • Any false positives that setting surfaces are fixed or listed with a reason.
主要言語
C
スター
3
フォーク
7
平均マージ
4時間 7分
マージ済み PR(30日)
112

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

InauguralSystems/EigenScript のほかの issue

InauguralSystems/EigenScript の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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