sharkdp / binocle

a graphical tool to visualize binary data
Apache License 2.0
1.12k stars 32 forks source link

ERROR wgpu::backend::direct #25

Closed slowkow closed 3 years ago

slowkow commented 3 years ago

I installed with cargo install binocle

Then I tried running on an MP4 file (seems I get the same error for any file):

binocle circles1.mp4

And this is what I got:

[2021-10-04T16:49:23Z ERROR wgpu::backend::direct] Handling wgpu errors as fatal by default
thread 'main' panicked at 'wgpu error: Validation Error

Caused by:
    In a RenderPass
      note: encoder = `pixels_command_encoder`
    In a set_scissor_rect command
    Invalid ScissorRect parameters

', /Users/kamil/.cargo/registry/src/github.com-1ecc6299db9ec823/wgpu-0.10.2/src/backend/direct.rs:2160:5
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
-[_MTLCommandEncoder dealloc]:70: failed assertion `Command encoder released without endEncoding'
Abort trap: 6

Here is some information about my system:

rustup show
Default host: x86_64-apple-darwin
rustup home:  /Users/kamil/.rustup

stable-x86_64-apple-darwin (default)
rustc 1.55.0 (c8dfcfe04 2021-09-06)
slowkow commented 3 years ago

I think that maybe this issue is a duplicate of #24

More information on my system:

macOS Catalina 10.15.7 (19H1419)