Skip to content

[bug] wl-screenrec thread panic #130

@sand4rt

Description

@sand4rt

I ran cargo install wl-screenrec and then wl-screenrec on fedora/hyprland and got:

thread 'main' panicked at wl-screenrec-0.1.7/src/cap_wlr_screencopy.rs:99:18:
called `Option::unwrap()` on a `None` value
stack backtrace:
   0: rust_begin_unwind
   1: core::panicking::panic_fmt
   2: core::panicking::panic
   3: core::option::unwrap_failed
   4: wl_screenrec::cap_wlr_screencopy::<impl wayland_client::event_queue::Dispatch<wayland_protocols::wp::linux_dmabuf::zv1::generated::client::zwp_linux_dmabuf_feedback_v1::ZwpLinuxDmabufFeedbackV1,()> for wl_screenrec::State<wl_screenrec::cap_wlr_screencopy::CapWlrScreencopy>>::event
   5: wayland_client::event_queue::queue_callback
   6: wayland_client::event_queue::EventQueue<State>::dispatching_impl
   7: wl_screenrec::main

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions