Traverse-Research / Traverse-Research/gpu-allocator
Visualizer UI subtract with underflow
Open
Nobody has claimed this yet.
bug
rust
- Dominant language
- Rust
- Stars
- 497
- Forks
- 82
- Avg merge
- 18d 17h
- Merged PRs (30d)
- 1
Description
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
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at gpu-allocator-0.21.0/src/vulkan/visualizer.rs:256 and reproduce the panic by viewing multiple memory blocks in the visualizer UI, then closing one window. Trace the window and memory-block state involved in the subtraction. Done means closing windows in that scenario no longer panics.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100