gpu-allocator icon indicating copy to clipboard operation
gpu-allocator copied to clipboard

Visualizer UI subtract with underflow

Open janie177 opened this issue 3 years ago • 1 comments

When using the visualizer's UI to look at multiple memory blocks, a condition can be met where closing one of the windows causes the program to panic.

Error message:

'attempt to subtract with overflow'

The line where it panics:

gpu-allocator-0.21.0\src\vulkan\visualizer.rs:256

janie177 avatar Dec 13 '22 14:12 janie177

https://github.com/Traverse-Research/gpu-allocator/blob/b92f7ccc116114bece29a5b75e6e93cf47adf3dd/src/vulkan/visualizer.rs#L256

MarijnS95 avatar Dec 13 '22 16:12 MarijnS95