Supreeeme / xwayland-satellite

Xwayland outside your Wayland
Mozilla Public License 2.0
94 stars 4 forks source link

Crash if surface is deleted before window #13

Closed Supreeeme closed 1 month ago

Supreeeme commented 1 month ago
thread 'main' panicked at src/server/mod.rs:529:53:
invalid HopSlotMap key used
stack backtrace:
   0: std::panicking::begin_panic
             at /rustc/9b00956e56009bab2aa15d7bff10916599e3d6d6/library/std/src/panicking.rs:686:12
   1: index<xwayland_satellite::server::ObjectKey, xwayland_satellite::server::WrappedObject>
             at /var/home/yalter/.cargo/registry/src/index.crates.io-6f17d22bba15001f/slotmap-1.0.7/src/hop.rs:1013:21
   2: set_win_class<alloc::sync::Arc<xcb::base::Connection, alloc::alloc::Global>>
             at ./src/server/mod.rs:529:53
   3: handle_window_attributes
             at ./src/xstate.rs:356:13
   4: handle_events
             at ./src/xstate.rs:205:21
   5: main<xwayland_satellite::RealData>
             at ./src/lib.rs:156:13
   6: main
             at ./src/main.rs:6:5

reproduce: open steam, click a button on menu bar, spam mouse left and right