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

Windows: AccessDeniedException during `codeql database create` TRAP finalization (`pools/0` move fails)

オープン
#19,438 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
35/100
issue の種類
バグ
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
javascript

調査の方向性

codeql database create コマンドとその TRAP インポートの最終処理ステップから始め、次に、レポートに記載されているコマンドとパスを使用して Windows 11 で pools\0 の移動失敗を再現してください。JavaScript データベースが AccessDeniedException なしで正常に最終処理されれば完了です。

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

説明

Title:
Windows: AccessDeniedException during codeql database create TRAP finalization (pools/0 move fails)

Description:

❗ Summary
On Windows 11, running codeql database create for a JavaScript project fails during TRAP import finalization with an AccessDeniedException. This occurs when attempting to move the final TRAP string pool into pools\0.

This happens even when:

  • Using a short path (e.g. C:\github\glob-ghas)
  • Running in an elevated PowerShell session
  • Closing VS Code and other editors
  • Disabling Windows Defender and indexing
  • Running codeql from CLI (not extension)

💻 Environment

  • OS: Windows 11 Pro (Build 26100+)
  • CodeQL CLI version: 2.21.1
  • Installed at: C:\tools\codeql
  • Language: JavaScript
  • Command:
    codeql database create my-db --language=javascript --source-root=. --overwrite

📄 Observed Output

Finalizing database at C:\github\glob-ghas\my-db.
Running TRAP import for CodeQL database at C:\github\glob-ghas\my-db...
Importing TRAP files
Merging relations
A fatal error occurred: Failed to move pool from C:\github\glob-ghas\my-db\db-javascript\default\strings\0 to C:\github\glob-ghas\my-db\db-javascript\default\pools\0
(eventual cause: AccessDeniedException ...)

🔄 Steps to Reproduce

  1. Create a minimal JS repo under C:\github\glob-ghas
  2. Run the CLI command above
  3. Observe failure during TRAP finalization

✅ What I've Already Tried

  • Using short paths (C:\github)
  • Deleting the target DB folder before each run
  • Disabling antivirus and indexing services
  • Running with --no-autobuild
  • Setting TEMP to C:\codeql-temp
  • Confirmed no VS Code or Language Server processes active

📌 Expected Behavior
The database should finalize cleanly without permission errors, especially in an elevated shell with a clean local path.

🧩 Additional Help
Happy to provide a zipped repro repo with dummy JavaScript files and a test script upon request.

主要言語
CodeQL
スター
10.1k
フォーク
2.1k
平均マージ
2日 16時間
マージ済み PR(30日)
143

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

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

github/codeql のほかの issue

github/codeql の issue をすべて見る

似ている issue

CLI の issue をもっと見る

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

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