-
Notifications
You must be signed in to change notification settings - Fork 14
Open
Description
Summary
ringboard-wayland crashes immediately after changing window focus in Sway. The error message is Protocol error 2 on object wl_display@1: no memory. This happens consistently on focus changes within the current workspace. ringboard-server continues running normally.
Steps to Reproduce
- Start
ringboard-server. - Start
ringboard-wayland. - In Sway, change window focus in the current workspace.
- ringboard-wayland crashes with the error.
Expected Behavior
ringboard-wayland should handle focus changes and clipboard events without crashing, continuing to listen for clipboard updates.
Actual Behavior
ringboard-wayland crashes with the following error:
Protocol error 2 on object wl_display@1: no memory
Error: Wayland dispatch: Backend error: Protocol error 2 on object wl_display@1: no memory
│
├─▶ Backend error: Protocol error 2 on object wl_display@1: no memory
│
╰─▶ Protocol error 2 on object wl_display@1: no memory
Environment
- Operating System: Arch Linux
- Kernel Version: 6.15.6
- Sway Version: 1.11
- wlroots Version: 0.19.0
- Ringboard Version: 0.12.0 (installed via cargo)
- Installation Method: Manual
cargo +nightly install. Followed the instructions in README, except for clipboard-history-egui, which installed usingcargo +nightly install clipboard-history-egui --no-default-features --features $XDG_SESSION_TYPE,system-fonts - Other Details: System has sufficient memory, no low-memory conditions observed
Logs
ringboard-server (with RUST_LOG=trace):
[INFO ringboard_server] Starting Ringboard server v0.12.0.
[INFO ringboard_server] Using database in "/home/jieran233/.local/share/clipboard-history".
[INFO ringboard_server] Acquired server lock.
[INFO ringboard_server::reactor] Server event loop started.
[INFO ringboard_server::reactor] Client 0 connected.
[INFO ringboard_server::requests] Processing request: MoveToFront { id: 4294967298, to: None }
[INFO ringboard_server::requests] Replying: 1@Success { id: 4294967298 }
[INFO ringboard_server::reactor] Client 0 disconnected.
ringboard-wayland (with RUST_LOG=trace):
[INFO ringboard_wayland] Starting Ringboard Wayland clipboard listener v0.12.0.
[INFO ringboard_wayland] Using configuration V1 { auto_paste: true }
[INFO clipboard_history_watcher_utils::deduplication] Loading the previous 0 entries in Favorites ring for duplicate detection.
[INFO clipboard_history_watcher_utils::deduplication] Loading the previous 3 entries in Main ring for duplicate detection.
[INFO ringboard_wayland] Starting event loop.
[INFO ringboard_wayland] Starting transfer for peer 0 of mime "text/plain".
[INFO ringboard_wayland] Promoting duplicate entry from peer 0 on mime "text/plain" to front.
Protocol error 2 on object wl_display@1: no memory
Error: Wayland dispatch: Backend error: Protocol error 2 on object wl_display@1: no memory
│
├─▶ Backend error: Protocol error 2 on object wl_display@1: no memory
│
╰─▶ Protocol error 2 on object wl_display@1: no memory
Metadata
Metadata
Assignees
Labels
No labels