Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on Wayland when calling iced::exit() #2482

Closed
4 tasks done
shartrec opened this issue Jun 28, 2024 · 3 comments · Fixed by #2547
Closed
4 tasks done

Crash on Wayland when calling iced::exit() #2482

shartrec opened this issue Jun 28, 2024 · 3 comments · Fixed by #2547
Labels
bug Something isn't working

Comments

@shartrec
Copy link
Contributor

Is your issue REALLY a bug?

  • My issue is indeed a bug!
  • I am not crazy! I will not fill out this form just to ask a question or request a feature. Pinky promise.

Is there an existing issue for this?

  • I have searched the existing issues.

Is this issue related to iced?

  • My hardware is compatible and my graphics drivers are up-to-date.

What happened?

On Wayland.

Following the multi-window example, after updating my app to version = "0.13.0-dev". I get

SIGSEGV (signal SIGSEGV: address not mapped to object (fault address: 0x14c))

after calling iced:exit()

I tried on xorg and don't get this error

What is the expected behavior?

Should not get SIGSEV.

Version

master

Operating System

Linux

Do you have any log output?

wl_map_insert_at 0x00007feef1defd2c
proxy_destroy 0x00007feef1defe85
wl_proxy_destroy 0x00007feef1deffaf
wayland_backend::sys::client_impl::InnerBackend::send_request mod.rs:758
wayland_backend::sys::client::Backend::send_request client_api.rs:234
wayland_client::conn::Connection::send_request conn.rs:201
wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy protocol_macro.rs:28
<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop mod.rs:80
core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> mod.rs:515
core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> mod.rs:515
core::ptr::drop_in_place<smithay_clipboard::state::State> mod.rs:515
smithay_clipboard::worker::worker_impl worker.rs:102
smithay_clipboard::worker::spawn::{{closure}} worker.rs:23
std::sys_common::backtrace::__rust_begin_short_backtrace backtrace.rs:155
std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}} mod.rs:528
<core::panic::unwind_safe::AssertUnwindSafe<F> as core::ops::function::FnOnce<()>>::call_once unwind_safe.rs:272
std::panicking::try::do_call panicking.rs:552
__rust_try 0x0000560a18de5feb
std::panicking::try panicking.rs:516
[Inlined] std::panic::catch_unwind panic.rs:146
std::thread::Builder::spawn_unchecked_::{{closure}} mod.rs:527
core::ops::function::FnOnce::call_once{{vtable.shim}} function.rs:250
[Inlined] <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once boxed.rs:2020
[Inlined] <alloc::boxed::Box<F,A> as core::ops::function::FnOnce<Args>>::call_once boxed.rs:2020
std::sys::pal::unix::thread::Thread::new::thread_start thread.rs:108
start_thread 0x00007feef1b6e1b7
__clone3 0x00007feef1bf03cc
@shartrec shartrec added the bug Something isn't working label Jun 28, 2024
@vladh
Copy link
Contributor

vladh commented Jun 30, 2024

Can reproduce. Seems related to smithay-clipboard, in particular state.rs and client-toolkit/blob/master/src/primary_selection/mod.rs#L78.

@shartrec
Copy link
Contributor Author

shartrec commented Jul 5, 2024

Looks like a known problem or at least related to. Smithay/smithay-clipboard#52

@meithecatte
Copy link
Contributor

This is due to an incorrect use of unsafe in iced_winit::Clipboard::connect:

https://github.com/iced-rs/iced/blob/master/winit/src/clipboard.rs#L19-L27

window_clipboard::Clipboard::connect lists as a precondition:

Safety: the display handle must be valid for the lifetime of Clipboard

iced_winit::Clipboard::connect pretends to discharge this obligation by exposing a safe interface, but does nothing to actually guarantee that this precondition is true. This causes a use-after-free:

