zakarumych / gpu-alloc

Implementation agnostic memory allocator for Vulkan-like APIs
Other
86 stars 18 forks source link

Assertion failed: Greater == Equal #46

Closed kvark closed 3 years ago

kvark commented 3 years ago

Created from https://github.com/gfx-rs/wgpu/issues/1364

Panic Payload: "assertion failed: (left == right)\n left: Greater,\n right: Equal" PanicInfo: panicked at 'assertion failed: (left == right) left: Greater, right: Equal', /Users/bronson/.cargo/registry/src/github.com-1ecc6299db9ec823/gpu-alloc-0.4.4/src/freelist.rs:201:9

Repro steps:

# download and unpack trace-cross.zip
# add "]" to the end
# s/Metal/Vulkan/g (assuming you are on Vulkan?)
git clone https://github.com/gfx-rs/wgpu
cd wgpu/player
cargo run --features winit,cross -- <path to unpacked trace>

Edit: actually, the repro case doesn't work for me.

zakarumych commented 3 years ago

The problem was caused by invalid assert. Patch published.