Skip to content

Error occurred while trying to get capabilities: Ddc(Invalid("Expected DDC/CI length bit")) #7

@dimaryaz

Description

@dimaryaz

I get a crash when I try the debug command:

$ RUST_BACKTRACE=full monitorctl debug
thread '<unnamed>' panicked at 'Error occurred while trying to get capabilities: Ddc(Invalid("Expected DDC/CI length bit"))', src/monitor.rs:90:14
stack backtrace:
   0:     0x55c2f77946b0 - std::backtrace_rs::backtrace::libunwind::trace::hbb65baf894db8c68
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x55c2f77946b0 - std::backtrace_rs::backtrace::trace_unsynchronized::h0e03ba5e809c4954
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x55c2f77946b0 - std::sys_common::backtrace::_print_fmt::h041403450149d7c0
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/sys_common/backtrace.rs:65:5
   3:     0x55c2f77946b0 - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h243893eacc816eeb
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x55c2f7754a7e - core::fmt::write::hff5a41730d602293
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/core/src/fmt/mod.rs:1213:17
   5:     0x55c2f7774094 - std::io::Write::write_fmt::h7d17a7d392206491
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/io/mod.rs:1682:15
   6:     0x55c2f7795d5f - std::sys_common::backtrace::_print::h1af2dbf04474a957
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/sys_common/backtrace.rs:47:5
   7:     0x55c2f7795d5f - std::sys_common::backtrace::print::h103649e0239208bd
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/sys_common/backtrace.rs:34:9
   8:     0x55c2f779595f - std::panicking::default_hook::{{closure}}::hc67713d71c172682
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/panicking.rs:267:22
   9:     0x55c2f77969ed - std::panicking::default_hook::h27620c482a8179d2
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/panicking.rs:286:9
  10:     0x55c2f77969ed - std::panicking::rust_panic_with_hook::ha6ce20655fba4305
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/panicking.rs:688:13
  11:     0x55c2f77964c4 - std::panicking::begin_panic_handler::{{closure}}::h04e79fe6d651776e
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/panicking.rs:579:13
  12:     0x55c2f779642c - std::sys_common::backtrace::__rust_end_short_backtrace::h054638280f769b77
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/sys_common/backtrace.rs:137:18
  13:     0x55c2f7796401 - rust_begin_unwind
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/panicking.rs:575:5
  14:     0x55c2f77197a2 - core::panicking::panic_fmt::hdb49e6aa04f4240c
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/core/src/panicking.rs:64:14
  15:     0x55c2f7719ba2 - core::result::unwrap_failed::hb871c46813e7a840
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/core/src/result.rs:1790:5
  16:     0x55c2f771c852 - std::sys_common::backtrace::__rust_begin_short_backtrace::h279b0d26f8616f5b
  17:     0x55c2f77646c4 - core::ops::function::FnOnce::call_once{{vtable.shim}}::h0ec501edb78c7997
  18:     0x55c2f7797195 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::ha3a3557431c34d1b
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/alloc/src/boxed.rs:1988:9
  19:     0x55c2f7797195 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::h135ae68a2b49a849
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/alloc/src/boxed.rs:1988:9
  20:     0x55c2f7797195 - std::sys::unix::thread::Thread::new::thread_start::h1b19f9317554c1be
                               at /builddir/build/BUILD/rustc-1.68.2-src/library/std/src/sys/unix/thread.rs:108:17
  21:     0x7fcaa5ff0c57 - start_thread
  22:     0x7fcaa6076a70 - __clone3
  23:                0x0 - <unknown>
Aborted (core dumped)

I'm running Fedora 38.

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