valgrind log showing the issue in excruciating detail
==119426== Thread 6 smithay-clipboa:
==119426== Invalid read of size 4
==119426==    at 0x4A499E4: pthread_mutex_lock@@GLIBC_2.2.5 (pthread_mutex_lock.c:80)
==119426==    by 0x4867A6D: wl_display_cancel_read (wayland-client.c:1937)
==119426==    by 0x1433BC4: <wayland_backend::sys::client_impl::InnerReadEventsGuard as core::ops::drop::Drop>::drop (mod.rs:452)
==119426==    by 0x143F186: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerReadEventsGuard> (mod.rs:536)
==119426==    by 0x13F05CA: core::ptr::drop_in_place<wayland_backend::sys::client::ReadEventsGuard> (mod.rs:536)
==119426==    by 0xE36A42: core::ptr::drop_in_place<core::option::Option<wayland_backend::sys::client::ReadEventsGuard>> (mod.rs:536)
==119426==    by 0xE7516A: <calloop_wayland_source::WaylandSource<D> as calloop::sources::EventSource>::before_handle_events (lib.rs:219)
==119426==    by 0xE788A4: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::before_handle_events (mod.rs:388)
==119426==    by 0xE6DBE2: calloop::loop_logic::EventLoop<Data>::dispatch_events (loop_logic.rs:419)
==119426==    by 0xE70BDF: calloop::loop_logic::EventLoop<Data>::dispatch (loop_logic.rs:559)
==119426==    by 0xE29AC6: smithay_clipboard::worker::worker_impl (worker.rs:98)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb7328 is 312 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4A492EA: __pthread_mutex_lock_full (pthread_mutex_lock.c:198)
==119426==    by 0x4867A6D: wl_display_cancel_read (wayland-client.c:1937)
==119426==    by 0x1433BC4: <wayland_backend::sys::client_impl::InnerReadEventsGuard as core::ops::drop::Drop>::drop (mod.rs:452)
==119426==    by 0x143F186: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerReadEventsGuard> (mod.rs:536)
==119426==    by 0x13F05CA: core::ptr::drop_in_place<wayland_backend::sys::client::ReadEventsGuard> (mod.rs:536)
==119426==    by 0xE36A42: core::ptr::drop_in_place<core::option::Option<wayland_backend::sys::client::ReadEventsGuard>> (mod.rs:536)
==119426==    by 0xE7516A: <calloop_wayland_source::WaylandSource<D> as calloop::sources::EventSource>::before_handle_events (lib.rs:219)
==119426==    by 0xE788A4: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::before_handle_events (mod.rs:388)
==119426==    by 0xE6DBE2: calloop::loop_logic::EventLoop<Data>::dispatch_events (loop_logic.rs:419)
==119426==    by 0xE70BDF: calloop::loop_logic::EventLoop<Data>::dispatch (loop_logic.rs:559)
==119426==    by 0xE29AC6: smithay_clipboard::worker::worker_impl (worker.rs:98)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb7328 is 312 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4867A6E: UnknownInlinedFun (wayland-client.c:1737)
==119426==    by 0x4867A6E: wl_display_cancel_read (wayland-client.c:1939)
==119426==    by 0x1433BC4: <wayland_backend::sys::client_impl::InnerReadEventsGuard as core::ops::drop::Drop>::drop (mod.rs:452)
==119426==    by 0x143F186: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerReadEventsGuard> (mod.rs:536)
==119426==    by 0x13F05CA: core::ptr::drop_in_place<wayland_backend::sys::client::ReadEventsGuard> (mod.rs:536)
==119426==    by 0xE36A42: core::ptr::drop_in_place<core::option::Option<wayland_backend::sys::client::ReadEventsGuard>> (mod.rs:536)
==119426==    by 0xE7516A: <calloop_wayland_source::WaylandSource<D> as calloop::sources::EventSource>::before_handle_events (lib.rs:219)
==119426==    by 0xE788A4: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::before_handle_events (mod.rs:388)
==119426==    by 0xE6DBE2: calloop::loop_logic::EventLoop<Data>::dispatch_events (loop_logic.rs:419)
==119426==    by 0xE70BDF: calloop::loop_logic::EventLoop<Data>::dispatch (loop_logic.rs:559)
==119426==    by 0xE29AC6: smithay_clipboard::worker::worker_impl (worker.rs:98)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==    by 0xE61CE5: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:154)
==119426==  Address 0x4bb7340 is 336 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4867A8F: UnknownInlinedFun (wayland-client.c:134)
==119426==    by 0x4867A8F: UnknownInlinedFun (wayland-client.c:1739)
==119426==    by 0x4867A8F: UnknownInlinedFun (wayland-client.c:1735)
==119426==    by 0x4867A8F: wl_display_cancel_read (wayland-client.c:1939)
==119426==    by 0x1433BC4: <wayland_backend::sys::client_impl::InnerReadEventsGuard as core::ops::drop::Drop>::drop (mod.rs:452)
==119426==    by 0x143F186: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerReadEventsGuard> (mod.rs:536)
==119426==    by 0x13F05CA: core::ptr::drop_in_place<wayland_backend::sys::client::ReadEventsGuard> (mod.rs:536)
==119426==    by 0xE36A42: core::ptr::drop_in_place<core::option::Option<wayland_backend::sys::client::ReadEventsGuard>> (mod.rs:536)
==119426==    by 0xE7516A: <calloop_wayland_source::WaylandSource<D> as calloop::sources::EventSource>::before_handle_events (lib.rs:219)
==119426==    by 0xE788A4: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::before_handle_events (mod.rs:388)
==119426==    by 0xE6DBE2: calloop::loop_logic::EventLoop<Data>::dispatch_events (loop_logic.rs:419)
==119426==    by 0xE70BDF: calloop::loop_logic::EventLoop<Data>::dispatch (loop_logic.rs:559)
==119426==    by 0xE29AC6: smithay_clipboard::worker::worker_impl (worker.rs:98)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==    by 0xE61CE5: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:154)
==119426==  Address 0x4bb7344 is 340 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4A44776: pthread_cond_broadcast@@GLIBC_2.3.2 (pthread_cond_broadcast.c:42)
==119426==    by 0x4867A9B: UnknownInlinedFun (wayland-client.c:136)
==119426==    by 0x4867A9B: UnknownInlinedFun (wayland-client.c:1739)
==119426==    by 0x4867A9B: UnknownInlinedFun (wayland-client.c:1735)
==119426==    by 0x4867A9B: wl_display_cancel_read (wayland-client.c:1939)
==119426==    by 0x1433BC4: <wayland_backend::sys::client_impl::InnerReadEventsGuard as core::ops::drop::Drop>::drop (mod.rs:452)
==119426==    by 0x143F186: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerReadEventsGuard> (mod.rs:536)
==119426==    by 0x13F05CA: core::ptr::drop_in_place<wayland_backend::sys::client::ReadEventsGuard> (mod.rs:536)
==119426==    by 0xE36A42: core::ptr::drop_in_place<core::option::Option<wayland_backend::sys::client::ReadEventsGuard>> (mod.rs:536)
==119426==    by 0xE7516A: <calloop_wayland_source::WaylandSource<D> as calloop::sources::EventSource>::before_handle_events (lib.rs:219)
==119426==    by 0xE788A4: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::before_handle_events (mod.rs:388)
==119426==    by 0xE6DBE2: calloop::loop_logic::EventLoop<Data>::dispatch_events (loop_logic.rs:419)
==119426==    by 0xE70BDF: calloop::loop_logic::EventLoop<Data>::dispatch (loop_logic.rs:559)
==119426==    by 0xE29AC6: smithay_clipboard::worker::worker_impl (worker.rs:98)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb736c is 380 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4A4B3F4: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:51)
==119426==    by 0x1433BC4: <wayland_backend::sys::client_impl::InnerReadEventsGuard as core::ops::drop::Drop>::drop (mod.rs:452)
==119426==    by 0x143F186: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerReadEventsGuard> (mod.rs:536)
==119426==    by 0x13F05CA: core::ptr::drop_in_place<wayland_backend::sys::client::ReadEventsGuard> (mod.rs:536)
==119426==    by 0xE36A42: core::ptr::drop_in_place<core::option::Option<wayland_backend::sys::client::ReadEventsGuard>> (mod.rs:536)
==119426==    by 0xE7516A: <calloop_wayland_source::WaylandSource<D> as calloop::sources::EventSource>::before_handle_events (lib.rs:219)
==119426==    by 0xE788A4: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::before_handle_events (mod.rs:388)
==119426==    by 0xE6DBE2: calloop::loop_logic::EventLoop<Data>::dispatch_events (loop_logic.rs:419)
==119426==    by 0xE70BDF: calloop::loop_logic::EventLoop<Data>::dispatch (loop_logic.rs:559)
==119426==    by 0xE29AC6: smithay_clipboard::worker::worker_impl (worker.rs:98)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==    by 0xE61CE5: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:154)
==119426==  Address 0x4bb7328 is 312 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4A4B470: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:55)
==119426==    by 0x1433BC4: <wayland_backend::sys::client_impl::InnerReadEventsGuard as core::ops::drop::Drop>::drop (mod.rs:452)
==119426==    by 0x143F186: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerReadEventsGuard> (mod.rs:536)
==119426==    by 0x13F05CA: core::ptr::drop_in_place<wayland_backend::sys::client::ReadEventsGuard> (mod.rs:536)
==119426==    by 0xE36A42: core::ptr::drop_in_place<core::option::Option<wayland_backend::sys::client::ReadEventsGuard>> (mod.rs:536)
==119426==    by 0xE7516A: <calloop_wayland_source::WaylandSource<D> as calloop::sources::EventSource>::before_handle_events (lib.rs:219)
==119426==    by 0xE788A4: <core::cell::RefCell<calloop::sources::DispatcherInner<S,F>> as calloop::sources::EventDispatcher<Data>>::before_handle_events (mod.rs:388)
==119426==    by 0xE6DBE2: calloop::loop_logic::EventLoop<Data>::dispatch_events (loop_logic.rs:419)
==119426==    by 0xE70BDF: calloop::loop_logic::EventLoop<Data>::dispatch (loop_logic.rs:559)
==119426==    by 0xE29AC6: smithay_clipboard::worker::worker_impl (worker.rs:98)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==    by 0xE61CE5: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:154)
==119426==  Address 0x4bb7328 is 312 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4A499E4: pthread_mutex_lock@@GLIBC_2.2.5 (pthread_mutex_lock.c:80)
==119426==    by 0x486A354: wl_proxy_marshal_array_flags (wayland-client.c:900)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb7328 is 312 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4A492EA: __pthread_mutex_lock_full (pthread_mutex_lock.c:198)
==119426==    by 0x486A354: wl_proxy_marshal_array_flags (wayland-client.c:900)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb7328 is 312 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x486A44B: wl_proxy_marshal_array_flags (wayland-client.c:911)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==    by 0xE61CE5: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:154)
==119426==  Address 0x4bb7258 is 104 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 8
==119426==    at 0x486A568: wl_proxy_marshal_array_flags (wayland-client.c:930)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==    by 0xE61CE5: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:154)
==119426==  Address 0x4bb7250 is 96 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 8
==119426==    at 0x486A9BD: UnknownInlinedFun (connection.c:185)
==119426==    by 0x486A9BD: UnknownInlinedFun (connection.c:591)
==119426==    by 0x486A9BD: UnknownInlinedFun (connection.c:571)
==119426==    by 0x486A9BD: UnknownInlinedFun (connection.c:1442)
==119426==    by 0x486A9BD: wl_proxy_marshal_array_flags (wayland-client.c:930)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==    by 0xE61CE5: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:154)
==119426==  Address 0x4bb74d8 is 40 bytes inside a block of size 136 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x4868673: UnknownInlinedFun (connection.c:372)
==119426==    by 0x4868673: wl_display_disconnect (wayland-client.c:1359)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B620: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B620: UnknownInlinedFun (connection.c:322)
==119426==    by 0x486B620: wl_display_connect_to_fd (wayland-client.c:1272)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 8
==119426==    at 0x486A9C4: UnknownInlinedFun (connection.c:591)
==119426==    by 0x486A9C4: UnknownInlinedFun (connection.c:571)
==119426==    by 0x486A9C4: UnknownInlinedFun (connection.c:1442)
==119426==    by 0x486A9C4: wl_proxy_marshal_array_flags (wayland-client.c:930)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==    by 0xE61CE5: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:154)
==119426==  Address 0x4bb74e0 is 48 bytes inside a block of size 136 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x4868673: UnknownInlinedFun (connection.c:372)
==119426==    by 0x4868673: wl_display_disconnect (wayland-client.c:1359)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B620: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B620: UnknownInlinedFun (connection.c:322)
==119426==    by 0x486B620: wl_display_connect_to_fd (wayland-client.c:1272)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 8
==119426==    at 0x4866CE6: UnknownInlinedFun (connection.c:185)
==119426==    by 0x4866CE6: ring_buffer_ensure_space (connection.c:254)
==119426==    by 0x486AA12: UnknownInlinedFun (connection.c:597)
==119426==    by 0x486AA12: UnknownInlinedFun (connection.c:571)
==119426==    by 0x486AA12: UnknownInlinedFun (connection.c:1442)
==119426==    by 0x486AA12: wl_proxy_marshal_array_flags (wayland-client.c:930)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb74d8 is 40 bytes inside a block of size 136 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x4868673: UnknownInlinedFun (connection.c:372)
==119426==    by 0x4868673: wl_display_disconnect (wayland-client.c:1359)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B620: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B620: UnknownInlinedFun (connection.c:322)
==119426==    by 0x486B620: wl_display_connect_to_fd (wayland-client.c:1272)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 8
==119426==    at 0x4866CEF: UnknownInlinedFun (connection.c:185)
==119426==    by 0x4866CEF: ring_buffer_ensure_space (connection.c:254)
==119426==    by 0x486AA12: UnknownInlinedFun (connection.c:597)
==119426==    by 0x486AA12: UnknownInlinedFun (connection.c:571)
==119426==    by 0x486AA12: UnknownInlinedFun (connection.c:1442)
==119426==    by 0x486AA12: wl_proxy_marshal_array_flags (wayland-client.c:930)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb74e0 is 48 bytes inside a block of size 136 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x4868673: UnknownInlinedFun (connection.c:372)
==119426==    by 0x4868673: wl_display_disconnect (wayland-client.c:1359)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B620: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B620: UnknownInlinedFun (connection.c:322)
==119426==    by 0x486B620: wl_display_connect_to_fd (wayland-client.c:1272)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4866CF3: ring_buffer_ensure_space (connection.c:255)
==119426==    by 0x486AA12: UnknownInlinedFun (connection.c:597)
==119426==    by 0x486AA12: UnknownInlinedFun (connection.c:571)
==119426==    by 0x486AA12: UnknownInlinedFun (connection.c:1442)
==119426==    by 0x486AA12: wl_proxy_marshal_array_flags (wayland-client.c:930)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb74ec is 60 bytes inside a block of size 136 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x4868673: UnknownInlinedFun (connection.c:372)
==119426==    by 0x4868673: wl_display_disconnect (wayland-client.c:1359)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B620: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B620: UnknownInlinedFun (connection.c:322)
==119426==    by 0x486B620: wl_display_connect_to_fd (wayland-client.c:1272)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4866D44: ring_buffer_ensure_space (connection.c:272)
==119426==    by 0x486AA12: UnknownInlinedFun (connection.c:597)
==119426==    by 0x486AA12: UnknownInlinedFun (connection.c:571)
==119426==    by 0x486AA12: UnknownInlinedFun (connection.c:1442)
==119426==    by 0x486AA12: wl_proxy_marshal_array_flags (wayland-client.c:930)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb74e8 is 56 bytes inside a block of size 136 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x4868673: UnknownInlinedFun (connection.c:372)
==119426==    by 0x4868673: wl_display_disconnect (wayland-client.c:1359)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B620: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B620: UnknownInlinedFun (connection.c:322)
==119426==    by 0x486B620: wl_display_connect_to_fd (wayland-client.c:1272)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4866871: UnknownInlinedFun (connection.c:85)
==119426==    by 0x4866871: UnknownInlinedFun (connection.c:90)
==119426==    by 0x4866871: ring_buffer_put.part.0 (connection.c:102)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:99)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:600)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:571)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:1442)
==119426==    by 0x486AA3A: wl_proxy_marshal_array_flags (wayland-client.c:930)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb74e8 is 56 bytes inside a block of size 136 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x4868673: UnknownInlinedFun (connection.c:372)
==119426==    by 0x4868673: wl_display_disconnect (wayland-client.c:1359)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B620: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B620: UnknownInlinedFun (connection.c:322)
==119426==    by 0x486B620: wl_display_connect_to_fd (wayland-client.c:1272)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 8
==119426==    at 0x4866874: ring_buffer_put.part.0 (connection.c:102)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:99)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:600)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:571)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:1442)
==119426==    by 0x486AA3A: wl_proxy_marshal_array_flags (wayland-client.c:930)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb74d8 is 40 bytes inside a block of size 136 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x4868673: UnknownInlinedFun (connection.c:372)
==119426==    by 0x4868673: wl_display_disconnect (wayland-client.c:1359)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B620: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B620: UnknownInlinedFun (connection.c:322)
==119426==    by 0x486B620: wl_display_connect_to_fd (wayland-client.c:1272)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 8
==119426==    at 0x4866887: ring_buffer_put.part.0 (connection.c:104)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:99)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:600)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:571)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:1442)
==119426==    by 0x486AA3A: wl_proxy_marshal_array_flags (wayland-client.c:930)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb74d0 is 32 bytes inside a block of size 136 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x4868673: UnknownInlinedFun (connection.c:372)
==119426==    by 0x4868673: wl_display_disconnect (wayland-client.c:1359)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B620: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B620: UnknownInlinedFun (connection.c:322)
==119426==    by 0x486B620: wl_display_connect_to_fd (wayland-client.c:1272)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid write of size 2
==119426==    at 0x4852403: memmove (vg_replace_strmem.c:1414)
==119426==    by 0x48668F5: UnknownInlinedFun (string_fortified.h:29)
==119426==    by 0x48668F5: ring_buffer_put.part.0 (connection.c:104)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:99)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:600)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:571)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:1442)
==119426==    by 0x486AA3A: wl_proxy_marshal_array_flags (wayland-client.c:930)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==  Address 0x4bbb58c is 3,916 bytes inside a block of size 4,096 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x4868646: UnknownInlinedFun (connection.c:366)
==119426==    by 0x4868646: wl_display_disconnect (wayland-client.c:1359)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x4866D58: UnknownInlinedFun (connection.c:214)
==119426==    by 0x4866D58: ring_buffer_ensure_space (connection.c:276)
==119426==    by 0x486B66F: UnknownInlinedFun (connection.c:314)
==119426==    by 0x486B66F: UnknownInlinedFun (connection.c:326)
==119426==    by 0x486B66F: wl_display_connect_to_fd (wayland-client.c:1272)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==
==119426== Invalid read of size 8
==119426==    at 0x48668F6: UnknownInlinedFun (string_fortified.h:29)
==119426==    by 0x48668F6: ring_buffer_put.part.0 (connection.c:104)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:99)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:600)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:571)
==119426==    by 0x486AA3A: UnknownInlinedFun (connection.c:1442)
==119426==    by 0x486AA3A: wl_proxy_marshal_array_flags (wayland-client.c:930)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb74d8 is 40 bytes inside a block of size 136 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x4868673: UnknownInlinedFun (connection.c:372)
==119426==    by 0x4868673: wl_display_disconnect (wayland-client.c:1359)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B620: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B620: UnknownInlinedFun (connection.c:322)
==119426==    by 0x486B620: wl_display_connect_to_fd (wayland-client.c:1272)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid write of size 4
==119426==    at 0x486AA51: UnknownInlinedFun (connection.c:574)
==119426==    by 0x486AA51: UnknownInlinedFun (connection.c:1442)
==119426==    by 0x486AA51: wl_proxy_marshal_array_flags (wayland-client.c:930)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==    by 0xE61CE5: std::sys::backtrace::__rust_begin_short_backtrace (backtrace.rs:154)
==119426==  Address 0x4bb7534 is 132 bytes inside a block of size 136 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x4868673: UnknownInlinedFun (connection.c:372)
==119426==    by 0x4868673: wl_display_disconnect (wayland-client.c:1359)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B620: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B620: UnknownInlinedFun (connection.c:322)
==119426==    by 0x486B620: wl_display_connect_to_fd (wayland-client.c:1272)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4A4B3F4: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:51)
==119426==    by 0x486A40F: wl_proxy_marshal_array_flags (wayland-client.c:941)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb7328 is 312 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4A4B470: __pthread_mutex_unlock_usercnt (pthread_mutex_unlock.c:55)
==119426==    by 0x486A40F: wl_proxy_marshal_array_flags (wayland-client.c:941)
==119426==    by 0x14353C3: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:629)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb7328 is 312 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4A499E4: pthread_mutex_lock@@GLIBC_2.2.5 (pthread_mutex_lock.c:80)
==119426==    by 0x4868AA1: wl_proxy_destroy (wayland-client.c:619)
==119426==    by 0x1435934: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:711)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb7328 is 312 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 4
==119426==    at 0x4A492EA: __pthread_mutex_lock_full (pthread_mutex_lock.c:198)
==119426==    by 0x4868AA1: wl_proxy_destroy (wayland-client.c:619)
==119426==    by 0x1435934: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:711)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==    by 0xE2921F: smithay_clipboard::worker::spawn::{{closure}} (worker.rs:23)
==119426==  Address 0x4bb7328 is 312 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 8
==119426==    at 0x486880F: wl_map_insert_at (wayland-util.c:277)
==119426==    by 0x4868984: proxy_destroy (wayland-client.c:574)
==119426==    by 0x4868AAF: UnknownInlinedFun (wayland-client.c:598)
==119426==    by 0x4868AAF: wl_proxy_destroy (wayland-client.c:621)
==119426==    by 0x1435934: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:711)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==  Address 0x4bb7280 is 144 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid read of size 8
==119426==    at 0x486881F: wl_map_insert_at (wayland-util.c:290)
==119426==    by 0x4868984: proxy_destroy (wayland-client.c:574)
==119426==    by 0x4868AAF: UnknownInlinedFun (wayland-client.c:598)
==119426==    by 0x4868AAF: wl_proxy_destroy (wayland-client.c:621)
==119426==    by 0x1435934: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:711)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==  Address 0x4bb7290 is 160 bytes inside a block of size 392 free'd
==119426==    at 0x48478EF: free (vg_replace_malloc.c:989)
==119426==    by 0x1439253: <wayland_backend::sys::client_impl::ConnectionState as core::ops::drop::Drop>::drop (mod.rs:1043)
==119426==    by 0x143EFC6: core::ptr::drop_in_place<wayland_backend::sys::client_impl::ConnectionState> (mod.rs:536)
==119426==    by 0x143E5BA: core::ptr::drop_in_place<core::cell::UnsafeCell<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143E61E: core::ptr::drop_in_place<std::sync::mutex::Mutex<wayland_backend::sys::client_impl::ConnectionState>> (mod.rs:536)
==119426==    by 0x143EDAA: core::ptr::drop_in_place<wayland_backend::sys::client_impl::Inner> (mod.rs:536)
==119426==    by 0x14309FE: alloc::sync::Arc<T,A>::drop_slow (sync.rs:1839)
==119426==    by 0x1431029: <alloc::sync::Arc<T,A> as core::ops::drop::Drop>::drop (sync.rs:2532)
==119426==    by 0x143F1FA: core::ptr::drop_in_place<alloc::sync::Arc<wayland_backend::sys::client_impl::Inner>> (mod.rs:536)
==119426==    by 0x143EE1A: core::ptr::drop_in_place<wayland_backend::sys::client_impl::InnerBackend> (mod.rs:536)
==119426==    by 0x143ED0A: core::ptr::drop_in_place<wayland_backend::sys::client::Backend> (mod.rs:536)
==119426==    by 0x13F023A: core::ptr::drop_in_place<wayland_client::conn::Connection> (mod.rs:536)
==119426==  Block was alloc'd at
==119426==    at 0x484BC13: calloc (vg_replace_malloc.c:1675)
==119426==    by 0x486B4BF: UnknownInlinedFun (wayland-private.h:251)
==119426==    by 0x486B4BF: wl_display_connect_to_fd (wayland-client.c:1222)
==119426==    by 0x14320AB: wayland_backend::sys::client_impl::InnerBackend::connect (mod.rs:237)
==119426==    by 0x1439E59: wayland_backend::sys::client::Backend::connect (client_api.rs:169)
==119426==    by 0x141A698: wayland_client::conn::Connection::connect_to_env (conn.rs:89)
==119426==    by 0xD09290: winit::platform_impl::platform::wayland::event_loop::EventLoop<T>::new (mod.rs:81)
==119426==    by 0xD56099: winit::platform_impl::platform::EventLoop<T>::new_wayland_any_thread (mod.rs:775)
==119426==    by 0xD5649C: winit::platform_impl::platform::EventLoop<T>::new (mod.rs:767)
==119426==    by 0xBF098D: winit::event_loop::EventLoopBuilder<T>::build (event_loop.rs:125)
==119426==    by 0xBFA0F9: iced_winit::program::run (program.rs:190)
==119426==    by 0xCE13B5: iced::program::Program::run_with (program.rs:177)
==119426==    by 0xCE1040: iced::program::Program::run (program.rs:81)
==119426==
==119426== Invalid write of size 8
==119426==    at 0x486882C: wl_map_insert_at (wayland-util.c:290)
==119426==    by 0x4868984: proxy_destroy (wayland-client.c:574)
==119426==    by 0x4868AAF: UnknownInlinedFun (wayland-client.c:598)
==119426==    by 0x4868AAF: wl_proxy_destroy (wayland-client.c:621)
==119426==    by 0x1435934: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:711)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)
==119426==  Address 0x10c is not stack'd, malloc'd or (recently) free'd
==119426==
==119426==
==119426== Process terminating with default action of signal 11 (SIGSEGV): dumping core
==119426==  Access not within mapped region at address 0x15C
==119426==    at 0x486882C: wl_map_insert_at (wayland-util.c:290)
==119426==    by 0x4868984: proxy_destroy (wayland-client.c:574)
==119426==    by 0x4868AAF: UnknownInlinedFun (wayland-client.c:598)
==119426==    by 0x4868AAF: wl_proxy_destroy (wayland-client.c:621)
==119426==    by 0x1435934: wayland_backend::sys::client_impl::InnerBackend::send_request (mod.rs:711)
==119426==    by 0x1439EDF: wayland_backend::sys::client::Backend::send_request (client_api.rs:239)
==119426==    by 0xEA732E: wayland_client::conn::Connection::send_request (conn.rs:201)
==119426==    by 0xEA4A50: wayland_protocols::wp::primary_selection::zv1::generated::client::zwp_primary_selection_device_manager_v1::ZwpPrimarySelectionDeviceManagerV1::destroy (protocol_macro.rs:28)
==119426==    by 0xE9753A: <smithay_client_toolkit::primary_selection::PrimarySelectionManagerState as core::ops::drop::Drop>::drop (mod.rs:80)
==119426==    by 0xE36786: core::ptr::drop_in_place<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState> (mod.rs:536)
==119426==    by 0xE32435: core::ptr::drop_in_place<core::option::Option<smithay_client_toolkit::primary_selection::PrimarySelectionManagerState>> (mod.rs:536)
==119426==    by 0xE34E4D: core::ptr::drop_in_place<smithay_clipboard::state::State> (mod.rs:536)
==119426==    by 0xE29B5A: smithay_clipboard::worker::worker_impl (worker.rs:102)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants