Smithay / smithay-clipboard

Provides access to the wayland clipboard for client applications
MIT License
29 stars 12 forks source link

Crash when running in WSL2 #52

Closed araraloren closed 8 months ago

araraloren commented 11 months ago

I am running a demo code of slint on WSL2, smithay-clipboard is crashed. Slint

Platform: WSL2 Fedora release 39 (Thirty Nine) Slint: 1.3.2

Io error: Broken pipe (os error 32)
thread 'Io error: smithay-clipboard' panicked at /home/xxxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smithay-clipboard-0.7.0/src/worker.rs:98Broken pipe: (os error 4732:
)called `Result::unwrap()` on an `Err` value: OtherError(IoError(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }))

stack backtrace:
Io error: Broken pipe (os error 32)
   0: rust_begin_unwind
             at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/std/src/panicking.rs:597:5
   1: core::panicking::panic_fmt
             at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/panicking.rs:72:14
   2: core::result::unwrap_failed
             at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/result.rs:1652:5
   3: core::result::Result<T,E>::unwrap
             at /rustc/79e9716c980570bfd1f666e3b16ac583f0168962/library/core/src/result.rs:1077:23
   4: smithay_clipboard::worker::worker_impl
             at /home/xxxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smithay-clipboard-0.7.0/src/worker.rs:98:9
   5: smithay_clipboard::worker::spawn::{{closure}}
             at /home/xxxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smithay-clipboard-0.7.0/src/worker.rs:23:13
note: Some details are omitted, run with `RUST_BACKTRACE=full` for a verbose backtrace.
Error: Other("Error running winit event loop: Exit Failure: 1")

 *  The terminal process "cargo 'run', '--package', 'slint-demo', '--bin', 'slint-demo'" terminated with exit code: 1. 
 *  Terminal will be reused by tasks, press any key to close it.
fn main() -> Result<(), Box<dyn std::error::Error>> {
    MainWindow::new()?.run()?;
    Ok(())
}

slint::slint! {
    export component MainWindow inherits Window {
        Text {
            text: "Hello World!";
            color: red;
        }
    }
}

Running with cargo run, with default feature.

elinorbgr commented 11 months ago

Could you provide the full log generated by running it (both stdout and stderr) with the WAYLAND_DEBUG=1 environment variable set ?

It really looks like this panic is just a symptom, and that the underlying issue may be that your Wayland connection was unexpectedly closed. This log would give more info on that.

araraloren commented 11 months ago

@elinorbgr

[1171983.378]  -> wl_display@1.get_registry(new id wl_registry@2)
[1171983.436]  -> wl_display@1.sync(new id wl_callback@3)
[1171983.539] wl_display@1.delete_id(3)
[1171983.566] wl_registry@2.global(1, "wl_compositor", 4)
[1171983.617] wl_registry@2.global(2, "wl_subcompositor", 1)
[1171983.637] wl_registry@2.global(3, "wp_viewporter", 1)
[1171983.642] wl_registry@2.global(4, "zxdg_output_manager_v1", 2)
[1171983.647] wl_registry@2.global(5, "wp_presentation", 1)
[1171983.653] wl_registry@2.global(6, "zwp_relative_pointer_manager_v1", 1)
[1171983.657] wl_registry@2.global(7, "zwp_pointer_constraints_v1", 1)
[1171983.662] wl_registry@2.global(8, "zwp_input_timestamps_manager_v1", 1)
[1171983.666] wl_registry@2.global(9, "wl_data_device_manager", 3)
[1171983.671] wl_registry@2.global(10, "wl_shm", 1)
[1171983.676] wl_registry@2.global(11, "wl_output", 3)
[1171983.680] wl_registry@2.global(12, "zwp_input_panel_v1", 1)
[1171983.685] wl_registry@2.global(13, "zwp_text_input_manager_v1", 1)
[1171983.689] wl_registry@2.global(14, "xdg_wm_base", 1)
[1171983.694] wl_registry@2.global(15, "zxdg_shell_v6", 1)
[1171983.699] wl_registry@2.global(16, "wl_shell", 1)
[1171983.703] wl_registry@2.global(17, "weston_rdprail_shell", 1)
[1171983.708] wl_registry@2.global(18, "weston_screenshooter", 1)
[1171983.713] wl_registry@2.global(19, "wl_seat", 7)
[1171983.719] wl_registry@2.global(20, "zwp_input_method_v1", 1)
[1171983.725] wl_registry@2.global(21, "wl_output", 3)
[1171983.729] wl_callback@3.done(1)
[1171983.817]  -> wl_registry@2.bind(1, "wl_compositor", 4, new id [unknown]@3)
[1171983.853]  -> wl_registry@2.bind(2, "wl_subcompositor", 1, new id [unknown]@4)
[1171983.870]  -> wl_registry@2.bind(11, "wl_output", 3, new id [unknown]@5)
[1171983.891]  -> wl_registry@2.bind(21, "wl_output", 3, new id [unknown]@6)
[1171983.899]  -> wl_registry@2.bind(4, "zxdg_output_manager_v1", 2, new id [unknown]@7)
[1171983.924]  -> zxdg_output_manager_v1@7.get_xdg_output(new id zxdg_output_v1@8, wl_output@5)
[1171983.934]  -> zxdg_output_manager_v1@7.get_xdg_output(new id zxdg_output_v1@9, wl_output@6)
[1171983.956]  -> wl_registry@2.bind(19, "wl_seat", 7, new id [unknown]@10)
[1171984.033]  -> wl_registry@2.bind(10, "wl_shm", 1, new id [unknown]@11)
[1171984.063]  -> wl_registry@2.bind(14, "xdg_wm_base", 1, new id [unknown]@12)
[1171984.085]  -> wl_registry@2.bind(6, "zwp_relative_pointer_manager_v1", 1, new id [unknown]@13)
[1171984.093]  -> wl_registry@2.bind(7, "zwp_pointer_constraints_v1", 1, new id [unknown]@14)
[1171984.103]  -> wl_display@1.sync(new id wl_callback@15)
[1171984.205] wl_display@1.delete_id(15)
[1171984.222] wl_output@5.geometry(3840, 0, 0, 0, 0, "weston", "rdp", 0)
[1171984.236] wl_output@5.scale(1)
[1171984.240] wl_output@5.mode(3, 2560, 1440, 60000)
[1171984.244] wl_output@5.done()
[1171984.246] wl_output@6.geometry(0, 0, 522, 294, 0, "weston", "rdp", 0)
[1171984.251] wl_output@6.scale(1)
[1171984.254] wl_output@6.mode(3, 3840, 2160, 60000)
[1171984.257] wl_output@6.done()
[1171984.259] zxdg_output_v1@8.logical_position(3840, 0)
[1171984.265] zxdg_output_v1@8.logical_size(2560, 1440)
[1171984.268] zxdg_output_v1@8.name("rdp-0")
[1171984.271] zxdg_output_v1@8.done()
[1171984.274] zxdg_output_v1@9.logical_position(0, 0)
[1171984.277] zxdg_output_v1@9.logical_size(3840, 2160)
[1171984.279] zxdg_output_v1@9.name("rdp-2")
[1171984.282] zxdg_output_v1@9.done()
[1171984.285] wl_seat@10.capabilities(3)
[1171984.292] wl_seat@10.name("RDP DESKTOP-BHAPP35")
[1171984.295] wl_shm@11.format(0)
[1171984.299] wl_shm@11.format(1)
[1171984.302] wl_shm@11.format(909199186)
[1171984.305] wl_callback@15.done(1)
[1171984.365]  -> wl_seat@10.get_keyboard(new id wl_keyboard@15)
[1171986.211]  -> wl_compositor@3.create_surface(new id wl_surface@16)
[1171986.248]  -> wl_seat@10.get_pointer(new id wl_pointer@17)
[1171986.266]  -> zwp_relative_pointer_manager_v1@13.get_relative_pointer(new id zwp_relative_pointer_v1@18, wl_pointer@17)
[1171986.438]  -> wl_display@1.get_registry(new id wl_registry@19)
[1171986.481]  -> wl_display@1.sync(new id wl_callback@20)
[1171986.619] wl_display@1.delete_id(20)
[1171986.644] wl_registry@19.global(1, "wl_compositor", 4)
[1171986.674] wl_registry@19.global(2, "wl_subcompositor", 1)
[1171986.687] wl_registry@19.global(3, "wp_viewporter", 1)
[1171986.696] wl_registry@19.global(4, "zxdg_output_manager_v1", 2)
[1171986.705] wl_registry@19.global(5, "wp_presentation", 1)
[1171986.712] wl_registry@19.global(6, "zwp_relative_pointer_manager_v1", 1)
[1171986.717] wl_registry@19.global(7, "zwp_pointer_constraints_v1", 1)
[1171986.723] wl_registry@19.global(8, "zwp_input_timestamps_manager_v1", 1)
[1171986.729] wl_registry@19.global(9, "wl_data_device_manager", 3)
[1171986.735] wl_registry@19.global(10, "wl_shm", 1)
[1171986.741] wl_registry@19.global(11, "wl_output", 3)
[1171986.747] wl_registry@19.global(12, "zwp_input_panel_v1", 1)
[1171986.752] wl_registry@19.global(13, "zwp_text_input_manager_v1", 1)
[1171986.758] wl_registry@19.global(14, "xdg_wm_base", 1)
[1171986.764] wl_registry@19.global(15, "zxdg_shell_v6", 1)
[1171986.770] wl_registry@19.global(16, "wl_shell", 1)
[1171986.775] wl_registry@19.global(17, "weston_rdprail_shell", 1)
[1171986.781] wl_registry@19.global(18, "weston_screenshooter", 1)
[1171986.787] wl_registry@19.global(19, "wl_seat", 7)
[1171986.793] wl_registry@19.global(20, "zwp_input_method_v1", 1)
[1171986.801] wl_registry@19.global(21, "wl_output", 3)
[1171986.807] wl_callback@20.done(1)
[1171986.851]  -> wl_registry@19.bind(9, "wl_data_device_manager", 3, new id [unknown]@20)
[1171986.894]  -> wl_registry@19.bind(19, "wl_seat", 7, new id [unknown]@21)
[1171987.074] wl_seat@21.capabilities(3)
[1171987.106] wl_seat@21.name("RDP DESKTOP-BHAPP35")
[1171987.136]  -> wl_seat@21.get_keyboard(new id wl_keyboard@22)
[1171987.176]  -> wl_data_device_manager@20.get_data_device(new id wl_data_device@23, wl_seat@21)
[1171987.211]  -> wl_seat@21.get_pointer(new id wl_pointer@24)
[1171987.287] wl_keyboard@22.repeat_info(40, 400)
[1171987.313] wl_keyboard@22.keymap(1, fd 11, 47298)
[1171987.618]  -> wl_display@1.get_registry(new id wl_registry@25)
[1171987.642]  -> wl_display@1.sync(new id wl_callback@26)
[1171987.735] wl_display@1.delete_id(26)
[1171987.738] wl_registry@25.global(1, "wl_compositor", 4)
[1171987.775] wl_registry@25.global(2, "wl_subcompositor", 1)
[1171987.779] wl_registry@25.global(3, "wp_viewporter", 1)
[1171987.782] wl_registry@25.global(4, "zxdg_output_manager_v1", 2)
[1171987.785] wl_registry@25.global(5, "wp_presentation", 1)
[1171987.787] wl_registry@25.global(6, "zwp_relative_pointer_manager_v1", 1)
[1171987.790] wl_registry@25.global(7, "zwp_pointer_constraints_v1", 1)
[1171987.792] wl_registry@25.global(8, "zwp_input_timestamps_manager_v1", 1)
[1171987.794] wl_registry@25.global(9, "wl_data_device_manager", 3)
[1171987.796] wl_registry@25.global(10, "wl_shm", 1)
[1171987.799] wl_registry@25.global(11, "wl_output", 3)
[1171987.801] wl_registry@25.global(12, "zwp_input_panel_v1", 1)
[1171987.803] wl_registry@25.global(13, "zwp_text_input_manager_v1", 1)
[1171987.805] wl_registry@25.global(14, "xdg_wm_base", 1)
[1171987.808] wl_registry@25.global(15, "zxdg_shell_v6", 1)
[1171987.810] wl_registry@25.global(16, "wl_shell", 1)
[1171987.812] wl_registry@25.global(17, "weston_rdprail_shell", 1)
[1171987.814] wl_registry@25.global(18, "weston_screenshooter", 1)
[1171987.816] wl_registry@25.global(19, "wl_seat", 7)
[1171987.819] wl_registry@25.global(20, "zwp_input_method_v1", 1)
[1171987.821] wl_registry@25.global(21, "wl_output", 3)
[1171987.823] wl_callback@26.done(1)
[1171987.826]  -> wl_display@1.sync(new id wl_callback@26)
[1171987.904] wl_display@1.delete_id(26)
[1171987.909] wl_callback@26.done(1)
[1171987.941]  -> wl_display@1.get_registry(new id wl_registry@26)
[1171987.946]  -> wl_display@1.sync(new id wl_callback@27)
[1171988.056] wl_display@1.delete_id(27)
[1171988.059] wl_registry@26.global(1, "wl_compositor", 4)
[1171988.103] wl_registry@26.global(2, "wl_subcompositor", 1)
[1171988.107] wl_registry@26.global(3, "wp_viewporter", 1)
[1171988.117] wl_registry@26.global(4, "zxdg_output_manager_v1", 2)
[1171988.121] wl_registry@26.global(5, "wp_presentation", 1)
[1171988.125] wl_registry@26.global(6, "zwp_relative_pointer_manager_v1", 1)
[1171988.129] wl_registry@26.global(7, "zwp_pointer_constraints_v1", 1)
[1171988.133] wl_registry@26.global(8, "zwp_input_timestamps_manager_v1", 1)
[1171988.137] wl_registry@26.global(9, "wl_data_device_manager", 3)
[1171988.140] wl_registry@26.global(10, "wl_shm", 1)
[1171988.145]  -> wl_registry@26.bind(10, "wl_shm", 1, new id [unknown]@28)
[1171988.149] wl_registry@26.global(11, "wl_output", 3)
[1171988.153] wl_registry@26.global(12, "zwp_input_panel_v1", 1)
[1171988.157] wl_registry@26.global(13, "zwp_text_input_manager_v1", 1)
[1171988.161] wl_registry@26.global(14, "xdg_wm_base", 1)
[1171988.164] wl_registry@26.global(15, "zxdg_shell_v6", 1)
[1171988.168] wl_registry@26.global(16, "wl_shell", 1)
[1171988.172] wl_registry@26.global(17, "weston_rdprail_shell", 1)
[1171988.176] wl_registry@26.global(18, "weston_screenshooter", 1)
[1171988.180] wl_registry@26.global(19, "wl_seat", 7)
[1171988.183] wl_registry@26.global(20, "zwp_input_method_v1", 1)
[1171988.187] wl_registry@26.global(21, "wl_output", 3)
[1171988.191] wl_callback@27.done(1)
[1171988.195]  -> wl_display@1.sync(new id wl_callback@27)
[1171988.311] wl_display@1.delete_id(27)
[1171988.319] wl_shm@28.format(0)
[1171988.351] wl_shm@28.format(1)
[1171988.355] wl_shm@28.format(909199186)
[1171988.358] wl_callback@27.done(1)
[1171999.950]  -> wl_compositor@3.create_surface(new id wl_surface@27)
[1172000.023]  -> xdg_wm_base@12.get_xdg_surface(new id xdg_surface@29, wl_surface@27)
[1172000.038]  -> xdg_surface@29.get_toplevel(new id xdg_toplevel@30)
[1172000.057]  -> wl_surface@27.set_opaque_region(nil)
[1172000.068]  -> xdg_toplevel@30.set_title("Slint Window")
[1172000.078]  -> xdg_toplevel@30.set_min_size(2, 1)
[1172000.083]  -> xdg_toplevel@30.set_max_size(0, 0)
[1172000.088]  -> wl_surface@27.commit()
[1172000.109]  -> wl_display@1.sync(new id wl_callback@31)
[1172000.118] wl_keyboard@15.repeat_info(40, 400)
[1172000.128] wl_keyboard@15.keymap(1, fd 10, 47298)
[1172001.929] wl_display@1.delete_id(31)
[1172001.991] wl_callback@31.done(1)
[1172002.023] xdg_toplevel@30.configure(0, 0, array[0])
[1172002.036] xdg_surface@29.configure(2)
[1172002.084]  -> xdg_surface@29.ack_configure(2)
[1172060.910]  -> wl_shm@11.create_pool(new id wl_shm_pool@31, fd 11, 1)
[1172061.009]  -> wl_compositor@3.create_surface(new id wl_surface@32)
[1172061.027]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@33, wl_surface@32, wl_surface@27)
[1172061.038]  -> wl_subsurface@33.set_sync()
[1172061.044]  -> wl_compositor@3.create_surface(new id wl_surface@34)
[1172061.050]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@35, wl_surface@34, wl_surface@27)
[1172061.056]  -> wl_subsurface@35.set_sync()
[1172061.061]  -> wl_compositor@3.create_surface(new id wl_surface@36)
[1172061.068]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@37, wl_surface@36, wl_surface@27)
[1172061.072]  -> wl_subsurface@37.set_sync()
[1172061.077]  -> wl_compositor@3.create_surface(new id wl_surface@38)
[1172061.083]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@39, wl_surface@38, wl_surface@27)
[1172061.095]  -> wl_subsurface@39.set_sync()
[1172061.099]  -> wl_compositor@3.create_surface(new id wl_surface@40)
[1172061.105]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@41, wl_surface@40, wl_surface@27)
[1172061.111]  -> wl_subsurface@41.set_sync()
[1172126.367]  -> wl_surface@27.set_opaque_region(nil)
[1172126.427]  -> xdg_surface@29.set_window_geometry(0, -35, 800, 635)
[1172131.429]  -> wl_shm@28.create_pool(new id wl_shm_pool@42, fd 16, 1920000)
[1172131.464]  -> wl_shm_pool@42.create_buffer(new id wl_buffer@43, 0, 800, 600, 3200, 0)
[1172131.469]  -> wl_shm_pool@42.destroy()
[1172147.067]  -> xdg_toplevel@30.set_title("Slint Window")
[1172147.148]  -> wl_surface@27.set_opaque_region(nil)
[1172147.160]  -> xdg_surface@29.set_window_geometry(0, -35, 800, 635)
[1172151.440]  -> xdg_toplevel@30.set_min_size(70, 51)
[1172151.481]  -> xdg_toplevel@30.set_max_size(0, 0)
[1172151.510]  -> wl_surface@27.set_opaque_region(nil)
[1172151.519]  -> xdg_surface@29.set_window_geometry(0, -35, 70, 51)
[1172151.611]  -> xdg_toplevel@30.set_title("Slint Window")
[1172151.659]  -> xdg_toplevel@30.set_title("Slint Window")
[1172151.744]  -> wl_shm_pool@31.resize(10112)
[1172151.792]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@44, 0, 72, 35, 288, 0)
[1172153.145]  -> wl_subsurface@33.set_sync()
[1172153.175]  -> wl_surface@32.set_buffer_scale(1)
[1172153.182]  -> wl_subsurface@33.set_position(-1, -35)
[1172153.190]  -> wl_surface@32.attach(wl_buffer@44, 0, 0)
[1172153.196]  -> wl_surface@32.damage_buffer(0, 0, 2147483647, 2147483647)
[1172153.200]  -> wl_surface@32.commit()
[1172153.210]  -> wl_shm_pool@31.resize(20224)
[1172153.234]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@45, 10112, 90, 10, 360, 0)
[1172153.270]  -> wl_subsurface@35.set_sync()
[1172153.279]  -> wl_surface@34.set_buffer_scale(1)
[1172153.283]  -> wl_subsurface@35.set_position(-10, -45)
[1172153.289]  -> wl_surface@34.attach(wl_buffer@45, 0, 0)
[1172153.294]  -> wl_surface@34.damage_buffer(0, 0, 2147483647, 2147483647)
[1172153.298]  -> wl_surface@34.commit()
[1172153.307]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@46, 13760, 10, 51, 40, 0)
[1172153.371]  -> wl_subsurface@37.set_sync()
[1172153.394]  -> wl_surface@36.set_buffer_scale(1)
[1172153.400]  -> wl_subsurface@37.set_position(-10, -35)
[1172153.406]  -> wl_surface@36.attach(wl_buffer@46, 0, 0)
[1172153.411]  -> wl_surface@36.damage_buffer(0, 0, 2147483647, 2147483647)
[1172153.415]  -> wl_surface@36.commit()
[1172153.424]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@47, 15808, 10, 51, 40, 0)
[1172153.491]  -> wl_subsurface@39.set_sync()
[1172153.513]  -> wl_surface@38.set_buffer_scale(1)
[1172153.519]  -> wl_subsurface@39.set_position(70, -35)
[1172153.699]  -> wl_surface@38.attach(wl_buffer@47, 0, 0)
[1172153.711]  -> wl_surface@38.damage_buffer(0, 0, 2147483647, 2147483647)
[1172153.719]  -> wl_surface@38.commit()
[1172153.732]  -> wl_shm_pool@31.resize(40448)
[1172153.762]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@48, 17856, 90, 10, 360, 0)
[1172153.802]  -> wl_subsurface@41.set_sync()
[1172153.812]  -> wl_surface@40.set_buffer_scale(1)
[1172153.819]  -> wl_subsurface@41.set_position(-10, 16)
[1172153.827]  -> wl_surface@40.attach(wl_buffer@48, 0, 0)
[1172153.836]  -> wl_surface@40.damage_buffer(0, 0, 2147483647, 2147483647)
[1172153.843]  -> wl_surface@40.commit()
[1172178.813]  -> wl_surface@27.frame(new id wl_callback@49)
[1172178.849]  -> wl_surface@27.attach(wl_buffer@43, 0, 0)
[1172178.854]  -> wl_surface@27.damage(0, 0, 2147483647, 2147483647)
[1172178.857]  -> wl_surface@27.commit()
[1172179.109]  -> xdg_toplevel@30.set_title("Slint Window")
[1172179.168] wl_display@1.delete_id(42)
[1172179.193] wl_keyboard@22.enter(4, wl_surface@27, array[0])
[1172179.211]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@42, 21504, 72, 35, 288, 0)
[1172179.239] wl_keyboard@22.modifiers(4, 0, 0, 0, 0)
[1172179.264] wl_data_device@23.data_offer(new id wl_data_offer@4278190080)
[1172179.277] wl_data_offer@4278190080.offer("text/plain;charset=utf-8")
[1172179.282] wl_data_offer@4278190080.offer("STRING")
[1172179.289] wl_data_device@23.selection(wl_data_offer@4278190080)
[1172180.123]  -> wl_subsurface@33.set_desync()
[1172180.153]  -> wl_surface@32.set_buffer_scale(1)
[1172180.160]  -> wl_subsurface@33.set_position(-1, -35)
[1172180.167]  -> wl_surface@32.attach(wl_buffer@42, 0, 0)
[1172180.173]  -> wl_surface@32.damage_buffer(0, 0, 2147483647, 2147483647)
[1172180.178]  -> wl_surface@32.commit()
[1172180.188]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@50, 31616, 90, 10, 360, 0)
[1172180.206]  -> wl_subsurface@35.set_desync()
[1172180.211]  -> wl_surface@34.set_buffer_scale(1)
[1172180.216]  -> wl_subsurface@35.set_position(-10, -45)
[1172180.221]  -> wl_surface@34.attach(wl_buffer@50, 0, 0)
[1172180.231]  -> wl_surface@34.damage_buffer(0, 0, 2147483647, 2147483647)
[1172180.235]  -> wl_surface@34.commit()
[1172180.242]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@51, 35264, 10, 51, 40, 0)
[1172180.308]  -> wl_subsurface@37.set_desync()
[1172180.332]  -> wl_surface@36.set_buffer_scale(1)
[1172180.338]  -> wl_subsurface@37.set_position(-10, -35)
[1172180.344]  -> wl_surface@36.attach(wl_buffer@51, 0, 0)
[1172180.349]  -> wl_surface@36.damage_buffer(0, 0, 2147483647, 2147483647)
[1172180.353]  -> wl_surface@36.commit()
[1172180.362]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@52, 37312, 10, 51, 40, 0)
[1172180.425]  -> wl_subsurface@39.set_desync()
[1172180.446]  -> wl_surface@38.set_buffer_scale(1)
[1172180.452]  -> wl_subsurface@39.set_position(70, -35)
[1172180.457]  -> wl_surface@38.attach(wl_buffer@52, 0, 0)
[1172180.462]  -> wl_surface@38.damage_buffer(0, 0, 2147483647, 2147483647)
[1172180.466]  -> wl_surface@38.commit()
[1172180.476]  -> wl_shm_pool@31.resize(80896)
[1172180.501]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@53, 39360, 90, 10, 360, 0)
[1172180.551]  -> wl_subsurface@41.set_desync()
[1172180.572]  -> wl_surface@40.set_buffer_scale(1)
[1172180.578]  -> wl_subsurface@41.set_position(-10, 16)
[1172180.583]  -> wl_surface@40.attach(wl_buffer@53, 0, 0)
[1172180.588]  -> wl_surface@40.damage_buffer(0, 0, 2147483647, 2147483647)
[1172180.592]  -> wl_surface@40.commit()
[1172180.637] wl_surface@27.enter(wl_output@5)
[1172180.661] wl_keyboard@15.enter(4, wl_surface@27, array[0])
[1172180.668] wl_keyboard@15.modifiers(4, 0, 0, 0, 0)
[1172180.672] xdg_toplevel@30.configure(0, 0, array[4])
[1172180.678] xdg_surface@29.configure(5)
[1172180.739]  -> xdg_surface@29.ack_configure(5)
[1172180.769]  -> wl_surface@27.set_opaque_region(nil)
[1172180.776]  -> xdg_surface@29.set_window_geometry(0, -35, 70, 51)
[1172180.783] wl_buffer@44.release()
[1172180.790]  -> wl_buffer@44.destroy()
[1172180.796] wl_buffer@45.release()
[1172180.800]  -> wl_buffer@45.destroy()
[1172180.805] wl_buffer@46.release()
[1172180.809]  -> wl_buffer@46.destroy()
[1172180.813] wl_buffer@47.release()
[1172180.817]  -> wl_buffer@47.destroy()
[1172180.820] wl_buffer@48.release()
[1172180.824]  -> wl_buffer@48.destroy()
[1172180.910]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@54, 0, 72, 35, 288, 0)
[1172182.234]  -> wl_subsurface@33.set_sync()
[1172182.262]  -> wl_surface@32.set_buffer_scale(1)
[1172182.268]  -> wl_subsurface@33.set_position(-1, -35)
[1172182.275]  -> wl_surface@32.attach(wl_buffer@54, 0, 0)
[1172182.280]  -> wl_surface@32.damage_buffer(0, 0, 2147483647, 2147483647)
[1172182.284]  -> wl_surface@32.commit()
[1172182.294]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@55, 10112, 90, 10, 360, 0)
[1172182.310]  -> wl_subsurface@35.set_sync()
[1172182.315]  -> wl_surface@34.set_buffer_scale(1)
[1172182.319]  -> wl_subsurface@35.set_position(-10, -45)
[1172182.324]  -> wl_surface@34.attach(wl_buffer@55, 0, 0)
[1172182.328]  -> wl_surface@34.damage_buffer(0, 0, 2147483647, 2147483647)
[1172182.332]  -> wl_surface@34.commit()
[1172182.339]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@56, 13760, 10, 51, 40, 0)
[1172182.400]  -> wl_subsurface@37.set_sync()
[1172182.421]  -> wl_surface@36.set_buffer_scale(1)
[1172182.427]  -> wl_subsurface@37.set_position(-10, -35)
[1172182.432]  -> wl_surface@36.attach(wl_buffer@56, 0, 0)
[1172182.437]  -> wl_surface@36.damage_buffer(0, 0, 2147483647, 2147483647)
[1172182.441]  -> wl_surface@36.commit()
[1172182.449]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@57, 15808, 10, 51, 40, 0)
[1172182.514]  -> wl_subsurface@39.set_sync()
[1172182.555]  -> wl_surface@38.set_buffer_scale(1)
[1172182.567]  -> wl_subsurface@39.set_position(70, -35)
[1172182.576]  -> wl_surface@38.attach(wl_buffer@57, 0, 0)
[1172182.584]  -> wl_surface@38.damage_buffer(0, 0, 2147483647, 2147483647)
[1172182.590]  -> wl_surface@38.commit()
[1172182.605]  -> wl_shm_pool@31.create_buffer(new id wl_buffer@58, 17856, 90, 10, 360, 0)
[1172182.637]  -> wl_subsurface@41.set_sync()
[1172182.668]  -> wl_surface@40.set_buffer_scale(1)
[1172182.683]  -> wl_subsurface@41.set_position(-10, 16)
[1172182.692]  -> wl_surface@40.attach(wl_buffer@58, 0, 0)
[1172182.699]  -> wl_surface@40.damage_buffer(0, 0, 2147483647, 2147483647)
[1172182.703]  -> wl_surface@40.commit()
[1172182.963]  -> wl_shm@28.create_pool(new id wl_shm_pool@59, fd 15, 4480)
[1172182.986]  -> wl_shm_pool@59.create_buffer(new id wl_buffer@60, 0, 70, 16, 280, 0)
[1172182.990]  -> wl_shm_pool@59.destroy()
Io error: Broken pipe (os error 32)
thread 'Io error: smithay-clipboard' panicked at /home/xxxx/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smithay-clipboard-0.7.0/src/worker.rsBroken pipe: (os error 9832:)47
:
called `Result::unwrap()` on an `Err` value: OtherError(IoError(Os { code: 32, kind: BrokenPipe, message: "Broken pipe" }))
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Io error: Broken pipe (os error 32)
Error: Other("Error running winit event loop: Exit Failure: 1")

slint configuration slint = { version = "1.3", features = ["std", "backend-winit", "renderer-femtovg", "compat-1-2"], default-features = false}

araraloren commented 11 months ago

Is this okay?

elinorbgr commented 10 months ago

It is puzzling, I was expecting to see maybe a protocol error or something like that in that log.

Does this kind of crash occur when running the winit examples as well?

araraloren commented 10 months ago

@elinorbgr Which example? I clone the repo and some examples was crash under WSL2, but the example run well on my Windows.

elinorbgr commented 10 months ago

Well, given the code you cited seems to crash at initialization, if the crash is caused by smithay-clipboard itself I'd expect other code using it (like the winit examples) to crash similarly.

Mostly I'm thinking to narrow the search and see if it's possible to reproduce the issue with something smaller than a slint app. I don't have a WSL2 environment at hand so I cannot really explore that myself, and given I don't know anything about slint and what it does it's difficult to guess the cause of the problem.

microhobby commented 10 months ago

@elinorbgr I don't know if it helps, more logs in debug mode:

Io error: Connection reset by peer (os error 104)
thread 'smithay-clipboard' panicked at /home/castello/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smithay-clipboard-0.7.0/src/worker.rs:98:47:
called `Result::unwrap()` on an `Err` value: OtherError(IoError(Os { code: 104, kind: ConnectionReset, message: "Connection reset by peer" }))
stack backtrace:
Io error: Connection reset by peer (os error 104)
Io error: Connection reset by peer (os error 104)
   0:     0x7fac1ae12b7c - std::backtrace_rs::backtrace::libunwind::trace::he43a6a3949163f8c
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7fac1ae12b7c - std::backtrace_rs::backtrace::trace_unsynchronized::h50db52ca99f692e7
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fac1ae12b7c - std::sys_common::backtrace::_print_fmt::hd37d595f2ceb2d3c
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x7fac1ae12b7c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h678bbcf9da6d7d75
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7fac1ae4118c - core::fmt::rt::Argument::fmt::h3a159adc080a6fc9
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/rt.rs:138:9
   5:     0x7fac1ae4118c - core::fmt::write::hb8eaf5a8e45a738e
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/mod.rs:1094:21
   6:     0x7fac1ae0ecfe - std::io::Write::write_fmt::h9663fe36b2ee08f9
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/io/mod.rs:1714:15
   7:     0x7fac1ae12964 - std::sys_common::backtrace::_print::hcd4834796ee88ad2
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7fac1ae12964 - std::sys_common::backtrace::print::h1360e9450e4f922a
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7fac1ae14253 - std::panicking::default_hook::{{closure}}::h2609fa95cd5ab1f4
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:270:22
  10:     0x7fac1ae13f6c - std::panicking::default_hook::h6d75f5747cab6e8d
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:290:9
  11:     0x7fac1ae147d9 - std::panicking::rust_panic_with_hook::h57e78470c47c84de
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:707:13
  12:     0x7fac1ae146d7 - std::panicking::begin_panic_handler::{{closure}}::h3dfd2453cf356ecb
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:599:13
  13:     0x7fac1ae130a6 - std::sys_common::backtrace::__rust_end_short_backtrace::hdb177d43678e4d7e
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:170:18
  14:     0x7fac1ae14422 - rust_begin_unwind
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:595:5
  15:     0x7fac19414793 - core::panicking::panic_fmt::hd1e971d8d7c78e0e
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:67:14
  16:     0x7fac19414c8a - core::result::unwrap_failed::hccb456d39e9c31fc
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/result.rs:1652:5
  17:     0x7fac1a5f3432 - core::result::Result<T,E>::unwrap::h8159f6ca1f0376ad
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/result.rs:1077:23
  18:     0x7fac1a614e78 - smithay_clipboard::worker::worker_impl::h2ca189306439a074
                               at /home/castello/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smithay-clipboard-0.7.0/src/worker.rs:98:9
  19:     0x7fac1a6148c0 - smithay_clipboard::worker::spawn::{{closure}}::hbb76fd90cda3a3ff
                               at /home/castello/.cargo/registry/src/index.crates.io-6f17d22bba15001f/smithay-clipboard-0.7.0/src/worker.rs:23:13
  20:     0x7fac1a618886 - std::sys_common::backtrace::__rust_begin_short_backtrace::h16a1cb9361532cf4
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:154:18
  21:     0x7fac1a6456fd - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h75f14234e0e14b82
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/mod.rs:529:17
  22:     0x7fac1a638011 - <core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once::hebf7580d20050366
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panic/unwind_safe.rs:271:9
  23:     0x7fac1a61098b - std::panicking::try::do_call::ha1157924e2446d25
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
  24:     0x7fac1a6153db - __rust_try
  25:     0x7fac1a6107a2 - std::panicking::try::h769676fcd3cdceb3
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
  26:     0x7fac1a645541 - std::panic::catch_unwind::hc2869124ab9a9e67
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
  27:     0x7fac1a645541 - std::thread::Builder::spawn_unchecked_::{{closure}}::h6288bc9da2ebfdb6
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/mod.rs:528:30
  28:     0x7fac1a5fdacf - core::ops::function::FnOnce::call_once{{vtable.shim}}::hdff27d5c412e8047
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
  29:     0x7fac1ae19535 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::haadd4e5af2ab0d62
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2007:9
  30:     0x7fac1ae19535 - <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once::he4ba1fb09c16d807
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/alloc/src/boxed.rs:2007:9
  31:     0x7fac1ae19535 - std::sys::unix::thread::Thread::new::thread_start::he524ecf4b47bee95
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys/unix/thread.rs:108:17
  32:     0x7fac9b7eab43 - start_thread
                               at ./nptl/pthread_create.c:442:8
  33:     0x7fac9b87ca00 - clone3
                               at ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
  34:                0x0 - <unknown>
thread '<unnamed>' panicked at src/lib.rs:546:26:
called `Result::unwrap()` on an `Err` value: Other("Error running winit event loop: Exit Failure: 1")
stack backtrace:
   0:     0x7fac1ae12b7c - std::backtrace_rs::backtrace::libunwind::trace::he43a6a3949163f8c
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x7fac1ae12b7c - std::backtrace_rs::backtrace::trace_unsynchronized::h50db52ca99f692e7
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x7fac1ae12b7c - std::sys_common::backtrace::_print_fmt::hd37d595f2ceb2d3c
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x7fac1ae12b7c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h678bbcf9da6d7d75
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x7fac1ae4118c - core::fmt::rt::Argument::fmt::h3a159adc080a6fc9
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/rt.rs:138:9
   5:     0x7fac1ae4118c - core::fmt::write::hb8eaf5a8e45a738e
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/mod.rs:1094:21
   6:     0x7fac1ae0ecfe - std::io::Write::write_fmt::h9663fe36b2ee08f9
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/io/mod.rs:1714:15
   7:     0x7fac1ae12964 - std::sys_common::backtrace::_print::hcd4834796ee88ad2
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x7fac1ae12964 - std::sys_common::backtrace::print::h1360e9450e4f922a
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x7fac1ae14253 - std::panicking::default_hook::{{closure}}::h2609fa95cd5ab1f4
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:270:22
  10:     0x7fac1ae13f6c - std::panicking::default_hook::h6d75f5747cab6e8d
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:290:9
  11:     0x7fac1ae147d9 - std::panicking::rust_panic_with_hook::h57e78470c47c84de
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:707:13
  12:     0x7fac1ae146d7 - std::panicking::begin_panic_handler::{{closure}}::h3dfd2453cf356ecb
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:599:13
  13:     0x7fac1ae130a6 - std::sys_common::backtrace::__rust_end_short_backtrace::hdb177d43678e4d7e
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:170:18
  14:     0x7fac1ae14422 - rust_begin_unwind
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:595:5
  15:     0x7fac19414793 - core::panicking::panic_fmt::hd1e971d8d7c78e0e
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:67:14
  16:     0x7fac19414c8a - core::result::unwrap_failed::hccb456d39e9c31fc
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/result.rs:1652:5
  17:     0x7fac1a805931 - core::result::Result<T,E>::unwrap::hfeb072dd70924711
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/result.rs:1077:23
  18:     0x7fac1945ff78 - slint_dotnet::rnet_export_run::inner::{{closure}}::h1a20187d20a525ea
                               at /home/castello/projects/D/slint-dotnet/src/lib.rs:546:9
  19:     0x7fac19462210 - std::thread::local::LocalKey<T>::try_with::h1a75201c014473e6
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/local.rs:270:16
  20:     0x7fac194620ee - std::thread::local::LocalKey<T>::with::hfacaf4bd98b4a657
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/local.rs:246:9
  21:     0x7fac1942c806 - slint_dotnet::rnet_export_run::inner::hfdf3cc9d37abdcad
                               at /home/castello/projects/D/slint-dotnet/src/lib.rs:537:5
  22:     0x7fac1942c7e6 - rnet_export_run
                               at /home/castello/projects/D/slint-dotnet/src/lib.rs:533:1
  23:     0x7fac1cdf6937 - <unknown>
fatal runtime error: failed to initiate panic, error 5
microhobby commented 10 months ago

Running winit --example window also crashes:

    Finished dev [unoptimized + debuginfo] target(s) in 0.05s
     Running `target/debug/examples/window`
