llvm / llvm/offload-test-suite

[Intel][Vulkan] Driver crash in 64bit-scalar test

Open
#1,110 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
18
Forks
39
Avg merge
2d 18h
Merged PRs (30d)
40

Description

After fixing #1030, [TypedBuffer/64bit-scalar.test](https://github.com/llvm/offload-test-suite/blob/main/test/Feature/TypedBuffer/64bit-scalar.test) crashes on the intel bot under vulkan:
```
# | Stack dump:
# | 0. Program arguments: e:\\actions-runner\\_work\\offload-test-suite\\offload-test-suite\\llvm-project\\build\\bin\\offloader.exe -debug-layer E:\\actions-runner\\_work\\offload-test-suite\\offload-test-suite\\llvm-project\\build\\tools\\OffloadTest\\test\\vk\\Feature\\TypedBuffer\\Output\\64bit-scalar.test.tmp/pipeline.yaml E:\\actions-runner\\_work\\offload-test-suite\\offload-test-suite\\llvm-project\\build\\tools\\OffloadTest\\test\\vk\\Feature\\TypedBuffer\\Output\\64bit-scalar.test.tmp.o
# | Exception Code: 0xC0000094
# | #0 0x00007ffd70d36080 (C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_f42d50ef4c9376ba\igvk64.dll+0x616080)
# | #1 0x00007ffd70d0e47a (C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_f42d50ef4c9376ba\igvk64.dll+0x5ee47a)
# | #2 0x00007ffd70c8e720 (C:\WINDOWS\System32\DriverStore\FileRepository\iigd_dch.inf_amd64_f42d50ef4c9376ba\igvk64.dll+0x56e720)
# | #3 0x00007ffd802d26dd (C:\WINDOWS\SYSTEM32\vulkan-1.dll+0x626dd)
# | #4 0x00007ff741d9933c `anonymous namespace'::VulkanDevice::createDescriptorSets E:\actions-runner\_work\offload-test-suite\offload-test-suite\OffloadTest\lib\API\VK\Device.cpp:1567:0
# | #5 0x00007ff741d6fcc4 llvm::Error::getPtr E:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\llvm\include\llvm\Support\Error.h:277:0
# | #6 0x00007ff741d6fcc4 llvm::Error::operator bool E:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\llvm\include\llvm\Support\Error.h:241:0
# | #7 0x00007ff741d6fcc4 `anonymous namespace'::VulkanDevice::executeProgram E:\actions-runner\_work\offload-test-suite\offload-test-suite\OffloadTest\lib\API\VK\Device.cpp:2544:0
# | #8 0x00007ff741c73216 llvm::Error::getPtr E:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\llvm\include\llvm\Support\Error.h:277:0
# | #9 0x00007ff741c73216 llvm::Error::operator= E:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\llvm\include\llvm\Support\Error.h:218:0
# | #10 0x00007ff741c73216 llvm::Error::Error E:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\llvm\include\llvm\Support\Error.h:198:0
# | #11 0x00007ff741c73216 llvm::ExitOnError::operator() E:\actions-runner\_work\offload-test-suite\offload-test-suite\llvm-project\llvm\include\llvm\Support\Error.h:1476:0
# | #12 0x00007ff741c73216 run E:\actions-runner\_work\offload-test-suite\offload-test-suite\OffloadTest\tools\offloader\offloader.cpp:173:0
# | #13 0x00007ff741c72780 main E:\actions-runner\_work\offload-test-suite\offload-test-suite\OffloadTest\tools\offloader\offloader.cpp:92:0
# | #14 0x00007ff74255cc60 invoke_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78:0
# | #15 0x00007ff74255cc60 __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288:0
# | #16 0x00007ffdb4e8e8d7 (C:\WINDOWS\System32\KERNEL32.DLL+0x2e8d7)
# | #17 0x00007ffdb5bac3fc (C:\WINDOWS\SYSTEM32\ntdll.dll+0x8c3fc)
# `-----------------------------
# error: command failed with exit status: 0xc0000094
```

See https://github.com/llvm/offload-test-suite/actions/runs/24808557971/job/72608251947?pr=1041 for the full log.
Note: This is a very similar backtrace to #986, but it isn't clear to me if it's the same issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with test/Feature/TypedBuffer/64bit-scalar.test and the linked CI log, then inspect OffloadTest/lib/API/VK/Device.cpp around createDescriptorSets at line 1567 and executeProgram at line 2544. Compare the backtrace with issue #986 to determine whether the failures share a cause. Done means the Intel Vulkan run no longer crashes and the test completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
testing-qa
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.