Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on queue_submit #3617

Closed
Tracked by #2719
xiaopengli89 opened this issue Mar 23, 2023 · 2 comments
Closed
Tracked by #2719

Crash on queue_submit #3617

xiaopengli89 opened this issue Mar 23, 2023 · 2 comments
Labels
api: dx12 Issues with DX12 or DXGI type: bug Something isn't working

Comments

@xiaopengli89
Copy link
Contributor

Description

Operating system: Windows NT
                  10.0.19045 2364
CPU: amd64
     family 6 model 158 stepping 10
     6 CPUs

GPU: UNKNOWN

Crash reason:  EXCEPTION_ACCESS_VIOLATION_WRITE
Crash address: 0xbf0
Exception code: 0xc0000005
Process uptime: 5 seconds

#0 Thread 6848 (crashed)
 0  igd12umd64.dll + 0xaf640
    rax = 0x000001b427e7e3e0   rdx = 0x000001b427e7e3e0
    rcx = 0x000001b428182f40   rbx = 0x000001b427e7e3f0
    rsi = 0x0000fffffffffffc   rdi = 0x0000000000000000
    rbp = 0x000001b427e7e140   rsp = 0x0000005351757d40
     r8 = 0x000001b428180d10    r9 = 0x0000000000000000
    r10 = 0x0000000000000bf8   r11 = 0x000001b428259280
    r12 = 0x000001b41e9e2d90   r13 = 0x0000000000000000
    r14 = 0x000001b42819f110   r15 = 0x0000005351757e48
    rip = 0x00007ffd715bf640
    Found by: given as instruction pointer in context
 1  igd12umd64.dll + 0xcd832
    rax = 0x000001b427e7e3e0   rdx = 0x000001b427e7e3e0
    rcx = 0x000001b428182f40   rbx = 0x000001b427e7e3f0
    rsi = 0x0000fffffffffffc   rdi = 0x0000000000000000
    rbp = 0x000001b427e7e140   rsp = 0x0000005351757d50
     r8 = 0x000001b428180d10    r9 = 0x0000000000000000
    r10 = 0x0000000000000bf8   r11 = 0x000001b428259280
    r12 = 0x000001b41e9e2d90   r13 = 0x0000000000000000
    r14 = 0x000001b42819f110   r15 = 0x0000005351757e48
    rip = 0x00007ffd715dd832
    Found by: simulating a return from leaf function
 2  D3D12Core.dll!CLayeredObject<CGraphicsCommandQueue>::QueryInterface(_GUID const &,void * *) + 0x58
    rbp = 0x000001b427e7e140   rsp = 0x0000005351757d70
    rip = 0x00007ffd724acc18
    Found by: stack scanning
 3  0x1b42819f110
    rbp = 0x000001b427e7e140   rsp = 0x0000005351757da0
    rip = 0x000001b42819f110
    Found by: call frame info
 4  igd12umd64.dll + 0xcd5c2
    rbp = 0x000001b427e7e140   rsp = 0x0000005351757dc0
    rip = 0x00007ffd715dd5c2
    Found by: stack scanning
 5  D3D12Core.dll!std::vector<hlsl::RDAT::DxilResourceDesc *,std::allocator<hlsl::RDAT::DxilResourceDesc *> >::_Emplace_reallocate<hlsl::RDAT::DxilResourceDesc * &>(hlsl::RDAT::DxilResourceDesc * * const,hlsl::RDAT::DxilResourceDesc * &) + 0x152
    rbp = 0x000001b427e7e140   rsp = 0x0000005351757e10
    rip = 0x00007ffd72479ea2
    Found by: stack scanning
 6  D3D12Core.dll!CCommandQueue<0>::ExecuteCommandListsImpl(unsigned int,ID3D12CommandList * const *) + 0x52d
    rbp = 0x000001b427e7e140   rsp = 0x0000005351757e60
    rip = 0x00007ffd72518625
    Found by: call frame info
 7  D3D12Core.dll!CCommandQueue<0>::ExecuteCommandLists(unsigned int,ID3D12CommandList * const *) + 0x43
    rbp = 0x000001b427e7e140   rsp = 0x00000053517580d0
    rip = 0x00007ffd72515af3
    Found by: call frame info
 8  example.exe!void d3d12::com::WeakPtr<winapi::um::d3d12::ID3D12CommandQueue>::execute_command_lists(struct slice$<d3d12::com::WeakPtr<winapi::um::d3d12::ID3D12CommandList> >) [C:\Users\ContainerAdministrator\.cargo\registry\src\rsproxy.cn-8f6827c7555bfaf8\d3d12-0.5.0\src\queue.rs : 20 + 0x2b]
    rbp = 0x000001b427e7e140   rsp = 0x0000005351758100
    rip = 0x00007ff7274957db
    Found by: call frame info
 9  example.exe!struct alloc::vec::Vec<ref$<wgpu_hal::dx12::CommandBuffer>,alloc::alloc::Global> alloc::vec::spec_from_iter::impl$0::from_iter<ref$<wgpu_hal::dx12::CommandBuffer>,core::iter::adapters::chain::Chain<core::option::IntoIter<ref$<wgpu_hal::dx12::CommandBuffer> >,core::iter::adapters::flatten::FlatMap<core::slice::iter::Iter<wgpu_core::device::queue::EncoderInFlight<wgpu_hal::dx12::Api> >,core::slice::iter::Iter<wgpu_hal::dx12::CommandBuffer>,wgpu_core::device::queue::impl$5::queue_submit::closure_env$5<wgpu_core::hub::IdentityManagerFactory,wgpu_hal::dx12::Api> > > >(struct core::iter::adapters::chain::Chain<core::option::IntoIter<ref$<wgpu_hal::dx12::CommandBuffer> >,core::iter::adapters::flatten::FlatMap<core::slice::iter::Iter<wgpu_core::device::queue::EncoderInFlight<wgpu_hal::dx12::Api> >,core::slice::iter::Iter<wgpu_hal::dx12::CommandBuffer>,wgpu_core::device::queue::impl$5::queue_submit::closure_env$5<wgpu_core::hub::IdentityManagerFactory,wgpu_hal::dx12::Api> > >) [/rustc/b31f9cc22bcd720b37ddf927afe378108a5b9a54\library\alloc\src\vec\spec_from_iter.rs : 33 + 0x19]
    rbp = 0x000001b427e7e140   rsp = 0x0000005351758120
    rip = 0x00007ff7271f2398
    Found by: stack scanning
10  example.exe!union enum$<core::result::Result<tuple$<>,wgpu_hal::DeviceError>, 0, 1, Err> wgpu_hal::dx12::impl$43::submit(struct wgpu_hal::dx12::Queue *, struct slice$<ref$<wgpu_hal::dx12::CommandBuffer> >, union enum$<core::option::Option<tuple$<ref_mut$<wgpu_hal::dx12::Fence>,u64> >, 1, 18446744073709551615, Some>) [C:\Users\ContainerAdministrator\.cargo\git\checkouts\wgpu-b96625e2092b7c4b\1c0d989\wgpu-hal\src\dx12\mod.rs : 769 + 0x8]
    rbp = 0x000001b427e7e140   rsp = 0x0000005351758140
    rip = 0x00007ff7274833ed
    Found by: stack scanning
11  example.exe!union enum$<core::result::Result<wgpu_core::device::queue::WrappedSubmissionIndex,enum$<wgpu_core::device::queue::QueueSubmitError> > > wgpu_core::hub::Global<wgpu_core::hub::IdentityManagerFactory>::queue_submit<wgpu_core::hub::IdentityManagerFactory,wgpu_hal::dx12::Api>(struct wgpu_core::id::Id<wgpu_core::device::Device<wgpu_hal::empty::Api> >, struct slice$<wgpu_core::id::Id<wgpu_core::command::CommandBuffer<wgpu_hal::empty::Api> > >) [C:\Users\ContainerAdministrator\.cargo\git\checkouts\wgpu-b96625e2092b7c4b\1c0d989\wgpu-core\src\device\queue.rs : 1104 + 0x1d]
    rbp = 0x000001b427e7e140   rsp = 0x00000053517581b0
    rip = 0x00007ff7271fbb31
    Found by: stack scanning

Platform
Windows 10.0.19045 2364, UHD 630, wgpu 0.13

@teoxoy teoxoy added type: bug Something isn't working api: dx12 Issues with DX12 or DXGI labels Apr 24, 2023
@teoxoy
Copy link
Member

teoxoy commented Apr 24, 2023

Can you share a minimum reproducible example?

@xiaopengli89
Copy link
Contributor Author

The problem cannot be reproduced, I will close the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dx12 Issues with DX12 or DXGI type: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants