Skip to content

Segmentation fault on loading 3d examples #15046

@Will-Carson

Description

@Will-Carson

Bevy version

0.15

Relevant system information

Rust version: cargo 1.80.1 (376290515 2024-07-16)
OS: Windows 11 Business
GPU: AMD Radeon 780M

What you did

I ran the example cargo run --example 3d_shapes

What went wrong

I expected not to segfault. Instead I segfaulted.

Additional information

All error text:
2024-09-05T00:30:38.510611Z INFO bevy_diagnostic::system_information_diagnostics_plugin::internal: SystemInfo { os: "Windows 11 Pro", kernel: "22631", cpu: "AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics", core_count: "8", memory: "30.7 GiB" } 2024-09-05T00:30:38.744435Z INFO bevy_render::renderer: AdapterInfo { name: "AMD Radeon(TM) 780M", vendor: 4098, device: 5567, device_type: IntegratedGpu, driver: "AMD proprietary driver", driver_info: "23.20.48.10 (LLPC)", backend: Vulkan } 2024-09-05T00:30:39.649581Z INFO bevy_winit::system: Creating new window "App" (0v1#4294967296) 2024-09-05T00:30:39.943042Z ERROR wgpu_hal::auxil::dxgi::exception: ID3D12CommandQueue::ExecuteCommandLists: Using ClearRenderTargetView on Command List (0x000001C6EC93EC80:'Unnamed ID3D12GraphicsCommandList Object'): Resource state (0x5A37DA70: D3D12_RESOURCE_STATE_[COMMON|PRESENT]) of resource (0x000001C6EC93A090:'Unnamed ID3D12Resource Object') (subresource: 0) is invalid for use as a render target. Expected State Bits (all): 0x5A37DA50: D3D12_RESOURCE_STATE_RENDER_TARGET, Actual State: 0x5A37DA30: D3D12_RESOURCE_STATE_[COMMON|PRESENT], Missing State: 0x4: D3D12_RESOURCE_STATE_RENDER_TARGET. [ EXECUTION ERROR #538: INVALID_SUBRESOURCE_STATE] error: process didn't exit successfully: target\debug\examples\3d_shapes.exe (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION) Segmentation fault

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-BugAn unexpected or incorrect behaviorO-DX12Specific to the DX12 render APIO-WindowsSpecific to the Windows desktop operating systemP-CrashA sudden unexpected crashS-Needs-InvestigationThis issue requires detective work to figure out what's going wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions