Skip to content

OffloadTest-d3d12 :: Feature/HLSLLib/max.int64.test #411

@farzonl

Description

@farzonl

This is a crash in the driver:
application performed an illegal or undefined operation

specifically, it looks like an overflow

# .---command stderr------------
# | C:\Users\farzonlotfi\projects\llvm-rel-with-deb-build\tools\OffloadTest\test\d3d12\Feature\HLSLLib\Output\max.int64.test.tmp/source.hlsl:16:26: warning: overflow in the expression when converting to 'literal int' type [-Wconst-expr-overflow]
# |   Out0[3] = max(int64_t4(-9223372036854775808, -10, 10, 9223372036854775807), int64_t4(0, 10, 15, 0));
# |                          ^
# | C:\Users\farzonlotfi\projects\llvm-rel-with-deb-build\tools\OffloadTest\test\d3d12\Feature\HLSLLib\Output\max.int64.test.tmp/source.hlsl:16:26: warning: overflow in the expression when converting to 'literal int' type [-Wconst-expr-overflow]
# |
# `-----------------------------
# .---command stdout------------
# | Using DirectX API
# | Configuring execution on device: Radeon RX 580 Series
# | RootSignature created.
# | Descriptor heap created.
# `-----------------------------
# .---command stderr------------
# | PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace.
# | Stack dump:
# | 0.  Program arguments: c:\\users\\farzonlotfi\\projects\\llvm-rel-with-deb-build\\bin\\offloader.exe -debug-layer C:\\Users\\farzonlotfi\\projects\\llvm-rel-with-deb-build\\tools\\OffloadTest\\test\\d3d12\\Feature\\HLSLLib\\Output\\max.int64.test.tmp/pipeline.yaml C:\\Users\\farzonlotfi\\projects\\llvm-rel-with-deb-build\\tools\\OffloadTest\\test\\d3d12\\Feature\\HLSLLib\\Output\\max.int64.test.tmp.o
# | D3D: ID3D12Device::RemoveDevice: Device removal has been triggered for the following reason (DXGI_ERROR_DRIVER_INTERNAL_ERROR: There is strong evidence that the driver has performed an undefined operation; but it may be because the application performed an illegal or undefined operation to begin with.).
# | Exception Code: 0x0000087A
# |  #0 0x00007ffd4b177f7a (C:\WINDOWS\System32\KERNELBASE.dll+0xc7f7a)
# |  #1 0x00007ffd14244f4f (C:\WINDOWS\SYSTEM32\DXGIDebug.dll+0x4f4f)
# |  #2 0x00007ffcd8b39678 (C:\WINDOWS\SYSTEM32\D3D12SDKLayers.dll+0x1c9678)
# |  #3 0x00007ffcd8a88b46 (C:\WINDOWS\SYSTEM32\D3D12SDKLayers.dll+0x118b46)
# |  #4 0x00007ffcd8a6e317 (C:\WINDOWS\SYSTEM32\D3D12SDKLayers.dll+0xfe317)
# |  #5 0x00007ffcd8a87963 (C:\WINDOWS\SYSTEM32\D3D12SDKLayers.dll+0x117963)
# |  #6 0x00007ffceb4f48b8 (C:\WINDOWS\SYSTEM32\D3D12Core.dll+0xc48b8)
# |  #7 0x00007ffceb459370 (C:\WINDOWS\SYSTEM32\D3D12Core.dll+0x29370)
# |  #8 0x00007ffceb4a5c38 (C:\WINDOWS\SYSTEM32\D3D12Core.dll+0x75c38)
# |  #9 0x00007ffceb4a599a (C:\WINDOWS\SYSTEM32\D3D12Core.dll+0x7599a)
# | #10 0x00007ffceb4a576c (C:\WINDOWS\SYSTEM32\D3D12Core.dll+0x7576c)
# | #11 0x00007ffceb455e4a (C:\WINDOWS\SYSTEM32\D3D12Core.dll+0x25e4a)
# | #12 0x00007ffceb4a878b (C:\WINDOWS\SYSTEM32\D3D12Core.dll+0x7878b)
# | #13 0x00007ffcd8a9ff5e (C:\WINDOWS\SYSTEM32\D3D12SDKLayers.dll+0x12ff5e)
# | #14 0x00007ffcd8a74b86 (C:\WINDOWS\SYSTEM32\D3D12SDKLayers.dll+0x104b86)
# | #15 0x00007ffcd8a76192 (C:\WINDOWS\SYSTEM32\D3D12SDKLayers.dll+0x106192)
# | #16 0x00007ffcf9da1697 (C:\WINDOWS\SYSTEM32\d3d12.dll+0x1697)
# | #17 0x00007ffceb4acdb2 (C:\WINDOWS\SYSTEM32\D3D12Core.dll+0x7cdb2)
# | #18 0x00007ffceb4a9b6d (C:\WINDOWS\SYSTEM32\D3D12Core.dll+0x79b6d)
# | #19 0x00007ffcd8a7271a (C:\WINDOWS\SYSTEM32\D3D12SDKLayers.dll+0x10271a)
# | #20 0x00007ff646cbe87e HR::toError C:\Users\farzonlotfi\projects\offload-test-suite\include\Support\WinError.h:20:0
# | #21 0x00007ff646cbe87e `anonymous namespace'::DXDevice::createPSO C:\Users\farzonlotfi\projects\offload-test-suite\lib\API\DX\Device.cpp:464:0
# | #22 0x00007ff646cbe87e `anonymous namespace'::DXDevice::executeProgram C:\Users\farzonlotfi\projects\offload-test-suite\lib\API\DX\Device.cpp:1144:0
# | #23 0x00007ff646be34d1 run C:\Users\farzonlotfi\projects\offload-test-suite\tools\offloader\offloader.cpp:149:0
# | #24 0x00007ff646be2bc8 main C:\Users\farzonlotfi\projects\offload-test-suite\tools\offloader\offloader.cpp:86:0
# | #25 0x00007ff64746e5a0 invoke_main D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:78:0
# | #26 0x00007ff64746e5a0 __scrt_common_main_seh D:\a\_work\1\s\src\vctools\crt\vcstartup\src\startup\exe_common.inl:288:0
# | #27 0x00007ffd4ca1e8d7 (C:\WINDOWS\System32\KERNEL32.DLL+0x2e8d7)
# | #28 0x00007ffd4d8bc34c (C:\WINDOWS\SYSTEM32\ntdll.dll+0x3c34c)
# `-----------------------------
# error: command failed with exit status: 0x87a

--

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions