github / github/codeql

Unable to create database on windows 11 ARM machine

Đang mở
#15,417 5 bình luận 1 reaction 0 người được giao Xem trên GitHub
question
Ngôn ngữ chính
CodeQL
Star
10.1k
Fork
2.1k
Merge trung bình
2 ngày 15 giờ
Pull request đã merge (30 ngày)
141

Mô tả

**Description of the issue**

I am unable to create a codeql database when using ARM hardware running windows 11 with CodeQL version 2.16.0

C:\codeql-home>codeql version
CodeQL command-line toolchain release 2.16.0.
Copyright (C) 2019-2024 GitHub, Inc.
Unpacked in: C:\codeql-home\codeql
Analysis results depend critically on separately distributed query and
extractor modules. To list modules that are visible to the toolchain,
use 'codeql resolve qlpacks' and 'codeql resolve languages'.

C:\codeql-home>codeql database create ./testdb -s=KMDF_Driver1 --language=cpp -c="msbuild /t:rebuild -p:configuration=Release -p:platform=x64 C:\codeql-home\KMDF_Driver1\KMDF_Driver1.sln"
Initializing database at C:\codeql-home\testdb.
Running build command: [msbuild, /t:rebuild, -p:configuration=Release, -p:platform=x64, C:\codeql-home\KMDF_Driver1\KMDF_Driver1.sln]
[2024-01-23 15:30:57] [ERROR] Spawned process exited abnormally (code -1073741701; tried to run: [C:\codeql-home\codeql\tools\win64\tracer.exe, C:\codeql-home\codeql\tools\win64\runner.exe, cmd.exe, /C, type, NUL, &&, msbuild, /t:rebuild, -p:configuration=Release, -p:platform=x64, C:\codeql-home\KMDF_Driver1\KMDF_Driver1.sln])
A fatal error occurred: Exit status -1073741701 from command: [C:\codeql-home\codeql\tools\win64\runner.exe, cmd.exe, /C, type, NUL, &&, msbuild, /t:rebuild, -p:configuration=Release, -p:platform=x64, C:\codeql-home\KMDF_Driver1\KMDF_Driver1.sln]

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với lệnh tạo cơ sở dữ liệu CodeQL được nêu trong báo cáo, sử dụng CodeQL 2.16.0 trên Windows 11 ARM, và điều tra lỗi khi khởi chạy tools\\win64\\tracer.exe và runner.exe trong quá trình thực hiện lệnh msbuild. Tái hiện trạng thái thoát đã được báo cáo và xác định yếu tố cho phép solution KMDF_Driver1 build và tạo cơ sở dữ liệu thành công.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
cpp
Lĩnh vực
build-system, devtools, operating-systems
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Cần làm rõ
Mức phù hợp với người mới
25/100

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.