DEBUG [sctk] Bound new global [11] wl_output v3
DEBUG [sctk] Bound new global [21] wl_output v3
DEBUG [sctk] Bound new global [4] zxdg_output_manager_v1 v2
DEBUG [sctk] Bound new global [19] wl_seat v7
DEBUG [sctk] supported wl_shm format Argb8888
DEBUG [sctk] supported wl_shm format Xrgb8888
DEBUG [sctk] supported wl_shm format Rgb565
TRACE [calloop::loop_logic] [calloop] Inserting new source #0
TRACE [calloop::loop_logic] [calloop] Inserting new source #1
TRACE [calloop::loop_logic] [calloop] Inserting new source #2
DEBUG [sctk_adwaita::buttons] Ignoring "appmenu" button
NewEvents(Init)
Resumed
WindowEvent { window_id: WindowId(WindowId(94398013310160)), event: RedrawRequested }
wl_shm_pool@24: error 1: invalid width, height or stride (0x44, 0)
Protocol error 1 on object wl_shm_pool@24:
thread 'main' panicked at examples/util/fill.rs:33:53:
Failed to create a softbuffer context: PlatformError(Some("Failed to make round trip to server"), Some(Backend(Protocol(ProtocolError { code: 1, object_id: 24, object_interface: "wl_shm_pool", message: "" }))))
stack backtrace:
   0:     0x55dabf92ae9c - std::backtrace_rs::backtrace::libunwind::trace::he43a6a3949163f8c
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/libunwind.rs:93:5
   1:     0x55dabf92ae9c - std::backtrace_rs::backtrace::trace_unsynchronized::h50db52ca99f692e7
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/../../backtrace/src/backtrace/mod.rs:66:5
   2:     0x55dabf92ae9c - std::sys_common::backtrace::_print_fmt::hd37d595f2ceb2d3c
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:67:5
   3:     0x55dabf92ae9c - <std::sys_common::backtrace::_print::DisplayBacktrace as core::fmt::Display>::fmt::h678bbcf9da6d7d75
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:44:22
   4:     0x55dabf95588c - core::fmt::rt::Argument::fmt::h3a159adc080a6fc9
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/rt.rs:138:9
   5:     0x55dabf95588c - core::fmt::write::hb8eaf5a8e45a738e
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/fmt/mod.rs:1094:21
   6:     0x55dabf927c7e - std::io::Write::write_fmt::h9663fe36b2ee08f9
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/io/mod.rs:1714:15
   7:     0x55dabf92ac84 - std::sys_common::backtrace::_print::hcd4834796ee88ad2
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:47:5
   8:     0x55dabf92ac84 - std::sys_common::backtrace::print::h1360e9450e4f922a
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:34:9
   9:     0x55dabf92c243 - std::panicking::default_hook::{{closure}}::h2609fa95cd5ab1f4
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:270:22
  10:     0x55dabf92bf5c - std::panicking::default_hook::h6d75f5747cab6e8d
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:290:9
  11:     0x55dabf92c7c9 - std::panicking::rust_panic_with_hook::h57e78470c47c84de
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:707:13
  12:     0x55dabf92c6c7 - std::panicking::begin_panic_handler::{{closure}}::h3dfd2453cf356ecb
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:599:13
  13:     0x55dabf92b3c6 - std::sys_common::backtrace::__rust_end_short_backtrace::hdb177d43678e4d7e
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:170:18
  14:     0x55dabf92c412 - rust_begin_unwind
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:595:5
  15:     0x55dabf2f8a13 - core::panicking::panic_fmt::hd1e971d8d7c78e0e
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/panicking.rs:67:14
  16:     0x55dabf2f8f0a - core::result::unwrap_failed::hccb456d39e9c31fc
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/result.rs:1652:5
  17:     0x55dabf362094 - core::result::Result<T,E>::expect::he9038bb3e28bb950
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/result.rs:1034:23
  18:     0x55dabf39c475 - window::fill::fill_window::GraphicsContext::new::h9f9a3206af3c9c0c
                               at /home/castello/tmp/winit/examples/util/fill.rs:33:26
  19:     0x55dabf384bfb - window::fill::fill_window::{{closure}}::{{closure}}::h0451db97bcb5657c
                               at /home/castello/tmp/winit/examples/util/fill.rs:66:36
  20:     0x55dabf3036b5 - core::option::Option<T>::get_or_insert_with::h24d4f0efe1ef198a
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/option.rs:1666:26
  21:     0x55dabf3849f1 - window::fill::fill_window::{{closure}}::hc2e6101b0210a983
                               at /home/castello/tmp/winit/examples/util/fill.rs:65:23
  22:     0x55dabf367627 - std::thread::local::LocalKey<T>::try_with::h9d19d49f2c8899a9
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/local.rs:270:16
  23:     0x55dabf367383 - std::thread::local::LocalKey<T>::with::hfef53c3e6b459148
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/thread/local.rs:246:9
  24:     0x55dabf39c41f - window::fill::fill_window::h6aa7cb0f17a8aea1
                               at /home/castello/tmp/winit/examples/util/fill.rs:55:5
  25:     0x55dabf39c970 - window::main::{{closure}}::h5a48d79487df167e
                               at /home/castello/tmp/winit/examples/window.rs:32:21
  26:     0x55dabf39c6af - core::ops::function::impls::<impl core::ops::function::FnMut<A> for &mut F>::call_mut::h9df81f3b97eb7984
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:294:13
  27:     0x55dabf37c1a8 - winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::single_iteration::h5fc5229cc4b23eef
                               at /home/castello/tmp/winit/src/platform_impl/linux/wayland/event_loop/mod.rs:504:17
  28:     0x55dabf379d49 - winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::pump_events::hf9788e9329075a4e
                               at /home/castello/tmp/winit/src/platform_impl/linux/wayland/event_loop/mod.rs:231:13
  29:     0x55dabf37a275 - winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::run_on_demand::h08b51621d5089d46
                               at /home/castello/tmp/winit/src/platform_impl/linux/wayland/event_loop/mod.rs:201:19
  30:     0x55dabf30739c - winit::platform_impl::platform::EventLoop<T>::run_on_demand::h3c954639b4ba2e1c
                               at /home/castello/tmp/winit/src/platform_impl/linux/mod.rs:828:56
  31:     0x55dabf307b06 - winit::platform_impl::platform::EventLoop<T>::run::h9243c09280c6b89a
                               at /home/castello/tmp/winit/src/platform_impl/linux/mod.rs:821:9
  32:     0x55dabf3956f7 - winit::event_loop::EventLoop<T>::run::hd747c19ef314e652
                               at /home/castello/tmp/winit/src/event_loop.rs:249:9
  33:     0x55dabf34248c - window::main::ha38252b990089dbc
                               at /home/castello/tmp/winit/examples/window.rs:23:5
  34:     0x55dabf368902 - core::ops::function::FnOnce::call_once::h768bff81eead98d0
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:250:5
  35:     0x55dabf33a99d - std::sys_common::backtrace::__rust_begin_short_backtrace::he51f960a866e548c
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/sys_common/backtrace.rs:154:18
  36:     0x55dabf394956 - std::rt::lang_start::{{closure}}::h4274860a571a8d93
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:166:18
  37:     0x55dabf9232db - core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once::hbcc4f8a3f5ada78c
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/core/src/ops/function.rs:284:13
  38:     0x55dabf9232db - std::panicking::try::do_call::he5f117a9e13dadde
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
  39:     0x55dabf9232db - std::panicking::try::h2f3af9afce3a0443
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
  40:     0x55dabf9232db - std::panic::catch_unwind::h6d6c387f38ef05ea
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
  41:     0x55dabf9232db - std::rt::lang_start_internal::{{closure}}::h6ca09d5905711415
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:148:48
  42:     0x55dabf9232db - std::panicking::try::do_call::ha9fd18ea06654a4b
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:502:40
  43:     0x55dabf9232db - std::panicking::try::hda5c2a4432362341
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panicking.rs:466:19
  44:     0x55dabf9232db - std::panic::catch_unwind::h440f731b142bc235
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/panic.rs:142:14
  45:     0x55dabf9232db - std::rt::lang_start_internal::hc0b4e50f058f62ce
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:148:20
  46:     0x55dabf39492a - std::rt::lang_start::h08e61a9fa1ae0e9a
                               at /rustc/cc66ad468955717ab92600c770da8c1601a4ff33/library/std/src/rt.rs:165:17
  47:     0x55dabf34251e - main
  48:     0x7fe6b8088d90 - __libc_start_call_main
                               at ./csu/../sysdeps/nptl/libc_start_call_main.h:58:16
  49:     0x7fe6b8088e40 - __libc_start_main_impl
                               at ./csu/../csu/libc-start.c:392:3
  50:     0x55dabf2f9285 - _start
  51:                0x0 - <unknown>
araraloren commented 10 months ago

Well, given the code you cited seems to crash at initialization, if the crash is caused by smithay-clipboard itself I'd expect other code using it (like the winit examples) to crash similarly.

Mostly I'm thinking to narrow the search and see if it's possible to reproduce the issue with something smaller than a slint app. I don't have a WSL2 environment at hand so I cannot really explore that myself, and given I don't know anything about slint and what it does it's difficult to guess the cause of the problem.

I think it is, if I clean the clipboard it'll not crash at all. Follow https://github.com/slint-ui/slint/issues/4089#issuecomment-1866422917

The example multithreaded log:

[3529157.761]  -> wl_display@1.get_registry(new id wl_registry@2)
[3529157.799]  -> wl_display@1.sync(new id wl_callback@3)
[3529157.918] wl_display@1.delete_id(3)
[3529157.939] wl_registry@2.global(1, "wl_compositor", 4)
[3529157.975] wl_registry@2.global(2, "wl_subcompositor", 1)
[3529157.994] wl_registry@2.global(3, "wp_viewporter", 1)
[3529158.010] wl_registry@2.global(4, "zxdg_output_manager_v1", 2)
[3529158.014] wl_registry@2.global(5, "wp_presentation", 1)
[3529158.020] wl_registry@2.global(6, "zwp_relative_pointer_manager_v1", 1)
[3529158.034] wl_registry@2.global(7, "zwp_pointer_constraints_v1", 1)
[3529158.039] wl_registry@2.global(8, "zwp_input_timestamps_manager_v1", 1)
[3529158.053] wl_registry@2.global(9, "wl_data_device_manager", 3)
[3529158.068] wl_registry@2.global(10, "wl_shm", 1)
[3529158.072] wl_registry@2.global(11, "wl_output", 3)
[3529158.089] wl_registry@2.global(12, "zwp_input_panel_v1", 1)
[3529158.103] wl_registry@2.global(13, "zwp_text_input_manager_v1", 1)
[3529158.108] wl_registry@2.global(14, "xdg_wm_base", 1)
[3529158.111] wl_registry@2.global(15, "zxdg_shell_v6", 1)
[3529158.126] wl_registry@2.global(16, "wl_shell", 1)
[3529158.145] wl_registry@2.global(17, "weston_rdprail_shell", 1)
[3529158.162] wl_registry@2.global(18, "weston_screenshooter", 1)
[3529158.177] wl_registry@2.global(21, "wl_output", 3)
[3529158.182] wl_registry@2.global(22, "wl_seat", 7)
[3529158.197] wl_registry@2.global(23, "zwp_input_method_v1", 1)
[3529158.211] wl_callback@3.done(1593)
[3529158.291]  -> wl_registry@2.bind(1, "wl_compositor", 4, new id [unknown]@3)
[3529158.323]  -> wl_registry@2.bind(2, "wl_subcompositor", 1, new id [unknown]@4)
[3529158.348]  -> wl_registry@2.bind(11, "wl_output", 3, new id [unknown]@5)
DEBUG [sctk] Bound new global [11] wl_output v3
[3529158.407]  -> wl_registry@2.bind(21, "wl_output", 3, new id [unknown]@6)
DEBUG [sctk] Bound new global [21] wl_output v3
[3529158.431]  -> wl_registry@2.bind(4, "zxdg_output_manager_v1", 2, new id [unknown]@7)
DEBUG [sctk] Bound new global [4] zxdg_output_manager_v1 v2
[3529158.484]  -> zxdg_output_manager_v1@7.get_xdg_output(new id zxdg_output_v1@8, wl_output@5)
[3529158.515]  -> zxdg_output_manager_v1@7.get_xdg_output(new id zxdg_output_v1@9, wl_output@6)
[3529158.640]  -> wl_registry@2.bind(22, "wl_seat", 7, new id [unknown]@10)
DEBUG [sctk] Bound new global [22] wl_seat v7
[3529158.723]  -> wl_registry@2.bind(10, "wl_shm", 1, new id [unknown]@11)
[3529158.750]  -> wl_registry@2.bind(14, "xdg_wm_base", 1, new id [unknown]@12)
[3529158.782]  -> wl_registry@2.bind(6, "zwp_relative_pointer_manager_v1", 1, new id [unknown]@13)
[3529158.804]  -> wl_registry@2.bind(7, "zwp_pointer_constraints_v1", 1, new id [unknown]@14)
[3529158.827]  -> wl_display@1.sync(new id wl_callback@15)
[3529158.943] wl_display@1.delete_id(15)
[3529158.960] wl_output@5.geometry(0, 714, 0, 0, 0, "weston", "rdp", 0)
[3529158.975] wl_output@5.scale(1)
[3529158.988] wl_output@5.mode(3, 2560, 1440, 60000)
[3529159.007] wl_output@5.done()
[3529159.024] wl_output@6.geometry(2560, 0, 522, 294, 0, "weston", "rdp", 0)
[3529159.043] wl_output@6.scale(2)
[3529159.046] wl_output@6.mode(3, 3840, 2160, 60000)
[3529159.051] wl_output@6.done()
[3529159.066] zxdg_output_v1@8.logical_position(0, 714)
[3529159.074] zxdg_output_v1@8.logical_size(2560, 1440)
[3529159.092] zxdg_output_v1@8.name("rdp-0")
[3529159.108] zxdg_output_v1@8.done()
[3529159.113] zxdg_output_v1@9.logical_position(2560, 0)
[3529159.117] zxdg_output_v1@9.logical_size(1920, 1080)
[3529159.134] zxdg_output_v1@9.name("rdp-2")
[3529159.138] zxdg_output_v1@9.done()
[3529159.154] wl_seat@10.capabilities(3)
[3529159.177] wl_seat@10.name("RDP DESKTOP-BHAPP35")
[3529159.196] wl_shm@11.format(0)
[3529159.201] wl_shm@11.format(1)
[3529159.216] wl_shm@11.format(909199186)
[3529159.220] wl_callback@15.done(1593)
[3529159.291]  -> wl_seat@10.get_keyboard(new id wl_keyboard@15)
[3529161.235]  -> wl_compositor@3.create_surface(new id wl_surface@16)
[3529161.274]  -> wl_seat@10.get_pointer(new id wl_pointer@17)
[3529161.306]  -> zwp_relative_pointer_manager_v1@13.get_relative_pointer(new id zwp_relative_pointer_v1@18, wl_pointer@17)
DEBUG [sctk] supported wl_shm format Argb8888
DEBUG [sctk] supported wl_shm format Xrgb8888
DEBUG [sctk] supported wl_shm format Rgb565
TRACE [calloop::loop_logic] [calloop] Inserting new source #0
TRACE [calloop::loop_logic] [calloop] Inserting new source #1
TRACE [calloop::loop_logic] [calloop] Inserting new source #2
[3529161.468]  -> wl_compositor@3.create_surface(new id wl_surface@19)
[3529161.496]  -> xdg_wm_base@12.get_xdg_surface(new id xdg_surface@20, wl_surface@19)
[3529161.523]  -> xdg_surface@20.get_toplevel(new id xdg_toplevel@21)
[3529161.553]  -> wl_compositor@3.create_region(new id wl_region@22)
[3529161.575]  -> wl_region@22.add(0, 0, 2147483647, 2147483647)
[3529161.595]  -> wl_surface@19.set_opaque_region(wl_region@22)
[3529161.614]  -> wl_region@22.destroy()
[3529161.634]  -> xdg_toplevel@21.set_title("winit window")
[3529161.643]  -> xdg_toplevel@21.set_min_size(2, 1)
[3529161.648]  -> xdg_toplevel@21.set_max_size(0, 0)
[3529161.653]  -> wl_surface@19.commit()
[3529161.676]  -> wl_display@1.sync(new id wl_callback@23)
[3529161.836] wl_display@1.delete_id(22)
[3529161.854] wl_display@1.delete_id(23)
[3529161.857] wl_keyboard@15.repeat_info(40, 400)
[3529161.868] wl_keyboard@15.keymap(1, fd 9, 47298)
[3529161.885] wl_callback@23.done(1593)
[3529161.893] xdg_toplevel@21.configure(0, 0, array[0])
[3529161.915] xdg_surface@20.configure(1594)
[3529163.074]  -> xdg_surface@20.ack_configure(1594)
[3529214.195]  -> wl_shm@11.create_pool(new id wl_shm_pool@23, fd 10, 1)
[3529214.296]  -> wl_compositor@3.create_surface(new id wl_surface@22)
[3529214.339]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@24, wl_surface@22, wl_surface@19)
[3529214.370]  -> wl_subsurface@24.set_sync()
[3529214.390]  -> wl_compositor@3.create_surface(new id wl_surface@25)
[3529214.411]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@26, wl_surface@25, wl_surface@19)
[3529214.436]  -> wl_subsurface@26.set_sync()
[3529214.459]  -> wl_compositor@3.create_surface(new id wl_surface@27)
[3529214.478]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@28, wl_surface@27, wl_surface@19)
[3529214.495]  -> wl_subsurface@28.set_sync()
[3529214.510]  -> wl_compositor@3.create_surface(new id wl_surface@29)
[3529214.526]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@30, wl_surface@29, wl_surface@19)
[3529214.549]  -> wl_subsurface@30.set_sync()
[3529214.571]  -> wl_compositor@3.create_surface(new id wl_surface@31)
[3529214.599]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@32, wl_surface@31, wl_surface@19)
[3529214.623]  -> wl_subsurface@32.set_sync()
[3529278.912]  -> wl_compositor@3.create_region(new id wl_region@33)
[3529278.962]  -> wl_region@33.add(0, 0, 2147483647, 2147483647)
[3529278.983]  -> wl_surface@19.set_opaque_region(wl_region@33)
[3529278.999]  -> wl_region@33.destroy()
[3529279.022]  -> xdg_surface@20.set_window_geometry(0, -35, 600, 435)
thread 'main' panicked at examples/multithreaded.rs:28:64:
called `Option::unwrap()` on a `None` value
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[3529279.249]  -> wl_subsurface@24.destroy()
[3529279.274]  -> wl_surface@22.destroy()
[3529279.282]  -> wl_subsurface@26.destroy()
[3529279.297]  -> wl_surface@25.destroy()
[3529279.322]  -> wl_subsurface@28.destroy()
[3529279.343]  -> wl_surface@27.destroy()
[3529279.365]  -> wl_subsurface@30.destroy()
[3529279.385]  -> wl_surface@29.destroy()
[3529279.407]  -> wl_subsurface@32.destroy()
[3529279.429]  -> wl_surface@31.destroy()
[3529279.452]  -> wl_shm_pool@23.destroy()
[3529279.509]  -> xdg_toplevel@21.destroy()
[3529279.531]  -> xdg_surface@20.destroy()
[3529279.551]  -> wl_surface@19.destroy()
[3529279.591]  -> wl_keyboard@15.release()
[3529279.729]  -> wl_pointer@17.release()
[3529279.822]  -> wl_surface@16.destroy()

The example mouse_wheel

[3562435.227]  -> wl_display@1.get_registry(new id wl_registry@2)
[3562435.291]  -> wl_display@1.sync(new id wl_callback@3)
[3562435.413] wl_display@1.delete_id(3)
[3562435.434] wl_registry@2.global(1, "wl_compositor", 4)
[3562436.408] wl_registry@2.global(2, "wl_subcompositor", 1)
[3562436.436] wl_registry@2.global(3, "wp_viewporter", 1)
[3562436.453] wl_registry@2.global(4, "zxdg_output_manager_v1", 2)
[3562436.468] wl_registry@2.global(5, "wp_presentation", 1)
[3562436.474] wl_registry@2.global(6, "zwp_relative_pointer_manager_v1", 1)
[3562436.489] wl_registry@2.global(7, "zwp_pointer_constraints_v1", 1)
[3562436.494] wl_registry@2.global(8, "zwp_input_timestamps_manager_v1", 1)
[3562436.508] wl_registry@2.global(9, "wl_data_device_manager", 3)
[3562436.513] wl_registry@2.global(10, "wl_shm", 1)
[3562436.528] wl_registry@2.global(11, "wl_output", 3)
[3562436.542] wl_registry@2.global(12, "zwp_input_panel_v1", 1)
[3562436.557] wl_registry@2.global(13, "zwp_text_input_manager_v1", 1)
[3562436.561] wl_registry@2.global(14, "xdg_wm_base", 1)
[3562436.565] wl_registry@2.global(15, "zxdg_shell_v6", 1)
[3562436.569] wl_registry@2.global(16, "wl_shell", 1)
[3562436.584] wl_registry@2.global(17, "weston_rdprail_shell", 1)
[3562436.600] wl_registry@2.global(18, "weston_screenshooter", 1)
[3562436.615] wl_registry@2.global(21, "wl_output", 3)
[3562436.620] wl_registry@2.global(22, "wl_seat", 7)
[3562436.634] wl_registry@2.global(23, "zwp_input_method_v1", 1)
[3562436.648] wl_callback@3.done(1596)
[3562438.439]  -> wl_registry@2.bind(1, "wl_compositor", 4, new id [unknown]@3)
[3562438.503]  -> wl_registry@2.bind(2, "wl_subcompositor", 1, new id [unknown]@4)
[3562438.541]  -> wl_registry@2.bind(11, "wl_output", 3, new id [unknown]@5)
DEBUG [sctk] Bound new global [11] wl_output v3
[3562438.931]  -> wl_registry@2.bind(21, "wl_output", 3, new id [unknown]@6)
DEBUG [sctk] Bound new global [21] wl_output v3
[3562438.970]  -> wl_registry@2.bind(4, "zxdg_output_manager_v1", 2, new id [unknown]@7)
DEBUG [sctk] Bound new global [4] zxdg_output_manager_v1 v2
[3562439.994]  -> zxdg_output_manager_v1@7.get_xdg_output(new id zxdg_output_v1@8, wl_output@5)
[3562440.065]  -> zxdg_output_manager_v1@7.get_xdg_output(new id zxdg_output_v1@9, wl_output@6)
[3562440.131]  -> wl_registry@2.bind(22, "wl_seat", 7, new id [unknown]@10)
DEBUG [sctk] Bound new global [22] wl_seat v7
[3562440.478]  -> wl_registry@2.bind(10, "wl_shm", 1, new id [unknown]@11)
[3562440.514]  -> wl_registry@2.bind(14, "xdg_wm_base", 1, new id [unknown]@12)
[3562440.555]  -> wl_registry@2.bind(6, "zwp_relative_pointer_manager_v1", 1, new id [unknown]@13)
[3562440.579]  -> wl_registry@2.bind(7, "zwp_pointer_constraints_v1", 1, new id [unknown]@14)
[3562440.610]  -> wl_display@1.sync(new id wl_callback@15)
[3562440.755] wl_display@1.delete_id(15)
[3562440.772] wl_output@5.geometry(0, 714, 0, 0, 0, "weston", "rdp", 0)
[3562440.794] wl_output@5.scale(1)
[3562440.813] wl_output@5.mode(3, 2560, 1440, 60000)
[3562440.828] wl_output@5.done()
[3562440.831] wl_output@6.geometry(2560, 0, 522, 294, 0, "weston", "rdp", 0)
[3562440.838] wl_output@6.scale(2)
[3562440.856] wl_output@6.mode(3, 3840, 2160, 60000)
[3562440.874] wl_output@6.done()
[3562440.877] zxdg_output_v1@8.logical_position(0, 714)
[3562440.900] zxdg_output_v1@8.logical_size(2560, 1440)
[3562440.915] zxdg_output_v1@8.name("rdp-0")
[3562440.918] zxdg_output_v1@8.done()
[3562440.929] zxdg_output_v1@9.logical_position(2560, 0)
[3562440.932] zxdg_output_v1@9.logical_size(1920, 1080)
[3562440.934] zxdg_output_v1@9.name("rdp-2")
[3562440.936] zxdg_output_v1@9.done()
[3562440.939] wl_seat@10.capabilities(3)
[3562440.954] wl_seat@10.name("RDP DESKTOP-BHAPP35")
[3562440.967] wl_shm@11.format(0)
[3562440.970] wl_shm@11.format(1)
[3562440.972] wl_shm@11.format(909199186)
[3562440.983] wl_callback@15.done(1596)
[3562441.063]  -> wl_seat@10.get_keyboard(new id wl_keyboard@15)
[3562443.378]  -> wl_compositor@3.create_surface(new id wl_surface@16)
[3562443.432]  -> wl_seat@10.get_pointer(new id wl_pointer@17)
[3562443.482]  -> zwp_relative_pointer_manager_v1@13.get_relative_pointer(new id zwp_relative_pointer_v1@18, wl_pointer@17)
DEBUG [sctk] supported wl_shm format Argb8888
DEBUG [sctk] supported wl_shm format Xrgb8888
DEBUG [sctk] supported wl_shm format Rgb565
TRACE [calloop::loop_logic] [calloop] Inserting new source #0
TRACE [calloop::loop_logic] [calloop] Inserting new source #1
TRACE [calloop::loop_logic] [calloop] Inserting new source #2
[3562443.723]  -> wl_compositor@3.create_surface(new id wl_surface@19)
[3562443.766]  -> xdg_wm_base@12.get_xdg_surface(new id xdg_surface@20, wl_surface@19)
[3562443.800]  -> xdg_surface@20.get_toplevel(new id xdg_toplevel@21)
[3562443.857]  -> wl_compositor@3.create_region(new id wl_region@22)
[3562443.886]  -> wl_region@22.add(0, 0, 2147483647, 2147483647)
[3562443.921]  -> wl_surface@19.set_opaque_region(wl_region@22)
[3562443.944]  -> wl_region@22.destroy()
[3562443.969]  -> xdg_toplevel@21.set_title("Mouse Wheel events")
[3562443.995]  -> xdg_toplevel@21.set_min_size(2, 1)
[3562444.003]  -> xdg_toplevel@21.set_max_size(0, 0)
[3562444.020]  -> wl_surface@19.commit()
[3562444.040]  -> wl_display@1.sync(new id wl_callback@23)
[3562444.309] wl_display@1.delete_id(22)
[3562444.335] wl_display@1.delete_id(23)
[3562444.339] wl_keyboard@15.repeat_info(40, 400)
[3562444.365] wl_keyboard@15.keymap(1, fd 9, 47298)
[3562444.388] wl_callback@23.done(1596)
[3562444.396] xdg_toplevel@21.configure(0, 0, array[0])
[3562444.431] xdg_surface@20.configure(1597)
[3562445.929]  -> xdg_surface@20.ack_configure(1597)
[3562505.698]  -> wl_shm@11.create_pool(new id wl_shm_pool@23, fd 10, 1)
[3562505.778]  -> wl_compositor@3.create_surface(new id wl_surface@22)
[3562505.809]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@24, wl_surface@22, wl_surface@19)
[3562505.836]  -> wl_subsurface@24.set_sync()
[3562505.854]  -> wl_compositor@3.create_surface(new id wl_surface@25)
[3562505.878]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@26, wl_surface@25, wl_surface@19)
[3562505.893]  -> wl_subsurface@26.set_sync()
[3562505.899]  -> wl_compositor@3.create_surface(new id wl_surface@27)
[3562505.906]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@28, wl_surface@27, wl_surface@19)
[3562505.923]  -> wl_subsurface@28.set_sync()
[3562505.943]  -> wl_compositor@3.create_surface(new id wl_surface@29)
[3562505.964]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@30, wl_surface@29, wl_surface@19)
[3562505.990]  -> wl_subsurface@30.set_sync()
[3562506.009]  -> wl_compositor@3.create_surface(new id wl_surface@31)
[3562506.026]  -> wl_subcompositor@4.get_subsurface(new id wl_subsurface@32, wl_surface@31, wl_surface@19)
[3562506.046]  -> wl_subsurface@32.set_sync()
[3562570.829]  -> wl_compositor@3.create_region(new id wl_region@33)
[3562570.879]  -> wl_region@33.add(0, 0, 2147483647, 2147483647)
[3562570.899]  -> wl_surface@19.set_opaque_region(wl_region@33)
[3562570.916]  -> wl_region@33.destroy()
[3562570.948]  -> xdg_surface@20.set_window_geometry(0, -35, 800, 635)

When using so called 'natural scrolling' (scrolling that acts like on a touch screen), this is what to expect:

Moving your finger downwards on a scroll wheel should make the window move down, and you should see a positive Y scroll value.

When moving fingers on a trackpad down and to the right, you should see positive X and Y deltas, and the window should move down and to the right.

With reverse scrolling, you should see the inverse behavior.

In both cases the example window should move like the content of a scroll area in any other application.

In other words, the deltas indicate the direction in which to move the content (in this case the window).
[3562571.082]  -> wl_shm_pool@23.resize(112320)
[3562571.126]  -> wl_shm_pool@23.create_buffer(new id wl_buffer@34, 0, 802, 35, 3208, 0)
[3562575.181]  -> wl_subsurface@24.set_sync()
[3562575.220]  -> wl_surface@22.set_buffer_scale(1)
[3562575.238]  -> wl_subsurface@24.set_position(-1, -35)
[3562575.259]  -> wl_surface@22.attach(wl_buffer@34, 0, 0)
[3562575.276]  -> wl_surface@22.damage_buffer(0, 0, 2147483647, 2147483647)
[3562575.280]  -> wl_surface@22.commit()
[3562575.307]  -> wl_shm_pool@23.resize(224640)
[3562575.374]  -> wl_shm_pool@23.create_buffer(new id wl_buffer@35, 112320, 820, 10, 3280, 0)
[3562575.480]  -> wl_subsurface@26.set_sync()
[3562575.500]  -> wl_surface@25.set_buffer_scale(1)
[3562575.515]  -> wl_subsurface@26.set_position(-10, -45)
[3562575.530]  -> wl_surface@25.attach(wl_buffer@35, 0, 0)
[3562575.545]  -> wl_surface@25.damage_buffer(0, 0, 2147483647, 2147483647)
[3562575.559]  -> wl_surface@25.commit()
[3562575.568]  -> wl_shm_pool@23.create_buffer(new id wl_buffer@36, 145152, 10, 635, 40, 0)
[3562577.309]  -> wl_subsurface@28.set_sync()
[3562577.329]  -> wl_surface@27.set_buffer_scale(1)
[3562577.356]  -> wl_subsurface@28.set_position(-10, -35)
[3562577.378]  -> wl_surface@27.attach(wl_buffer@36, 0, 0)
[3562577.382]  -> wl_surface@27.damage_buffer(0, 0, 2147483647, 2147483647)
[3562577.397]  -> wl_surface@27.commit()
[3562577.407]  -> wl_shm_pool@23.create_buffer(new id wl_buffer@37, 170560, 10, 635, 40, 0)
[3562579.168]  -> wl_subsurface@30.set_sync()
[3562579.196]  -> wl_surface@29.set_buffer_scale(1)
[3562579.213]  -> wl_subsurface@30.set_position(800, -35)
[3562579.231]  -> wl_surface@29.attach(wl_buffer@37, 0, 0)
[3562579.251]  -> wl_surface@29.damage_buffer(0, 0, 2147483647, 2147483647)
[3562579.273]  -> wl_surface@29.commit()
[3562579.290]  -> wl_shm_pool@23.resize(449280)
[3562579.381]  -> wl_shm_pool@23.create_buffer(new id wl_buffer@38, 195968, 820, 10, 3280, 0)
[3562579.519]  -> wl_subsurface@32.set_sync()
[3562579.541]  -> wl_surface@31.set_buffer_scale(1)
[3562579.556]  -> wl_subsurface@32.set_position(-10, 600)
[3562579.572]  -> wl_surface@31.attach(wl_buffer@38, 0, 0)
[3562579.577]  -> wl_surface@31.damage_buffer(0, 0, 2147483647, 2147483647)
[3562579.596]  -> wl_surface@31.commit()
[3562579.646]  -> wl_display@1.get_registry(new id wl_registry@39)
[3562579.678]  -> wl_display@1.sync(new id wl_callback@40)
[3562579.929] wl_display@1.delete_id(33)
[3562579.946] wl_display@1.delete_id(40)
[3562579.948] wl_registry@39.global(1, "wl_compositor", 4)
[3562579.977] wl_registry@39.global(2, "wl_subcompositor", 1)
[3562580.000] wl_registry@39.global(3, "wp_viewporter", 1)
[3562580.016] wl_registry@39.global(4, "zxdg_output_manager_v1", 2)
[3562580.035] wl_registry@39.global(5, "wp_presentation", 1)
[3562580.053] wl_registry@39.global(6, "zwp_relative_pointer_manager_v1", 1)
[3562580.062] wl_registry@39.global(7, "zwp_pointer_constraints_v1", 1)
[3562580.078] wl_registry@39.global(8, "zwp_input_timestamps_manager_v1", 1)
[3562580.098] wl_registry@39.global(9, "wl_data_device_manager", 3)
[3562580.115] wl_registry@39.global(10, "wl_shm", 1)
[3562580.134] wl_registry@39.global(11, "wl_output", 3)
[3562580.149] wl_registry@39.global(12, "zwp_input_panel_v1", 1)
[3562580.158] wl_registry@39.global(13, "zwp_text_input_manager_v1", 1)
[3562580.178] wl_registry@39.global(14, "xdg_wm_base", 1)
[3562580.186] wl_registry@39.global(15, "zxdg_shell_v6", 1)
[3562580.201] wl_registry@39.global(16, "wl_shell", 1)
[3562580.222] wl_registry@39.global(17, "weston_rdprail_shell", 1)
[3562580.236] wl_registry@39.global(18, "weston_screenshooter", 1)
[3562580.255] wl_registry@39.global(21, "wl_output", 3)
[3562580.270] wl_registry@39.global(22, "wl_seat", 7)
[3562580.289] wl_registry@39.global(23, "zwp_input_method_v1", 1)
[3562580.305] wl_callback@40.done(1597)
[3562580.337]  -> wl_registry@39.bind(10, "wl_shm", 1, new id [unknown]@40)
[3562580.474]  -> wl_shm@40.create_pool(new id wl_shm_pool@33, fd 11, 2097152)
[3562580.501]  -> wl_shm_pool@33.create_buffer(new id wl_buffer@41, 0, 800, 600, 3200, 1)
[3562580.535]  -> wl_shm@40.create_pool(new id wl_shm_pool@42, fd 13, 2097152)
[3562580.557]  -> wl_shm_pool@42.create_buffer(new id wl_buffer@43, 0, 800, 600, 3200, 1)
[3562582.996]  -> wl_surface@19.attach(wl_buffer@43, 0, 0)
[3562583.020]  -> wl_surface@19.damage_buffer(0, 0, 800, 600)
[3562583.034]  -> wl_surface@19.commit()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #2
TRACE [calloop::sources] [calloop] Processing events for source type calloop::sources::ping::eventfd::PingSource
[3562583.252] wl_surface@19.enter(wl_output@5)
[3562583.284] wl_keyboard@15.enter(1599, wl_surface@19, array[0])
[3562583.305] wl_keyboard@15.modifiers(1599, 0, 0, 16, 0)
[3562583.321] xdg_toplevel@21.configure(0, 0, array[4])
[3562583.328] xdg_surface@20.configure(1600)
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3562583.473]  -> xdg_surface@20.ack_configure(1600)
[3562583.518]  -> wl_compositor@3.create_region(new id wl_region@44)
[3562583.544]  -> wl_region@44.add(0, 0, 2147483647, 2147483647)
[3562583.564]  -> wl_surface@19.set_opaque_region(wl_region@44)
[3562583.580]  -> wl_region@44.destroy()
[3562583.590]  -> xdg_surface@20.set_window_geometry(0, -35, 800, 635)
[3562583.652]  -> wl_shm_pool@23.create_buffer(new id wl_buffer@45, 228800, 802, 35, 3208, 0)
[3562587.147]  -> wl_subsurface@24.set_sync()
[3562587.192]  -> wl_surface@22.set_buffer_scale(1)
[3562587.216]  -> wl_subsurface@24.set_position(-1, -35)
[3562587.229]  -> wl_surface@22.attach(wl_buffer@45, 0, 0)
[3562587.250]  -> wl_surface@22.damage_buffer(0, 0, 2147483647, 2147483647)
[3562587.268]  -> wl_surface@22.commit()
[3562587.289]  -> wl_shm_pool@23.create_buffer(new id wl_buffer@46, 341120, 820, 10, 3280, 0)
[3562587.430]  -> wl_subsurface@26.set_sync()
[3562587.459]  -> wl_surface@25.set_buffer_scale(1)
[3562587.479]  -> wl_subsurface@26.set_position(-10, -45)
[3562587.499]  -> wl_surface@25.attach(wl_buffer@46, 0, 0)
[3562587.518]  -> wl_surface@25.damage_buffer(0, 0, 2147483647, 2147483647)
[3562587.535]  -> wl_surface@25.commit()
[3562587.550]  -> wl_shm_pool@23.create_buffer(new id wl_buffer@47, 373952, 10, 635, 40, 0)
[3562589.356]  -> wl_subsurface@28.set_sync()
[3562589.386]  -> wl_surface@27.set_buffer_scale(1)
[3562589.406]  -> wl_subsurface@28.set_position(-10, -35)
[3562589.430]  -> wl_surface@27.attach(wl_buffer@47, 0, 0)
[3562589.454]  -> wl_surface@27.damage_buffer(0, 0, 2147483647, 2147483647)
[3562589.478]  -> wl_surface@27.commit()
[3562589.493]  -> wl_shm_pool@23.create_buffer(new id wl_buffer@48, 399360, 10, 635, 40, 0)
[3562591.379]  -> wl_subsurface@30.set_sync()
[3562591.405]  -> wl_surface@29.set_buffer_scale(1)
[3562591.421]  -> wl_subsurface@30.set_position(800, -35)
[3562591.438]  -> wl_surface@29.attach(wl_buffer@48, 0, 0)
[3562591.453]  -> wl_surface@29.damage_buffer(0, 0, 2147483647, 2147483647)
[3562591.467]  -> wl_surface@29.commit()
[3562591.493]  -> wl_shm_pool@23.resize(898560)
[3562591.551]  -> wl_shm_pool@23.create_buffer(new id wl_buffer@49, 424768, 820, 10, 3280, 0)
[3562591.645]  -> wl_subsurface@32.set_sync()
[3562591.663]  -> wl_surface@31.set_buffer_scale(1)
[3562591.677]  -> wl_subsurface@32.set_position(-10, 600)
[3562591.685]  -> wl_surface@31.attach(wl_buffer@49, 0, 0)
[3562591.700]  -> wl_surface@31.damage_buffer(0, 0, 2147483647, 2147483647)
[3562591.704]  -> wl_surface@31.commit()
[3562594.330] wl_shm@40.format(0)
[3562594.384] wl_shm@40.format(1)
[3562594.410] wl_shm@40.format(909199186)
[3562594.449]  -> wl_surface@19.attach(wl_buffer@41, 0, 0)
[3562594.470]  -> wl_surface@19.damage_buffer(0, 0, 800, 600)
[3562594.485]  -> wl_surface@19.commit()
[3562609.598] wl_display@1.delete_id(44)
[3562609.631] wl_surface@31.enter(wl_output@5)
[3562609.653] wl_surface@29.enter(wl_output@5)
[3562609.657] wl_surface@27.enter(wl_output@5)
[3562609.659] wl_surface@25.enter(wl_output@5)
[3562609.664] wl_surface@22.enter(wl_output@5)
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3562609.835] wl_buffer@38.release()
[3562609.868]  -> wl_buffer@38.destroy()
[3562609.887] wl_buffer@37.release()
[3562609.901]  -> wl_buffer@37.destroy()
[3562609.913] wl_buffer@36.release()
[3562609.935]  -> wl_buffer@36.destroy()
[3562609.955] wl_buffer@35.release()
[3562609.974]  -> wl_buffer@35.destroy()
[3562609.994] wl_buffer@34.release()
[3562610.001]  -> wl_buffer@34.destroy()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564438.351] wl_display@1.delete_id(38)
[3564438.390] wl_display@1.delete_id(37)
[3564438.393] wl_display@1.delete_id(36)
[3564438.395] wl_display@1.delete_id(35)
[3564438.396] wl_display@1.delete_id(34)
[3564438.411] wl_pointer@17.enter(1602, wl_surface@19, 0.00000000, 301.00000000)
[3564438.437] wl_pointer@17.frame()
[3564438.458] xdg_wm_base@12.ping(1603)
[3564438.476] wl_pointer@17.motion(3130300629, 0.00000000, 301.00000000)
[3564438.492] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564438.714]  -> wl_shm@11.create_pool(new id wl_shm_pool@34, fd 13, 1024)
[3564439.736]  -> wl_shm_pool@34.resize(3328)
[3564439.797]  -> wl_shm_pool@34.create_buffer(new id wl_buffer@35, 1024, 24, 24, 96, 0)
[3564439.844]  -> wl_surface@16.set_buffer_scale(1)
[3564439.872]  -> wl_surface@16.attach(wl_buffer@35, 0, 0)
[3564439.891]  -> wl_surface@16.damage_buffer(0, 0, 24, 24)
[3564439.912]  -> wl_surface@16.commit()
[3564439.935]  -> wl_pointer@17.set_cursor(1602, wl_surface@16, 3, 1)
[3564439.982]  -> xdg_wm_base@12.pong(1603)
[3564440.180] wl_surface@16.enter(wl_output@5)
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564447.595] wl_pointer@17.motion(3130300638, 3.00000000, 301.00000000)
[3564447.641] wl_pointer@17.frame()
[3564447.656] wl_pointer@17.motion(3130300638, 6.00000000, 300.00000000)
[3564447.660] wl_pointer@17.frame()
[3564447.662] wl_pointer@17.motion(3130300638, 8.00000000, 300.00000000)
[3564447.664] wl_pointer@17.frame()
[3564447.667] wl_pointer@17.motion(3130300638, 10.00000000, 300.00000000)
[3564447.669] wl_pointer@17.frame()
[3564447.673] wl_pointer@17.motion(3130300638, 12.00000000, 299.00000000)
[3564447.675] wl_pointer@17.frame()
[3564447.677] wl_pointer@17.motion(3130300638, 15.00000000, 298.00000000)
[3564447.680] wl_pointer@17.frame()
[3564447.682] wl_pointer@17.motion(3130300638, 16.00000000, 298.00000000)
[3564447.693] wl_pointer@17.frame()
[3564447.695] wl_pointer@17.motion(3130300638, 18.00000000, 298.00000000)
[3564447.697] wl_pointer@17.frame()
[3564447.699] wl_pointer@17.motion(3130300638, 19.00000000, 297.00000000)
[3564447.701] wl_pointer@17.frame()
[3564447.702] wl_pointer@17.motion(3130300638, 21.00000000, 297.00000000)
[3564447.704] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564462.326] wl_pointer@17.motion(3130300653, 23.00000000, 297.00000000)
[3564462.388] wl_pointer@17.frame()
[3564462.412] wl_pointer@17.motion(3130300653, 24.00000000, 296.00000000)
[3564462.434] wl_pointer@17.frame()
[3564462.453] wl_pointer@17.motion(3130300653, 26.00000000, 296.00000000)
[3564462.459] wl_pointer@17.frame()
[3564462.464] wl_pointer@17.motion(3130300653, 31.00000000, 296.00000000)
[3564462.488] wl_pointer@17.frame()
[3564462.492] wl_pointer@17.motion(3130300653, 33.00000000, 296.00000000)
[3564462.497] wl_pointer@17.frame()
[3564462.500] wl_pointer@17.motion(3130300653, 35.00000000, 295.00000000)
[3564462.505] wl_pointer@17.frame()
[3564462.508] wl_pointer@17.motion(3130300653, 36.00000000, 295.00000000)
[3564462.513] wl_pointer@17.frame()
[3564462.529] wl_pointer@17.motion(3130300653, 37.00000000, 295.00000000)
[3564462.534] wl_pointer@17.frame()
[3564462.556] wl_pointer@17.motion(3130300653, 38.00000000, 295.00000000)
[3564462.575] wl_pointer@17.frame()
[3564462.594] wl_pointer@17.motion(3130300653, 39.00000000, 295.00000000)
[3564462.613] wl_pointer@17.frame()
[3564462.629] wl_pointer@17.motion(3130300653, 40.00000000, 294.00000000)
[3564462.638] wl_pointer@17.frame()
[3564462.657] wl_pointer@17.motion(3130300653, 41.00000000, 294.00000000)
[3564462.676] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564479.650] wl_pointer@17.motion(3130300670, 42.00000000, 294.00000000)
[3564479.716] wl_pointer@17.frame()
[3564479.736] wl_pointer@17.motion(3130300670, 43.00000000, 294.00000000)
[3564479.739] wl_pointer@17.frame()
[3564479.741] wl_pointer@17.motion(3130300670, 44.00000000, 294.00000000)
[3564479.755] wl_pointer@17.frame()
[3564479.757] wl_pointer@17.motion(3130300670, 45.00000000, 294.00000000)
[3564479.759] wl_pointer@17.frame()
[3564479.761] wl_pointer@17.motion(3130300670, 46.00000000, 294.00000000)
[3564479.763] wl_pointer@17.frame()
[3564479.764] wl_pointer@17.motion(3130300670, 47.00000000, 294.00000000)
[3564479.766] wl_pointer@17.frame()
[3564479.768] wl_pointer@17.motion(3130300670, 48.00000000, 294.00000000)
[3564479.770] wl_pointer@17.frame()
[3564479.778] wl_pointer@17.motion(3130300670, 49.00000000, 294.00000000)
[3564479.782] wl_pointer@17.frame()
[3564479.786] wl_pointer@17.motion(3130300670, 50.00000000, 294.00000000)
[3564479.804] wl_pointer@17.frame()
[3564479.806] wl_pointer@17.motion(3130300671, 51.00000000, 294.00000000)
[3564479.809] wl_pointer@17.frame()
[3564479.810] wl_pointer@17.motion(3130300671, 52.00000000, 293.00000000)
[3564479.813] wl_pointer@17.frame()
[3564479.814] wl_pointer@17.motion(3130300671, 53.00000000, 293.00000000)
[3564479.829] wl_pointer@17.frame()
[3564479.832] wl_pointer@17.motion(3130300671, 54.00000000, 293.00000000)
[3564479.836] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564498.059] wl_pointer@17.motion(3130300689, 55.00000000, 293.00000000)
[3564498.110] wl_pointer@17.frame()
[3564498.125] wl_pointer@17.motion(3130300689, 56.00000000, 293.00000000)
[3564498.138] wl_pointer@17.frame()
[3564498.140] wl_pointer@17.motion(3130300689, 57.00000000, 293.00000000)
[3564498.143] wl_pointer@17.frame()
[3564498.154] wl_pointer@17.motion(3130300689, 58.00000000, 293.00000000)
[3564498.156] wl_pointer@17.frame()
[3564498.158] wl_pointer@17.motion(3130300689, 59.00000000, 293.00000000)
[3564498.160] wl_pointer@17.frame()
[3564498.162] wl_pointer@17.motion(3130300689, 60.00000000, 293.00000000)
[3564498.173] wl_pointer@17.frame()
[3564498.175] wl_pointer@17.motion(3130300689, 61.00000000, 293.00000000)
[3564498.177] wl_pointer@17.frame()
[3564498.179] wl_pointer@17.motion(3130300689, 62.00000000, 293.00000000)
[3564498.181] wl_pointer@17.frame()
[3564498.183] wl_pointer@17.motion(3130300689, 63.00000000, 293.00000000)
[3564498.192] wl_pointer@17.frame()
[3564498.195] wl_pointer@17.motion(3130300689, 64.00000000, 293.00000000)
[3564498.197] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564509.453] wl_pointer@17.motion(3130300700, 65.00000000, 293.00000000)
[3564509.498] wl_pointer@17.frame()
[3564509.514] wl_pointer@17.motion(3130300700, 66.00000000, 292.00000000)
[3564509.529] wl_pointer@17.frame()
[3564509.544] wl_pointer@17.motion(3130300700, 67.00000000, 292.00000000)
[3564509.551] wl_pointer@17.frame()
[3564509.563] wl_pointer@17.motion(3130300700, 68.00000000, 292.00000000)
[3564509.580] wl_pointer@17.frame()
[3564509.595] wl_pointer@17.motion(3130300700, 69.00000000, 292.00000000)
[3564509.613] wl_pointer@17.frame()
[3564509.616] wl_pointer@17.motion(3130300700, 70.00000000, 292.00000000)
[3564509.633] wl_pointer@17.frame()
[3564509.677] wl_pointer@17.motion(3130300700, 71.00000000, 292.00000000)
[3564509.700] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564525.434] wl_pointer@17.motion(3130300716, 71.00000000, 291.00000000)
[3564525.480] wl_pointer@17.frame()
[3564525.496] wl_pointer@17.motion(3130300716, 72.00000000, 291.00000000)
[3564525.508] wl_pointer@17.frame()
[3564525.510] wl_pointer@17.motion(3130300716, 73.00000000, 291.00000000)
[3564525.513] wl_pointer@17.frame()
[3564525.516] wl_pointer@17.motion(3130300716, 74.00000000, 291.00000000)
[3564525.518] wl_pointer@17.frame()
[3564525.521] wl_pointer@17.motion(3130300716, 75.00000000, 291.00000000)
[3564525.523] wl_pointer@17.frame()
[3564525.525] wl_pointer@17.motion(3130300716, 76.00000000, 291.00000000)
[3564525.535] wl_pointer@17.frame()
[3564525.537] wl_pointer@17.motion(3130300716, 77.00000000, 291.00000000)
[3564525.540] wl_pointer@17.frame()
[3564525.542] wl_pointer@17.motion(3130300716, 78.00000000, 291.00000000)
[3564525.544] wl_pointer@17.frame()
[3564525.546] wl_pointer@17.motion(3130300716, 79.00000000, 291.00000000)
[3564525.548] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564543.443] wl_pointer@17.motion(3130300734, 80.00000000, 291.00000000)
[3564543.500] wl_pointer@17.frame()
[3564543.515] wl_pointer@17.motion(3130300734, 81.00000000, 291.00000000)
[3564543.527] wl_pointer@17.frame()
[3564543.530] wl_pointer@17.motion(3130300734, 82.00000000, 291.00000000)
[3564543.532] wl_pointer@17.frame()
[3564543.542] wl_pointer@17.motion(3130300734, 83.00000000, 291.00000000)
[3564543.545] wl_pointer@17.frame()
[3564543.547] wl_pointer@17.motion(3130300734, 84.00000000, 290.00000000)
[3564543.550] wl_pointer@17.frame()
[3564543.566] wl_pointer@17.motion(3130300734, 85.00000000, 290.00000000)
[3564543.583] wl_pointer@17.frame()
[3564543.586] wl_pointer@17.motion(3130300734, 86.00000000, 290.00000000)
[3564543.604] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564559.538] wl_pointer@17.motion(3130300750, 87.00000000, 290.00000000)
[3564559.590] wl_pointer@17.frame()
[3564559.608] wl_pointer@17.motion(3130300750, 88.00000000, 290.00000000)
[3564559.624] wl_pointer@17.frame()
[3564559.628] wl_pointer@17.motion(3130300750, 89.00000000, 290.00000000)
[3564559.633] wl_pointer@17.frame()
[3564559.653] wl_pointer@17.motion(3130300750, 90.00000000, 290.00000000)
[3564559.660] wl_pointer@17.frame()
[3564559.680] wl_pointer@17.motion(3130300750, 91.00000000, 290.00000000)
[3564559.702] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564572.445] wl_pointer@17.motion(3130300763, 92.00000000, 290.00000000)
[3564572.489] wl_pointer@17.frame()
[3564572.503] wl_pointer@17.motion(3130300763, 93.00000000, 289.00000000)
[3564572.515] wl_pointer@17.frame()
[3564572.517] wl_pointer@17.motion(3130300763, 94.00000000, 289.00000000)
[3564572.521] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564590.762] wl_pointer@17.motion(3130300782, 95.00000000, 289.00000000)
[3564590.817] wl_pointer@17.frame()
[3564590.834] wl_pointer@17.motion(3130300782, 96.00000000, 289.00000000)
[3564590.850] wl_pointer@17.frame()
[3564590.867] wl_pointer@17.motion(3130300782, 97.00000000, 289.00000000)
[3564590.883] wl_pointer@17.frame()
[3564590.887] wl_pointer@17.motion(3130300782, 98.00000000, 289.00000000)
[3564590.906] wl_pointer@17.frame()
[3564590.921] wl_pointer@17.motion(3130300782, 99.00000000, 289.00000000)
[3564590.925] wl_pointer@17.frame()
[3564590.928] wl_pointer@17.motion(3130300782, 100.00000000, 289.00000000)
[3564590.931] wl_pointer@17.frame()
[3564590.934] wl_pointer@17.motion(3130300782, 101.00000000, 289.00000000)
[3564590.937] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564604.334] wl_pointer@17.motion(3130300795, 102.00000000, 289.00000000)
[3564604.387] wl_pointer@17.frame()
[3564604.402] wl_pointer@17.motion(3130300795, 103.00000000, 289.00000000)
[3564604.407] wl_pointer@17.frame()
[3564604.420] wl_pointer@17.motion(3130300795, 104.00000000, 289.00000000)
[3564604.423] wl_pointer@17.frame()
[3564604.436] wl_pointer@17.motion(3130300795, 105.00000000, 289.00000000)
[3564604.439] wl_pointer@17.frame()
[3564604.452] wl_pointer@17.motion(3130300795, 107.00000000, 289.00000000)
[3564604.455] wl_pointer@17.frame()
[3564604.457] wl_pointer@17.motion(3130300795, 108.00000000, 289.00000000)
[3564604.462] wl_pointer@17.frame()
[3564604.464] wl_pointer@17.motion(3130300795, 109.00000000, 289.00000000)
[3564604.467] wl_pointer@17.frame()
[3564604.469] wl_pointer@17.motion(3130300795, 111.00000000, 289.00000000)
[3564604.472] wl_pointer@17.frame()
[3564604.475] wl_pointer@17.motion(3130300795, 113.00000000, 289.00000000)
[3564604.488] wl_pointer@17.frame()
[3564604.491] wl_pointer@17.motion(3130300795, 114.00000000, 288.00000000)
[3564604.504] wl_pointer@17.frame()
[3564604.516] wl_pointer@17.motion(3130300795, 116.00000000, 288.00000000)
[3564604.529] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564619.365] wl_pointer@17.motion(3130300810, 117.00000000, 288.00000000)
[3564619.424] wl_pointer@17.frame()
[3564619.437] wl_pointer@17.motion(3130300810, 118.00000000, 288.00000000)
[3564619.440] wl_pointer@17.frame()
[3564619.449] wl_pointer@17.motion(3130300810, 120.00000000, 288.00000000)
[3564619.465] wl_pointer@17.frame()
[3564619.479] wl_pointer@17.motion(3130300810, 122.00000000, 288.00000000)
[3564619.482] wl_pointer@17.frame()
[3564619.496] wl_pointer@17.motion(3130300810, 123.00000000, 288.00000000)
[3564619.510] wl_pointer@17.frame()
[3564619.520] wl_pointer@17.motion(3130300810, 125.00000000, 288.00000000)
[3564619.522] wl_pointer@17.frame()
[3564619.543] wl_pointer@17.motion(3130300810, 126.00000000, 288.00000000)
[3564619.558] wl_pointer@17.frame()
[3564619.561] wl_pointer@17.motion(3130300810, 129.00000000, 288.00000000)
[3564619.565] wl_pointer@17.frame()
[3564619.567] wl_pointer@17.motion(3130300810, 131.00000000, 288.00000000)
[3564619.583] wl_pointer@17.frame()
[3564619.594] wl_pointer@17.motion(3130300810, 132.00000000, 288.00000000)
[3564619.611] wl_pointer@17.frame()
[3564619.625] wl_pointer@17.motion(3130300810, 134.00000000, 288.00000000)
[3564619.631] wl_pointer@17.frame()
[3564619.670] wl_pointer@17.motion(3130300810, 137.00000000, 288.00000000)
[3564619.689] wl_pointer@17.frame()
[3564619.693] wl_pointer@17.motion(3130300810, 138.00000000, 288.00000000)
[3564619.706] wl_pointer@17.frame()
[3564619.708] wl_pointer@17.motion(3130300810, 141.00000000, 288.00000000)
[3564619.710] wl_pointer@17.frame()
[3564619.712] wl_pointer@17.motion(3130300810, 142.00000000, 288.00000000)
[3564619.714] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564636.558] wl_pointer@17.motion(3130300827, 145.00000000, 289.00000000)
[3564636.612] wl_pointer@17.frame()
[3564636.628] wl_pointer@17.motion(3130300827, 148.00000000, 289.00000000)
[3564636.640] wl_pointer@17.frame()
[3564636.644] wl_pointer@17.motion(3130300827, 153.00000000, 290.00000000)
[3564636.647] wl_pointer@17.frame()
[3564636.649] wl_pointer@17.motion(3130300827, 156.00000000, 290.00000000)
[3564636.652] wl_pointer@17.frame()
[3564636.653] wl_pointer@17.motion(3130300827, 159.00000000, 291.00000000)
[3564636.658] wl_pointer@17.frame()
[3564636.659] wl_pointer@17.motion(3130300827, 161.00000000, 291.00000000)
[3564636.671] wl_pointer@17.frame()
[3564636.675] wl_pointer@17.motion(3130300827, 164.00000000, 292.00000000)
[3564636.678] wl_pointer@17.frame()
[3564636.681] wl_pointer@17.motion(3130300827, 168.00000000, 292.00000000)
[3564636.685] wl_pointer@17.frame()
[3564636.688] wl_pointer@17.motion(3130300827, 171.00000000, 292.00000000)
[3564636.693] wl_pointer@17.frame()
[3564636.696] wl_pointer@17.motion(3130300827, 174.00000000, 293.00000000)
[3564636.713] wl_pointer@17.frame()
[3564636.715] wl_pointer@17.motion(3130300827, 177.00000000, 293.00000000)
[3564636.718] wl_pointer@17.frame()
[3564636.719] wl_pointer@17.motion(3130300827, 181.00000000, 294.00000000)
[3564636.730] wl_pointer@17.frame()
[3564636.732] wl_pointer@17.motion(3130300827, 185.00000000, 294.00000000)
[3564636.742] wl_pointer@17.frame()
[3564636.744] wl_pointer@17.motion(3130300827, 187.00000000, 294.00000000)
[3564636.759] wl_pointer@17.frame()
[3564636.762] wl_pointer@17.motion(3130300827, 191.00000000, 295.00000000)
[3564636.765] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564651.599] wl_pointer@17.motion(3130300842, 195.00000000, 295.00000000)
[3564651.672] wl_pointer@17.frame()
[3564651.688] wl_pointer@17.motion(3130300842, 199.00000000, 296.00000000)
[3564651.692] wl_pointer@17.frame()
[3564651.694] wl_pointer@17.motion(3130300842, 204.00000000, 296.00000000)
[3564651.697] wl_pointer@17.frame()
[3564651.712] wl_pointer@17.motion(3130300842, 206.00000000, 296.00000000)
[3564651.717] wl_pointer@17.frame()
[3564651.719] wl_pointer@17.motion(3130300842, 210.00000000, 296.00000000)
[3564651.731] wl_pointer@17.frame()
[3564651.740] wl_pointer@17.motion(3130300842, 214.00000000, 297.00000000)
[3564651.743] wl_pointer@17.frame()
[3564651.749] wl_pointer@17.motion(3130300842, 218.00000000, 297.00000000)
[3564651.765] wl_pointer@17.frame()
[3564651.776] wl_pointer@17.motion(3130300842, 222.00000000, 297.00000000)
[3564651.792] wl_pointer@17.frame()
[3564651.809] wl_pointer@17.motion(3130300842, 225.00000000, 298.00000000)
[3564651.814] wl_pointer@17.frame()
[3564651.817] wl_pointer@17.motion(3130300842, 229.00000000, 298.00000000)
[3564651.836] wl_pointer@17.frame()
[3564651.850] wl_pointer@17.motion(3130300842, 233.00000000, 299.00000000)
[3564651.865] wl_pointer@17.frame()
[3564651.879] wl_pointer@17.motion(3130300842, 237.00000000, 299.00000000)
[3564651.895] wl_pointer@17.frame()
[3564651.912] wl_pointer@17.motion(3130300842, 241.00000000, 300.00000000)
[3564651.925] wl_pointer@17.frame()
[3564651.940] wl_pointer@17.motion(3130300842, 244.00000000, 300.00000000)
[3564651.956] wl_pointer@17.frame()
[3564651.959] wl_pointer@17.motion(3130300842, 248.00000000, 300.00000000)
[3564651.961] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564666.436] wl_pointer@17.motion(3130300857, 252.00000000, 300.00000000)
[3564666.481] wl_pointer@17.frame()
[3564666.496] wl_pointer@17.motion(3130300857, 256.00000000, 301.00000000)
[3564666.509] wl_pointer@17.frame()
[3564666.518] wl_pointer@17.motion(3130300857, 258.00000000, 301.00000000)
[3564666.530] wl_pointer@17.frame()
[3564666.547] wl_pointer@17.motion(3130300857, 263.00000000, 301.00000000)
[3564666.551] wl_pointer@17.frame()
[3564666.554] wl_pointer@17.motion(3130300857, 266.00000000, 302.00000000)
[3564666.568] wl_pointer@17.frame()
[3564666.578] wl_pointer@17.motion(3130300857, 270.00000000, 302.00000000)
[3564666.581] wl_pointer@17.frame()
[3564666.583] wl_pointer@17.motion(3130300857, 274.00000000, 302.00000000)
[3564666.586] wl_pointer@17.frame()
[3564666.588] wl_pointer@17.motion(3130300857, 276.00000000, 302.00000000)
[3564666.590] wl_pointer@17.frame()
[3564666.599] wl_pointer@17.motion(3130300857, 280.00000000, 302.00000000)
[3564666.610] wl_pointer@17.frame()
[3564666.612] wl_pointer@17.motion(3130300857, 284.00000000, 302.00000000)
[3564666.614] wl_pointer@17.frame()
[3564666.616] wl_pointer@17.motion(3130300857, 286.00000000, 302.00000000)
[3564666.627] wl_pointer@17.frame()
[3564666.637] wl_pointer@17.motion(3130300857, 290.00000000, 302.00000000)
[3564666.648] wl_pointer@17.frame()
[3564666.650] wl_pointer@17.motion(3130300857, 293.00000000, 302.00000000)
[3564666.653] wl_pointer@17.frame()
[3564666.654] wl_pointer@17.motion(3130300857, 297.00000000, 302.00000000)
[3564666.657] wl_pointer@17.frame()
[3564666.658] wl_pointer@17.motion(3130300857, 299.00000000, 302.00000000)
[3564666.660] wl_pointer@17.frame()
[3564666.662] wl_pointer@17.motion(3130300857, 301.00000000, 302.00000000)
[3564666.664] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564682.356] wl_pointer@17.motion(3130300873, 305.00000000, 302.00000000)
[3564682.401] wl_pointer@17.frame()
[3564682.423] wl_pointer@17.motion(3130300873, 307.00000000, 302.00000000)
[3564682.436] wl_pointer@17.frame()
[3564682.452] wl_pointer@17.motion(3130300873, 309.00000000, 302.00000000)
[3564682.507] wl_pointer@17.frame()
[3564682.525] wl_pointer@17.motion(3130300873, 313.00000000, 302.00000000)
[3564682.530] wl_pointer@17.frame()
[3564682.533] wl_pointer@17.motion(3130300873, 314.00000000, 302.00000000)
[3564682.537] wl_pointer@17.frame()
[3564682.553] wl_pointer@17.motion(3130300873, 317.00000000, 302.00000000)
[3564682.557] wl_pointer@17.frame()
[3564682.560] wl_pointer@17.motion(3130300873, 318.00000000, 302.00000000)
[3564682.563] wl_pointer@17.frame()
[3564682.581] wl_pointer@17.motion(3130300873, 321.00000000, 302.00000000)
[3564682.596] wl_pointer@17.frame()
[3564682.600] wl_pointer@17.motion(3130300873, 323.00000000, 302.00000000)
[3564682.605] wl_pointer@17.frame()
[3564682.607] wl_pointer@17.motion(3130300873, 324.00000000, 302.00000000)
[3564682.623] wl_pointer@17.frame()
[3564682.628] wl_pointer@17.motion(3130300873, 327.00000000, 302.00000000)
[3564682.631] wl_pointer@17.frame()
[3564682.670] wl_pointer@17.motion(3130300873, 329.00000000, 302.00000000)
[3564682.687] wl_pointer@17.frame()
[3564682.690] wl_pointer@17.motion(3130300873, 331.00000000, 302.00000000)
[3564682.693] wl_pointer@17.frame()
[3564682.706] wl_pointer@17.motion(3130300873, 332.00000000, 302.00000000)
[3564682.710] wl_pointer@17.frame()
[3564682.713] wl_pointer@17.motion(3130300873, 333.00000000, 302.00000000)
[3564682.727] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564701.066] wl_pointer@17.motion(3130300892, 335.00000000, 301.00000000)
[3564701.113] wl_pointer@17.frame()
[3564701.126] wl_pointer@17.motion(3130300892, 336.00000000, 301.00000000)
[3564701.138] wl_pointer@17.frame()
[3564701.142] wl_pointer@17.motion(3130300892, 337.00000000, 301.00000000)
[3564701.152] wl_pointer@17.frame()
[3564701.163] wl_pointer@17.motion(3130300892, 339.00000000, 300.00000000)
[3564701.166] wl_pointer@17.frame()
[3564701.175] wl_pointer@17.motion(3130300892, 340.00000000, 300.00000000)
[3564701.178] wl_pointer@17.frame()
[3564701.180] wl_pointer@17.motion(3130300892, 341.00000000, 300.00000000)
[3564701.183] wl_pointer@17.frame()
[3564701.193] wl_pointer@17.motion(3130300892, 341.00000000, 299.00000000)
[3564701.196] wl_pointer@17.frame()
[3564701.197] wl_pointer@17.motion(3130300892, 342.00000000, 299.00000000)
[3564701.199] wl_pointer@17.frame()
[3564701.209] wl_pointer@17.motion(3130300892, 343.00000000, 299.00000000)
[3564701.212] wl_pointer@17.frame()
[3564701.214] wl_pointer@17.motion(3130300892, 344.00000000, 299.00000000)
[3564701.228] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564714.556] wl_pointer@17.motion(3130300905, 345.00000000, 299.00000000)
[3564714.601] wl_pointer@17.frame()
[3564714.614] wl_pointer@17.motion(3130300905, 345.00000000, 298.00000000)
[3564714.618] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
[3564743.755] wl_pointer@17.axis_discrete(0, -1)
[3564743.801] wl_pointer@17.axis(3130300935, 0, -10.00000000)
[3564743.806] wl_pointer@17.frame()
TRACE [calloop::loop_logic] [calloop] Dispatching events for source #0
TRACE [calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<winit::platform_impl::platform::wayland::state::WinitState>
mouse wheel Line Delta: (0,1)
thread 'main' panicked at examples/mouse_wheel.rs:45:63:
called `Result::unwrap()` on an `Err` value: NotSupportedError
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
[3564754.873]  -> wl_subsurface@24.destroy()
[3564754.916]  -> wl_surface@22.destroy()
[3564754.938]  -> wl_subsurface@26.destroy()
[3564754.953]  -> wl_surface@25.destroy()
[3564754.969]  -> wl_subsurface@28.destroy()
[3564754.991]  -> wl_surface@27.destroy()
[3564755.015]  -> wl_subsurface@30.destroy()
[3564755.043]  -> wl_surface@29.destroy()
[3564755.052]  -> wl_subsurface@32.destroy()
[3564755.070]  -> wl_surface@31.destroy()
[3564755.093]  -> wl_shm_pool@23.destroy()
[3564755.172]  -> xdg_toplevel@21.destroy()
[3564755.204]  -> xdg_surface@20.destroy()
[3564755.227]  -> wl_surface@19.destroy()
[3564755.260]  -> wl_keyboard@15.release()
[3564755.344]  -> wl_pointer@17.release()
[3564755.370]  -> wl_surface@16.destroy()
tronical commented 8 months ago

I can reproduce this after a fresh windows boot. The unwrap here fails with broken pipe: https://github.com/Smithay/smithay-clipboard/blob/858419b586c679dedd46f5347c26b19a7e00c56b/src/worker.rs#L98

I haven't figured out yet what fd is causing this. And it seems racey, too.

tronical commented 8 months ago

I debugged this a little further - not very far but something: The compositor closes the wayland display connection FD. This will produce a proper Err with winit, but it causes a panic in the above unwrap(). I'll prepare a PR to terminate the thread, to allow for graceful handling on the app side. A dead clipboard thread is already "handled" on the main thread where the smithay-clipboard API runs.