Skip to content

Sporadic desktop app crash caused by panic in wgpu #7840

@KonaeAkira

Description

@KonaeAkira

One of the users of raphael-rs reported sporadic crashes that happened randomly during the desktop application's lifetime (could be right after startup, could be after a while). The crashlog pointed to a panic in egui-wgpu:

[ERROR] panicked at C:\Users\runneradmin.cargo\registry\src\index.crates.io-1949cf8c6b5b557f\egui-wgpu-0.33.3\src\renderer.rs:958:17:
    Failed to create staging buffer for index data. Index count: 20544. Required index buffer size: 82176. Actual size 124656 and capacity: 124656 (bytes)

The system info of the user who reported the crash:

OS: Windows 10 Pro 22H2 (19045.6466)
Hardware: Intel i7-12700F, 32 GB, NVIDIA RTX 3070 (8 GB)
Graphics driver: NVIDIA 32.0.15.6094

I could not reproduce the crash myself and I also don't know what is causing it. Is this a egui-wgpu issue?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is broken

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions