You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❗ 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.
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
Create a minimal JS repo under C:\github\glob-ghas
Run the CLI command above
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.
The text was updated successfully, but these errors were encountered:
timothywarner
changed the title
**Windows: AccessDeniedException during codeql database create TRAP finalization (pools/0 move fails)**
Windows: AccessDeniedException during codeql database create TRAP finalization (pools/0 move fails)
May 1, 2025
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 anAccessDeniedException
. This occurs when attempting to move the final TRAP string pool intopools\0
.This happens even when:
C:\github\glob-ghas
)codeql
from CLI (not extension)💻 Environment
C:\tools\codeql
codeql database create my-db --language=javascript --source-root=. --overwrite
📄 Observed Output
🔄 Steps to Reproduce
C:\github\glob-ghas
✅ What I've Already Tried
C:\github
)--no-autobuild
C:\codeql-temp
📌 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.
The text was updated successfully, but these errors were encountered: