bevyengine / bevyengine/bevy

Segmentation fault on loading 3d examples

Open
#15,046 2 comments 0 reactions 0 assignees View on GitHub
A-Rendering C-Bug I-Crash O-DX12 O-Windows S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## 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`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.