Skip to content

Crashes with protocol error 3 on Niri #8

@bitbloxhub

Description

@bitbloxhub

Running with RUST_BACKTRACE=full:

 Protocol error  3  on object 0xdg_surface: @ 58
  Protocol error 0x35d9fdfc3ec0a on object  - xdg_surface@<58std
::sys::backtraceProtocol error ::3BacktraceLock on object ::xdg_surfaceprint@::58DisplayBacktrace
 asProtocol error  3core on object ::fmtxdg_surface::@Display58>
::fmt::h146b70d74c048d79
Protocol error 3 on object xdg_surface @ 58
1Protocol error : 3  on object  xdg_surface @ 580x
5d9fdf5aa32a - core::Protocol error fmt3::write on object ::xdg_surfaceh51386424c21d3e45@
58
  Protocol error  32 on object : xdg_surface @ 58
 0x5d9fdfc3f466 - stdProtocol error ::3io on object ::xdg_surfacedefault_write_fmt@::58h47a11ac8bae1d5ef

Protocol error  3  on object  xdg_surface3@: 58
   0x5d9fdfc3c803Protocol error  - 3std on object ::xdg_surfacepanicking@::58default_hook
::Protocol error {3{ on object closurexdg_surface}@}58::
h462d29ed9732de2f
   4:     0x5d9fdfc3c6a5 - std::panickingProtocol error ::default_hook3:: on object h682fafcf73fec659xdg_surface
@58
   Protocol error 53:  on object  xdg_surface @ 58
0x5d9fdfc3ca12 - std::Protocol error panicking3:: on object panic_with_hook::xdg_surfaceh10639e56d0a2a34c@
58
  Protocol error  36 on object : xdg_surface @ 58
 0x5d9fdfc3c8daProtocol error  - 3std on object ::xdg_surfacepanicking@::58panic_handler
::Protocol error {3{ on object closurexdg_surface}@}58::
h4728219671baa18c
 Protocol error  3  on object 7xdg_surface: @ 58
 Protocol error  30x on object 5d9fdfc3c0d9xdg_surface - @std58::
sys::backtrace::Protocol error 3__rust_end_short_backtrace on object ::xdg_surfaceh7dc7f75ff139bf56@
58
 Protocol error  3  on object 8xdg_surface: @58
   0xProtocol error 5d9fdfc3859d3 -  on object __rustcxdg_surface[@43118a2d2b012dd58]
::Protocol error rust_begin_unwind3
 on object xdg_surface @ 58
9:   Protocol error  3  on object 0xxdg_surface5d9fdf51844c@ - 58core
::Protocol error panicking3:: on object panic_fmtxdg_surface::@h88511d505791b67458

  10Protocol error : 3  on object  xdg_surface @ 580x
5d9fdf518412Protocol error  - 3core on object ::xdg_surfacepanicking@::58panic
::h1504b2a348a2a162
Protocol error  3  on object 11xdg_surface: @ 58
 Protocol error  30x on object 5d9fdf518039xdg_surface - @core58::
option::unwrap_failed::Protocol error h13865052535ddb303
 on object xdg_surface@58
 Protocol error  312 on object : xdg_surface @ 58
 0x5d9fdfebcf79 - Protocol error wgpu_hal3:: on object glesxdg_surface::@queue58::
<Protocol error impl3  on object wgpu_halxdg_surface::@Queue58
for wgpu_hal::glesProtocol error ::3Queue on object >xdg_surface::@present58::
h918e2665aae9463dProtocol error
3 on object xdg_surface @ 5813
:     0xProtocol error 5d9fdfdc6cbb3 -  on object <xdg_surfaceQ@ 58as
 wgpu_halProtocol error ::3dynamic on object ::xdg_surfacequeue@::58DynQueue
>::present::h40e59e736c811aac
Protocol error 3  on object  xdg_surface14@: 58
  Protocol error  30x on object 5d9fdfe73413xdg_surface - @wgpu_core58::
present::<impl wgpu_coreProtocol error ::3instance on object ::xdg_surfaceSurface@>58::
present::Protocol error h7ec7cea47f6ab2933
 on object xdg_surface@ 58
15:    Protocol error  30x on object 5d9fdfd7cfebxdg_surface - @wgpu58::
apiProtocol error ::3surface_texture on object ::xdg_surfaceSurfaceTexture@::58present
::heac5d45519fafcb4
Protocol error  3  on object 16xdg_surface: @ 58
  Protocol error 0x35d9fdf93d99e on object  - xdg_surfaceiced_layershell@::58multi_window
::Context<P,EProtocol error ,3C on object >xdg_surface::@handle_refresh_event58::
h79567d66dd0b0ce5Protocol error
3 on object  xdg_surface @1758:
    Protocol error 0x35d9fdf92e263 on object  - xdg_surfaceiced_layershell@::58multi_window
::ContextProtocol error <3P on object ,xdg_surfaceE@,58C
>::handle_event::h8129b2ff08f57067
Protocol error  3  on object 18xdg_surface: @ 58
 Protocol error  30x on object 5d9fdf93fbf0xdg_surface - @iced_layershell58::
multi_window::run::{Protocol error {3closure on object }xdg_surface}@::58h6a2b1ed53179d77d

Protocol error 3  on object  xdg_surface19@: 58
   0xProtocol error 5d9fdf8a21c13 -  on object layershellevxdg_surface::@WindowState58<
T>Protocol error ::3running_with_proxy_option on object ::xdg_surface{@{58closure
}}::h450a8748b894da1c
Protocol error  3  on object 20xdg_surface: @ 58
 Protocol error  30x on object 5d9fdf895e3cxdg_surface - @layershellev58::
WindowState<T>::Protocol error running_with_proxy_option3:: on object h64d784fee355bc78xdg_surface
@ 58
21Protocol error : 3  on object  xdg_surface @ 580x
5d9fdf8483c2 - openmeters::main::h26394a7b28ac8d40
Protocol error  3  on object 22xdg_surface: @ 58
  Protocol error 0x35d9fdf962a76 on object  - xdg_surfacestd@::58sys
::backtrace::__rust_begin_short_backtrace::ha5506493af99d30dProtocol error
3  on object  xdg_surface23@: 58
  Protocol error  30x on object 5d9fdf96120cxdg_surface - @std58::
rt::lang_start::{Protocol error {3closure on object }xdg_surface}@::58hb7eea6ca61e90193

Protocol error 3  on object  xdg_surface24@: 58
   Protocol error 0x35d9fdfc3aeb7 on object  - xdg_surfacestd@::58rt
::Protocol error lang_start_internal3:: on object h5f328771995ea445xdg_surface
@58
  Protocol error 253:  on object  xdg_surface @ 58
0xProtocol error 5d9fdfb0f15d3 -  on object mainxdg_surface
@58
Protocol error 3 on object xdg_surface@58
Protocol error 3 on object xdg_surface@58
Protocol error 3 on object xdg_surface@58

Reproduction:

  • run openmeters on niri
  • enable all meters
  • right-click on a meter
  • go back to the main window, leaving the window for the settings of the first meter open
  • right-click on another meter
  • it dies

See NixOS/nixpkgs#521029 (comment)

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