Skip to content

Instantly share code, notes, and snippets.

@gulafaran
Created July 7, 2024 19:17
Show Gist options
  • Save gulafaran/d871d4dd98f75017fc40a922b6f875c2 to your computer and use it in GitHub Desktop.
Save gulafaran/d871d4dd98f75017fc40a922b6f875c2 to your computer and use it in GitHub Desktop.
==15900== Memcheck, a memory error detector
==15900== Copyright (C) 2002-2024, and GNU GPL'd, by Julian Seward et al.
==15900== Using Valgrind-3.23.1.GIT and LibVEX; rerun with -h for copyright info
==15900== Command: ./simpleWindow
==15900==
[AQ] [DEBUG] Creating an Aquamarine backend!
[AQ] [DEBUG] Starting the Aquamarine backend!
[AQ] [DEBUG] Starting the Wayland backend!
[AQ] [DEBUG] Got registry at 0x55e3f80
[AQ] [DEBUG] New wayland keyboard wl_keyboard
[AQ] [DEBUG] New wayland pointer wl_pointer
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format R8 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format R8 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format R8 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format R8 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format R8 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format R8 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format R16 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format R16 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format R16 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format R16 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format R16 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format R16 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format P010 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format Y210 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format Y410 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format P030 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB30 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB30 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB30 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB30 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB30 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB30 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR30 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR30 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR30 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR30 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR30 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR30 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XR30 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XR30 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XR30 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XR30 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XR30 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XR30 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format YU11 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format YV11 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format NV21 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format P012 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format Y212 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format Y412 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR12 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR12 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR12 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR12 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR12 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR12 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format YU12 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format NV12 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format YV12 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format GR32 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format GR32 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format GR32 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format GR32 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format GR32 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format GR32 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB24 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB24 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB24 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB24 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB24 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB24 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB24 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB24 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB24 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB24 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB24 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB24 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR24 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR24 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR24 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR24 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR24 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR24 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XR24 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XR24 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XR24 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XR24 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XR24 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XR24 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format YU24 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format YV24 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR15 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR15 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR15 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR15 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR15 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AR15 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format P016 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format Y216 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format Y416 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format RG16 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format RG16 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format RG16 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format RG16 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format RG16 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format RG16 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format YU16 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format NV16 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format YV16 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB48 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB48 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB48 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB48 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB48 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB48 with modifier Y_TILED_GEN12_RC_CC==15900== Invalid read of size 8
==15900== at 0x124A74: std::_Function_base::~_Function_base() (std_function.h:243)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A0799F: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A0799F: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_erase_at_end(std::function<void ()>*) (stl_vector.h:1947)
==15900== by 0x4A03CF7: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::clear() (stl_vector.h:1608)
==15900== by 0x49F4163: Aquamarine::CWaylandOutput::~CWaylandOutput() (src/backend/Wayland.cpp:490)
==15900== by 0x49F42E8: Aquamarine::CWaylandOutput::~CWaylandOutput() (src/backend/Wayland.cpp:489)
==15900== by 0x4A0C90B: std::default_delete<Aquamarine::CWaylandOutput>::operator()(Aquamarine::CWaylandOutput*) const (unique_ptr.h:93)
==15900== by 0x4A0C8C9: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandOutput>::_destroy() (SharedPtr.hpp:69)
==15900== Address 0x5620a90 is 16 bytes inside a block of size 128 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A05F5C: std::__new_allocator<std::function<void ()> >::deallocate(std::function<void ()>*, unsigned long) (new_allocator.h:172)
==15900== by 0x4A05F17: deallocate (allocator.h:208)
==15900== by 0x4A05F17: deallocate (alloc_traits.h:513)
==15900== by 0x4A05F17: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_deallocate(std::function<void ()>*, unsigned long) (stl_vector.h:389)
==15900== by 0x4A05DD6: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::~_Vector_base() (stl_vector.h:368)
==15900== by 0x4A0329B: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:738)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== by 0x49C823B: std::default_delete<Aquamarine::CWaylandBackend>::operator()(Aquamarine::CWaylandBackend*) const (unique_ptr.h:93)
==15900== by 0x49C81F9: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandBackend>::_destroy() (SharedPtr.hpp:69)
==15900== by 0x49C8134: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandBackend>::destroy() (SharedPtr.hpp:103)
==15900== by 0x49BB17C: Hyprutils::Memory::CSharedPointer<Aquamarine::IBackendImplementation>::destroyImpl() (SharedPtr.hpp:279)
==15900== by 0x49BB14E: Hyprutils::Memory::CSharedPointer<Aquamarine::IBackendImplementation>::decrement() (SharedPtr.hpp:265)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0771D: std::__new_allocator<std::function<void ()> >::allocate(unsigned long, void const*) (new_allocator.h:151)
==15900== by 0x4A07553: allocate (allocator.h:196)
==15900== by 0x4A07553: allocate (alloc_traits.h:478)
==15900== by 0x4A07553: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_allocate(unsigned long) (stl_vector.h:380)
==15900== by 0x49F78DA: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:596)
==15900== by 0x49F0F5C: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:123)
==15900== by 0x49F0E4B: Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/backend/Wayland.cpp:142)
==15900== by 0x49F0743: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:128)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== Invalid read of size 8
==15900== at 0x124A83: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A0799F: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A0799F: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_erase_at_end(std::function<void ()>*) (stl_vector.h:1947)
==15900== by 0x4A03CF7: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::clear() (stl_vector.h:1608)
==15900== by 0x49F4163: Aquamarine::CWaylandOutput::~CWaylandOutput() (src/backend/Wayland.cpp:490)
==15900== by 0x49F42E8: Aquamarine::CWaylandOutput::~CWaylandOutput() (src/backend/Wayland.cpp:489)
==15900== by 0x4A0C90B: std::default_delete<Aquamarine::CWaylandOutput>::operator()(Aquamarine::CWaylandOutput*) const (unique_ptr.h:93)
==15900== by 0x4A0C8C9: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandOutput>::_destroy() (SharedPtr.hpp:69)
==15900== Address 0x5620a90 is 16 bytes inside a block of size 128 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A05F5C: std::__new_allocator<std::function<void ()> >::deallocate(std::function<void ()>*, unsigned long) (new_allocator.h:172)
==15900== by 0x4A05F17: deallocate (allocator.h:208)
==15900== by 0x4A05F17: deallocate (alloc_traits.h:513)
==15900== by 0x4A05F17: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_deallocate(std::function<void ()>*, unsigned long) (stl_vector.h:389)
==15900== by 0x4A05DD6: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::~_Vector_base() (stl_vector.h:368)
==15900== by 0x4A0329B: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:738)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== by 0x49C823B: std::default_delete<Aquamarine::CWaylandBackend>::operator()(Aquamarine::CWaylandBackend*) const (unique_ptr.h:93)
==15900== by 0x49C81F9: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandBackend>::_destroy() (SharedPtr.hpp:69)
==15900== by 0x49C8134: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandBackend>::destroy() (SharedPtr.hpp:103)
==15900== by 0x49BB17C: Hyprutils::Memory::CSharedPointer<Aquamarine::IBackendImplementation>::destroyImpl() (SharedPtr.hpp:279)
==15900== by 0x49BB14E: Hyprutils::Memory::CSharedPointer<Aquamarine::IBackendImplementation>::decrement() (SharedPtr.hpp:265)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0771D: std::__new_allocator<std::function<void ()> >::allocate(unsigned long, void const*) (new_allocator.h:151)
==15900== by 0x4A07553: allocate (allocator.h:196)
==15900== by 0x4A07553: allocate (alloc_traits.h:478)
==15900== by 0x4A07553: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_allocate(unsigned long) (stl_vector.h:380)
==15900== by 0x49F78DA: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:596)
==15900== by 0x49F0F5C: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:123)
==15900== by 0x49F0E4B: Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/backend/Wayland.cpp:142)
==15900== by 0x49F0743: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:128)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== Invalid read of size 8
==15900== at 0x49FE8A5: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A0799F: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A0799F: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_erase_at_end(std::function<void ()>*) (stl_vector.h:1947)
==15900== by 0x4A03CF7: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::clear() (stl_vector.h:1608)
==15900== by 0x49F4163: Aquamarine::CWaylandOutput::~CWaylandOutput() (src/backend/Wayland.cpp:490)
==15900== Address 0x5620a80 is 0 bytes inside a block of size 128 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A05F5C: std::__new_allocator<std::function<void ()> >::deallocate(std::function<void ()>*, unsigned long) (new_allocator.h:172)
==15900== by 0x4A05F17: deallocate (allocator.h:208)
==15900== by 0x4A05F17: deallocate (alloc_traits.h:513)
==15900== by 0x4A05F17: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_deallocate(std::function<void ()>*, unsigned long) (stl_vector.h:389)
==15900== by 0x4A05DD6: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::~_Vector_base() (stl_vector.h:368)
==15900== by 0x4A0329B: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:738)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== by 0x49C823B: std::default_delete<Aquamarine::CWaylandBackend>::operator()(Aquamarine::CWaylandBackend*) const (unique_ptr.h:93)
==15900== by 0x49C81F9: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandBackend>::_destroy() (SharedPtr.hpp:69)
==15900== by 0x49C8134: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandBackend>::destroy() (SharedPtr.hpp:103)
==15900== by 0x49BB17C: Hyprutils::Memory::CSharedPointer<Aquamarine::IBackendImplementation>::destroyImpl() (SharedPtr.hpp:279)
==15900== by 0x49BB14E: Hyprutils::Memory::CSharedPointer<Aquamarine::IBackendImplementation>::decrement() (SharedPtr.hpp:265)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0771D: std::__new_allocator<std::function<void ()> >::allocate(unsigned long, void const*) (new_allocator.h:151)
==15900== by 0x4A07553: allocate (allocator.h:196)
==15900== by 0x4A07553: allocate (alloc_traits.h:478)
==15900== by 0x4A07553: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_allocate(unsigned long) (stl_vector.h:380)
==15900== by 0x49F78DA: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:596)
==15900== by 0x49F0F5C: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:123)
==15900== by 0x49F0E4B: Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/backend/Wayland.cpp:142)
==15900== by 0x49F0743: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:128)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== Invalid read of size 8
==15900== at 0x4A06394: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::decrement() (SharedPtr.hpp:258)
==15900== by 0x4A06364: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FDF08: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}::~wl_seat_capability() (src/backend/Wayland.cpp:313)
==15900== by 0x49FE8BE: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== Address 0x55ece38 is 8 bytes inside a block of size 16 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49FE8C7: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A03288: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A03288: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x49FE5A9: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_create<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&, std::integral_constant<bool, false>) (std_function.h:161)
==15900== by 0x49FE4BC: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_init_functor<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (std_function.h:215)
==15900== by 0x49FE42B: std::function<void ()>::function<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}, void>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (std_function.h:449)
==15900== by 0x49FE3C0: decltype (::new ((void*)(0)) std::function<void ()>((std::declval<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>)())) std::construct_at<std::function<void ()>, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(std::function<void ()>*, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (stl_construct.h:97)
==15900== by 0x49FE25C: construct<std::function<void ()>, (lambda at /home/tom/dev/aquamarine/src/backend/Wayland.cpp:313:40)> (alloc_traits.h:536)
==15900== by 0x49FE25C: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (vector.tcc:634)
==15900== by 0x49FDEDC: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (vector.tcc:123)
==15900== by 0x49FD9E8: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:313)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900==
==15900== Invalid read of size 8
==15900== at 0x4A063A7: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::decrement() (SharedPtr.hpp:261)
==15900== by 0x4A06364: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FDF08: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}::~wl_seat_capability() (src/backend/Wayland.cpp:313)
==15900== by 0x49FE8BE: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== Address 0x55ece38 is 8 bytes inside a block of size 16 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49FE8C7: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A03288: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A03288: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x49FE5A9: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_create<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&, std::integral_constant<bool, false>) (std_function.h:161)
==15900== by 0x49FE4BC: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_init_functor<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (std_function.h:215)
==15900== by 0x49FE42B: std::function<void ()>::function<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}, void>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (std_function.h:449)
==15900== by 0x49FE3C0: decltype (::new ((void*)(0)) std::function<void ()>((std::declval<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>)())) std::construct_at<std::function<void ()>, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(std::function<void ()>*, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (stl_construct.h:97)
==15900== by 0x49FE25C: construct<std::function<void ()>, (lambda at /home/tom/dev/aquamarine/src/backend/Wayland.cpp:313:40)> (alloc_traits.h:536)
==15900== by 0x49FE25C: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (vector.tcc:634)
==15900== by 0x49FDEDC: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (vector.tcc:123)
==15900== by 0x49FD9E8: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:313)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900==
==15900== Invalid read of size 8
==15900== at 0x4A063AA: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::decrement() (SharedPtr.hpp:261)
==15900== by 0x4A06364: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FDF08: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}::~wl_seat_capability() (src/backend/Wayland.cpp:313)
==15900== by 0x49FE8BE: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== Address 0x55ecd20 is 0 bytes inside a block of size 32 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A0EB31: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandKeyboard>::~impl() (SharedPtr.hpp:118)
==15900== by 0x4A06431: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::destroyImpl() (SharedPtr.hpp:283)
==15900== by 0x4A063CE: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::decrement() (SharedPtr.hpp:265)
==15900== by 0x4A06364: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x4A06344: void std::destroy_at<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:88)
==15900== by 0x4A06324: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:149)
==15900== by 0x4A062F6: void std::_Destroy_aux<false>::__destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:163)
==15900== by 0x4A062BC: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:195)
==15900== by 0x4A03368: _Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> *, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> > (alloc_traits.h:944)
==15900== by 0x4A03368: std::vector<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>, std::allocator<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEDB: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0E9F8: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::CSharedPointer(Aquamarine::CWaylandKeyboard*) (SharedPtr.hpp:135)
==15900== by 0x49FDD4D: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> Hyprutils::Memory::makeShared<Aquamarine::CWaylandKeyboard, Hyprutils::Memory::CSharedPointer<CCWlKeyboard>, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&>(Hyprutils::Memory::CSharedPointer<CCWlKeyboard>&&, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&) (SharedPtr.hpp:291)
==15900== by 0x49FD965: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:312)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900== by 0x4A57DDB: _CWlSeatCapabilities(void*, void*, wl_seat_capability) (protocols/wayland.cpp:1469)
==15900== by 0x5464549: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x546027D: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x54639CA: ffi_call (in /usr/lib64/libffi.so.8.1.4)
==15900==
==15900== Invalid read of size 4
==15900== at 0x4A0EB6C: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandKeyboard>::dec() (SharedPtr.hpp:83)
==15900== by 0x4A063AF: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::decrement() (SharedPtr.hpp:261)
==15900== by 0x4A06364: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FDF08: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}::~wl_seat_capability() (src/backend/Wayland.cpp:313)
==15900== by 0x49FE8BE: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== Address 0x55ecd28 is 8 bytes inside a block of size 32 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A0EB31: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandKeyboard>::~impl() (SharedPtr.hpp:118)
==15900== by 0x4A06431: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::destroyImpl() (SharedPtr.hpp:283)
==15900== by 0x4A063CE: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::decrement() (SharedPtr.hpp:265)
==15900== by 0x4A06364: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x4A06344: void std::destroy_at<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:88)
==15900== by 0x4A06324: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:149)
==15900== by 0x4A062F6: void std::_Destroy_aux<false>::__destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:163)
==15900== by 0x4A062BC: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:195)
==15900== by 0x4A03368: _Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> *, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> > (alloc_traits.h:944)
==15900== by 0x4A03368: std::vector<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>, std::allocator<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEDB: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0E9F8: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::CSharedPointer(Aquamarine::CWaylandKeyboard*) (SharedPtr.hpp:135)
==15900== by 0x49FDD4D: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> Hyprutils::Memory::makeShared<Aquamarine::CWaylandKeyboard, Hyprutils::Memory::CSharedPointer<CCWlKeyboard>, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&>(Hyprutils::Memory::CSharedPointer<CCWlKeyboard>&&, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&) (SharedPtr.hpp:291)
==15900== by 0x49FD965: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:312)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900== by 0x4A57DDB: _CWlSeatCapabilities(void*, void*, wl_seat_capability) (protocols/wayland.cpp:1469)
==15900== by 0x5464549: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x546027D: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x54639CA: ffi_call (in /usr/lib64/libffi.so.8.1.4)
==15900==
==15900== Invalid write of size 4
==15900== at 0x4A0EB72: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandKeyboard>::dec() (SharedPtr.hpp:83)
==15900== by 0x4A063AF: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::decrement() (SharedPtr.hpp:261)
==15900== by 0x4A06364: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FDF08: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}::~wl_seat_capability() (src/backend/Wayland.cpp:313)
==15900== by 0x49FE8BE: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== Address 0x55ecd28 is 8 bytes inside a block of size 32 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A0EB31: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandKeyboard>::~impl() (SharedPtr.hpp:118)
==15900== by 0x4A06431: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::destroyImpl() (SharedPtr.hpp:283)
==15900== by 0x4A063CE: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::decrement() (SharedPtr.hpp:265)
==15900== by 0x4A06364: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x4A06344: void std::destroy_at<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:88)
==15900== by 0x4A06324: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:149)
==15900== by 0x4A062F6: void std::_Destroy_aux<false>::__destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:163)
==15900== by 0x4A062BC: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:195)
==15900== by 0x4A03368: _Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> *, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> > (alloc_traits.h:944)
==15900== by 0x4A03368: std::vector<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>, std::allocator<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEDB: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0E9F8: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::CSharedPointer(Aquamarine::CWaylandKeyboard*) (SharedPtr.hpp:135)
==15900== by 0x49FDD4D: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> Hyprutils::Memory::makeShared<Aquamarine::CWaylandKeyboard, Hyprutils::Memory::CSharedPointer<CCWlKeyboard>, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&>(Hyprutils::Memory::CSharedPointer<CCWlKeyboard>&&, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&) (SharedPtr.hpp:291)
==15900== by 0x49FD965: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:312)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900== by 0x4A57DDB: _CWlSeatCapabilities(void*, void*, wl_seat_capability) (protocols/wayland.cpp:1469)
==15900== by 0x5464549: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x546027D: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x54639CA: ffi_call (in /usr/lib64/libffi.so.8.1.4)
==15900==
==15900== Invalid read of size 8
==15900== at 0x4A063B4: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::decrement() (SharedPtr.hpp:264)
==15900== by 0x4A06364: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FDF08: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}::~wl_seat_capability() (src/backend/Wayland.cpp:313)
==15900== by 0x49FE8BE: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== Address 0x55ece38 is 8 bytes inside a block of size 16 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49FE8C7: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A03288: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A03288: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x49FE5A9: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_create<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&, std::integral_constant<bool, false>) (std_function.h:161)
==15900== by 0x49FE4BC: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_init_functor<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (std_function.h:215)
==15900== by 0x49FE42B: std::function<void ()>::function<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}, void>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (std_function.h:449)
==15900== by 0x49FE3C0: decltype (::new ((void*)(0)) std::function<void ()>((std::declval<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>)())) std::construct_at<std::function<void ()>, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(std::function<void ()>*, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (stl_construct.h:97)
==15900== by 0x49FE25C: construct<std::function<void ()>, (lambda at /home/tom/dev/aquamarine/src/backend/Wayland.cpp:313:40)> (alloc_traits.h:536)
==15900== by 0x49FE25C: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (vector.tcc:634)
==15900== by 0x49FDEDC: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (vector.tcc:123)
==15900== by 0x49FD9E8: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:313)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900==
==15900== Invalid read of size 8
==15900== at 0x4A063B7: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::decrement() (SharedPtr.hpp:264)
==15900== by 0x4A06364: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FDF08: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}::~wl_seat_capability() (src/backend/Wayland.cpp:313)
==15900== by 0x49FE8BE: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== Address 0x55ecd20 is 0 bytes inside a block of size 32 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A0EB31: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandKeyboard>::~impl() (SharedPtr.hpp:118)
==15900== by 0x4A06431: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::destroyImpl() (SharedPtr.hpp:283)
==15900== by 0x4A063CE: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::decrement() (SharedPtr.hpp:265)
==15900== by 0x4A06364: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x4A06344: void std::destroy_at<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:88)
==15900== by 0x4A06324: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:149)
==15900== by 0x4A062F6: void std::_Destroy_aux<false>::__destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:163)
==15900== by 0x4A062BC: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:195)
==15900== by 0x4A03368: _Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> *, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> > (alloc_traits.h:944)
==15900== by 0x4A03368: std::vector<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>, std::allocator<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEDB: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0E9F8: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::CSharedPointer(Aquamarine::CWaylandKeyboard*) (SharedPtr.hpp:135)
==15900== by 0x49FDD4D: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> Hyprutils::Memory::makeShared<Aquamarine::CWaylandKeyboard, Hyprutils::Memory::CSharedPointer<CCWlKeyboard>, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&>(Hyprutils::Memory::CSharedPointer<CCWlKeyboard>&&, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&) (SharedPtr.hpp:291)
==15900== by 0x49FD965: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:312)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900== by 0x4A57DDB: _CWlSeatCapabilities(void*, void*, wl_seat_capability) (protocols/wayland.cpp:1469)
==15900== by 0x5464549: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x546027D: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x54639CA: ffi_call (in /usr/lib64/libffi.so.8.1.4)
==15900==
==15900== Invalid read of size 4
==15900== at 0x4A0EBCC: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandKeyboard>::ref() (SharedPtr.hpp:95)
==15900== by 0x4A063BC: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::decrement() (SharedPtr.hpp:264)
==15900== by 0x4A06364: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FDF08: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}::~wl_seat_capability() (src/backend/Wayland.cpp:313)
==15900== by 0x49FE8BE: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== Address 0x55ecd28 is 8 bytes inside a block of size 32 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A0EB31: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandKeyboard>::~impl() (SharedPtr.hpp:118)
==15900== by 0x4A06431: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::destroyImpl() (SharedPtr.hpp:283)
==15900== by 0x4A063CE: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::decrement() (SharedPtr.hpp:265)
==15900== by 0x4A06364: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x4A06344: void std::destroy_at<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:88)
==15900== by 0x4A06324: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:149)
==15900== by 0x4A062F6: void std::_Destroy_aux<false>::__destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:163)
==15900== by 0x4A062BC: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>*) (stl_construct.h:195)
==15900== by 0x4A03368: _Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> *, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> > (alloc_traits.h:944)
==15900== by 0x4A03368: std::vector<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>, std::allocator<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEDB: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0E9F8: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard>::CSharedPointer(Aquamarine::CWaylandKeyboard*) (SharedPtr.hpp:135)
==15900== by 0x49FDD4D: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandKeyboard> Hyprutils::Memory::makeShared<Aquamarine::CWaylandKeyboard, Hyprutils::Memory::CSharedPointer<CCWlKeyboard>, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&>(Hyprutils::Memory::CSharedPointer<CCWlKeyboard>&&, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&) (SharedPtr.hpp:291)
==15900== by 0x49FD965: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:312)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900== by 0x4A57DDB: _CWlSeatCapabilities(void*, void*, wl_seat_capability) (protocols/wayland.cpp:1469)
==15900== by 0x5464549: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x546027D: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x54639CA: ffi_call (in /usr/lib64/libffi.so.8.1.4)
==15900==
==15900== Invalid free() / delete / delete[] / realloc()
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49FE8C7: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A0799F: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A0799F: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_erase_at_end(std::function<void ()>*) (stl_vector.h:1947)
==15900== by 0x4A03CF7: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::clear() (stl_vector.h:1608)
==15900== Address 0x55ece30 is 0 bytes inside a block of size 16 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49FE8C7: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FE84C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FE580: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A03288: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A03288: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x49FE5A9: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_create<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&, std::integral_constant<bool, false>) (std_function.h:161)
==15900== by 0x49FE4BC: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>::_M_init_functor<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (std_function.h:215)
==15900== by 0x49FE42B: std::function<void ()>::function<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}, void>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (std_function.h:449)
==15900== by 0x49FE3C0: decltype (::new ((void*)(0)) std::function<void ()>((std::declval<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>)())) std::construct_at<std::function<void ()>, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(std::function<void ()>*, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (stl_construct.h:97)
==15900== by 0x49FE25C: construct<std::function<void ()>, (lambda at /home/tom/dev/aquamarine/src/backend/Wayland.cpp:313:40)> (alloc_traits.h:536)
==15900== by 0x49FE25C: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (vector.tcc:634)
==15900== by 0x49FDEDC: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#1}&&) (vector.tcc:123)
==15900== by 0x49FD9E8: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:313)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900==
==15900== Invalid read of size 8
==15900== at 0x49FF155: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A0799F: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A0799F: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_erase_at_end(std::function<void ()>*) (stl_vector.h:1947)
==15900== by 0x4A03CF7: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::clear() (stl_vector.h:1608)
==15900== by 0x49F4163: Aquamarine::CWaylandOutput::~CWaylandOutput() (src/backend/Wayland.cpp:490)
==15900== Address 0x5620aa0 is 32 bytes inside a block of size 128 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A05F5C: std::__new_allocator<std::function<void ()> >::deallocate(std::function<void ()>*, unsigned long) (new_allocator.h:172)
==15900== by 0x4A05F17: deallocate (allocator.h:208)
==15900== by 0x4A05F17: deallocate (alloc_traits.h:513)
==15900== by 0x4A05F17: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_deallocate(std::function<void ()>*, unsigned long) (stl_vector.h:389)
==15900== by 0x4A05DD6: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::~_Vector_base() (stl_vector.h:368)
==15900== by 0x4A0329B: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:738)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== by 0x49C823B: std::default_delete<Aquamarine::CWaylandBackend>::operator()(Aquamarine::CWaylandBackend*) const (unique_ptr.h:93)
==15900== by 0x49C81F9: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandBackend>::_destroy() (SharedPtr.hpp:69)
==15900== by 0x49C8134: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandBackend>::destroy() (SharedPtr.hpp:103)
==15900== by 0x49BB17C: Hyprutils::Memory::CSharedPointer<Aquamarine::IBackendImplementation>::destroyImpl() (SharedPtr.hpp:279)
==15900== by 0x49BB14E: Hyprutils::Memory::CSharedPointer<Aquamarine::IBackendImplementation>::decrement() (SharedPtr.hpp:265)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0771D: std::__new_allocator<std::function<void ()> >::allocate(unsigned long, void const*) (new_allocator.h:151)
==15900== by 0x4A07553: allocate (allocator.h:196)
==15900== by 0x4A07553: allocate (alloc_traits.h:478)
==15900== by 0x4A07553: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_allocate(unsigned long) (stl_vector.h:380)
==15900== by 0x49F78DA: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:596)
==15900== by 0x49F0F5C: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:123)
==15900== by 0x49F0E4B: Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/backend/Wayland.cpp:142)
==15900== by 0x49F0743: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:128)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== Invalid read of size 8
==15900== at 0x4A060C4: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::decrement() (SharedPtr.hpp:258)
==15900== by 0x4A06094: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FE158: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}::~wl_seat_capability() (src/backend/Wayland.cpp:319)
==15900== by 0x49FF16E: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== Address 0x55ed7b8 is 8 bytes inside a block of size 16 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49FF177: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A03288: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A03288: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x49FEE59: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_create<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&, std::integral_constant<bool, false>) (std_function.h:161)
==15900== by 0x49FED6C: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_init_functor<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (std_function.h:215)
==15900== by 0x49FECDB: std::function<void ()>::function<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}, void>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (std_function.h:449)
==15900== by 0x49FEC70: decltype (::new ((void*)(0)) std::function<void ()>((std::declval<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>)())) std::construct_at<std::function<void ()>, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(std::function<void ()>*, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (stl_construct.h:97)
==15900== by 0x49FEB0C: construct<std::function<void ()>, (lambda at /home/tom/dev/aquamarine/src/backend/Wayland.cpp:319:40)> (alloc_traits.h:536)
==15900== by 0x49FEB0C: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (vector.tcc:634)
==15900== by 0x49FE12C: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (vector.tcc:123)
==15900== by 0x49FDBAA: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:319)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900==
==15900== Invalid read of size 8
==15900== at 0x4A060D7: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::decrement() (SharedPtr.hpp:261)
==15900== by 0x4A06094: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FE158: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}::~wl_seat_capability() (src/backend/Wayland.cpp:319)
==15900== by 0x49FF16E: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== Address 0x55ed7b8 is 8 bytes inside a block of size 16 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49FF177: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A03288: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A03288: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x49FEE59: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_create<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&, std::integral_constant<bool, false>) (std_function.h:161)
==15900== by 0x49FED6C: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_init_functor<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (std_function.h:215)
==15900== by 0x49FECDB: std::function<void ()>::function<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}, void>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (std_function.h:449)
==15900== by 0x49FEC70: decltype (::new ((void*)(0)) std::function<void ()>((std::declval<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>)())) std::construct_at<std::function<void ()>, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(std::function<void ()>*, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (stl_construct.h:97)
==15900== by 0x49FEB0C: construct<std::function<void ()>, (lambda at /home/tom/dev/aquamarine/src/backend/Wayland.cpp:319:40)> (alloc_traits.h:536)
==15900== by 0x49FEB0C: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (vector.tcc:634)
==15900== by 0x49FE12C: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (vector.tcc:123)
==15900== by 0x49FDBAA: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:319)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900==
==15900== Invalid read of size 8
==15900== at 0x4A060DA: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::decrement() (SharedPtr.hpp:261)
==15900== by 0x4A06094: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FE158: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}::~wl_seat_capability() (src/backend/Wayland.cpp:319)
==15900== by 0x49FF16E: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== Address 0x55ed680 is 0 bytes inside a block of size 32 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A0FC71: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandPointer>::~impl() (SharedPtr.hpp:118)
==15900== by 0x4A06161: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::destroyImpl() (SharedPtr.hpp:283)
==15900== by 0x4A060FE: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::decrement() (SharedPtr.hpp:265)
==15900== by 0x4A06094: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x4A06074: void std::destroy_at<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:88)
==15900== by 0x4A06054: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:149)
==15900== by 0x4A06026: void std::_Destroy_aux<false>::__destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:163)
==15900== by 0x4A05FEC: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:195)
==15900== by 0x4A032F8: _Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> *, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> > (alloc_traits.h:944)
==15900== by 0x4A032F8: std::vector<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>, std::allocator<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFECE: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0FB38: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::CSharedPointer(Aquamarine::CWaylandPointer*) (SharedPtr.hpp:135)
==15900== by 0x49FDF9D: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> Hyprutils::Memory::makeShared<Aquamarine::CWaylandPointer, Hyprutils::Memory::CSharedPointer<CCWlPointer>, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&>(Hyprutils::Memory::CSharedPointer<CCWlPointer>&&, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&) (SharedPtr.hpp:291)
==15900== by 0x49FDB27: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:318)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900== by 0x4A57DDB: _CWlSeatCapabilities(void*, void*, wl_seat_capability) (protocols/wayland.cpp:1469)
==15900== by 0x5464549: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x546027D: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x54639CA: ffi_call (in /usr/lib64/libffi.so.8.1.4)
==15900==
==15900== Invalid read of size 4
==15900== at 0x4A0FCAC: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandPointer>::dec() (SharedPtr.hpp:83)
==15900== by 0x4A060DF: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::decrement() (SharedPtr.hpp:261)
==15900== by 0x4A06094: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FE158: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}::~wl_seat_capability() (src/backend/Wayland.cpp:319)
==15900== by 0x49FF16E: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== Address 0x55ed688 is 8 bytes inside a block of size 32 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A0FC71: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandPointer>::~impl() (SharedPtr.hpp:118)
==15900== by 0x4A06161: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::destroyImpl() (SharedPtr.hpp:283)
==15900== by 0x4A060FE: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::decrement() (SharedPtr.hpp:265)
==15900== by 0x4A06094: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x4A06074: void std::destroy_at<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:88)
==15900== by 0x4A06054: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:149)
==15900== by 0x4A06026: void std::_Destroy_aux<false>::__destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:163)
==15900== by 0x4A05FEC: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:195)
==15900== by 0x4A032F8: _Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> *, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> > (alloc_traits.h:944)
==15900== by 0x4A032F8: std::vector<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>, std::allocator<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFECE: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0FB38: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::CSharedPointer(Aquamarine::CWaylandPointer*) (SharedPtr.hpp:135)
==15900== by 0x49FDF9D: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> Hyprutils::Memory::makeShared<Aquamarine::CWaylandPointer, Hyprutils::Memory::CSharedPointer<CCWlPointer>, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&>(Hyprutils::Memory::CSharedPointer<CCWlPointer>&&, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&) (SharedPtr.hpp:291)
==15900== by 0x49FDB27: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:318)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900== by 0x4A57DDB: _CWlSeatCapabilities(void*, void*, wl_seat_capability) (protocols/wayland.cpp:1469)
==15900== by 0x5464549: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x546027D: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x54639CA: ffi_call (in /usr/lib64/libffi.so.8.1.4)
==15900==
==15900== Invalid write of size 4
==15900== at 0x4A0FCB2: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandPointer>::dec() (SharedPtr.hpp:83)
==15900== by 0x4A060DF: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::decrement() (SharedPtr.hpp:261)
==15900== by 0x4A06094: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FE158: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}::~wl_seat_capability() (src/backend/Wayland.cpp:319)
==15900== by 0x49FF16E: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== Address 0x55ed688 is 8 bytes inside a block of size 32 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A0FC71: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandPointer>::~impl() (SharedPtr.hpp:118)
==15900== by 0x4A06161: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::destroyImpl() (SharedPtr.hpp:283)
==15900== by 0x4A060FE: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::decrement() (SharedPtr.hpp:265)
==15900== by 0x4A06094: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x4A06074: void std::destroy_at<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:88)
==15900== by 0x4A06054: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:149)
==15900== by 0x4A06026: void std::_Destroy_aux<false>::__destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:163)
==15900== by 0x4A05FEC: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:195)
==15900== by 0x4A032F8: _Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> *, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> > (alloc_traits.h:944)
==15900== by 0x4A032F8: std::vector<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>, std::allocator<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFECE: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0FB38: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::CSharedPointer(Aquamarine::CWaylandPointer*) (SharedPtr.hpp:135)
==15900== by 0x49FDF9D: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> Hyprutils::Memory::makeShared<Aquamarine::CWaylandPointer, Hyprutils::Memory::CSharedPointer<CCWlPointer>, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&>(Hyprutils::Memory::CSharedPointer<CCWlPointer>&&, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&) (SharedPtr.hpp:291)
==15900== by 0x49FDB27: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:318)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900== by 0x4A57DDB: _CWlSeatCapabilities(void*, void*, wl_seat_capability) (protocols/wayland.cpp:1469)
==15900== by 0x5464549: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x546027D: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x54639CA: ffi_call (in /usr/lib64/libffi.so.8.1.4)
==15900==
==15900== Invalid read of size 8
==15900== at 0x4A060E4: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::decrement() (SharedPtr.hpp:264)
==15900== by 0x4A06094: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FE158: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}::~wl_seat_capability() (src/backend/Wayland.cpp:319)
==15900== by 0x49FF16E: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== Address 0x55ed7b8 is 8 bytes inside a block of size 16 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49FF177: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A03288: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A03288: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x49FEE59: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_create<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&, std::integral_constant<bool, false>) (std_function.h:161)
==15900== by 0x49FED6C: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_init_functor<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (std_function.h:215)
==15900== by 0x49FECDB: std::function<void ()>::function<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}, void>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (std_function.h:449)
==15900== by 0x49FEC70: decltype (::new ((void*)(0)) std::function<void ()>((std::declval<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>)())) std::construct_at<std::function<void ()>, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(std::function<void ()>*, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (stl_construct.h:97)
==15900== by 0x49FEB0C: construct<std::function<void ()>, (lambda at /home/tom/dev/aquamarine/src/backend/Wayland.cpp:319:40)> (alloc_traits.h:536)
==15900== by 0x49FEB0C: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (vector.tcc:634)
==15900== by 0x49FE12C: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (vector.tcc:123)
==15900== by 0x49FDBAA: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:319)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900==
==15900== Invalid read of size 8
==15900== at 0x4A060E7: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::decrement() (SharedPtr.hpp:264)
==15900== by 0x4A06094: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FE158: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}::~wl_seat_capability() (src/backend/Wayland.cpp:319)
==15900== by 0x49FF16E: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== Address 0x55ed680 is 0 bytes inside a block of size 32 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A0FC71: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandPointer>::~impl() (SharedPtr.hpp:118)
==15900== by 0x4A06161: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::destroyImpl() (SharedPtr.hpp:283)
==15900== by 0x4A060FE: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::decrement() (SharedPtr.hpp:265)
==15900== by 0x4A06094: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x4A06074: void std::destroy_at<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:88)
==15900== by 0x4A06054: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:149)
==15900== by 0x4A06026: void std::_Destroy_aux<false>::__destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:163)
==15900== by 0x4A05FEC: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:195)
==15900== by 0x4A032F8: _Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> *, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> > (alloc_traits.h:944)
==15900== by 0x4A032F8: std::vector<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>, std::allocator<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFECE: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0FB38: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::CSharedPointer(Aquamarine::CWaylandPointer*) (SharedPtr.hpp:135)
==15900== by 0x49FDF9D: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> Hyprutils::Memory::makeShared<Aquamarine::CWaylandPointer, Hyprutils::Memory::CSharedPointer<CCWlPointer>, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&>(Hyprutils::Memory::CSharedPointer<CCWlPointer>&&, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&) (SharedPtr.hpp:291)
==15900== by 0x49FDB27: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:318)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900== by 0x4A57DDB: _CWlSeatCapabilities(void*, void*, wl_seat_capability) (protocols/wayland.cpp:1469)
==15900== by 0x5464549: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x546027D: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x54639CA: ffi_call (in /usr/lib64/libffi.so.8.1.4)
==15900==
==15900== Invalid read of size 4
==15900== at 0x4A0FD0C: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandPointer>::ref() (SharedPtr.hpp:95)
==15900== by 0x4A060EC: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::decrement() (SharedPtr.hpp:264)
==15900== by 0x4A06094: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49FE158: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}::~wl_seat_capability() (src/backend/Wayland.cpp:319)
==15900== by 0x49FF16E: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== Address 0x55ed688 is 8 bytes inside a block of size 32 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A0FC71: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandPointer>::~impl() (SharedPtr.hpp:118)
==15900== by 0x4A06161: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::destroyImpl() (SharedPtr.hpp:283)
==15900== by 0x4A060FE: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::decrement() (SharedPtr.hpp:265)
==15900== by 0x4A06094: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x4A06074: void std::destroy_at<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:88)
==15900== by 0x4A06054: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> >(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:149)
==15900== by 0x4A06026: void std::_Destroy_aux<false>::__destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:163)
==15900== by 0x4A05FEC: void std::_Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*>(Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>*) (stl_construct.h:195)
==15900== by 0x4A032F8: _Destroy<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> *, Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> > (alloc_traits.h:944)
==15900== by 0x4A032F8: std::vector<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>, std::allocator<Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFECE: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0FB38: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer>::CSharedPointer(Aquamarine::CWaylandPointer*) (SharedPtr.hpp:135)
==15900== by 0x49FDF9D: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandPointer> Hyprutils::Memory::makeShared<Aquamarine::CWaylandPointer, Hyprutils::Memory::CSharedPointer<CCWlPointer>, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&>(Hyprutils::Memory::CSharedPointer<CCWlPointer>&&, Hyprutils::Memory::CWeakPointer<Aquamarine::CWaylandBackend>&) (SharedPtr.hpp:291)
==15900== by 0x49FDB27: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:318)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900== by 0x4A57DDB: _CWlSeatCapabilities(void*, void*, wl_seat_capability) (protocols/wayland.cpp:1469)
==15900== by 0x5464549: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x546027D: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x54639CA: ffi_call (in /usr/lib64/libffi.so.8.1.4)
==15900==
==15900== Invalid free() / delete / delete[] / realloc()
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49FF177: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A0799F: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A0799F: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_erase_at_end(std::function<void ()>*) (stl_vector.h:1947)
==15900== by 0x4A03CF7: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::clear() (stl_vector.h:1608)
==15900== Address 0x55ed7b0 is 0 bytes inside a block of size 16 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49FF177: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49FF0FC: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49FEE30: std::_Function_handler<void (), Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A03288: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A03288: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x49FEE59: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_create<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&, std::integral_constant<bool, false>) (std_function.h:161)
==15900== by 0x49FED6C: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>::_M_init_functor<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(std::_Any_data&, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (std_function.h:215)
==15900== by 0x49FECDB: std::function<void ()>::function<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}, void>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (std_function.h:449)
==15900== by 0x49FEC70: decltype (::new ((void*)(0)) std::function<void ()>((std::declval<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>)())) std::construct_at<std::function<void ()>, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(std::function<void ()>*, Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (stl_construct.h:97)
==15900== by 0x49FEB0C: construct<std::function<void ()>, (lambda at /home/tom/dev/aquamarine/src/backend/Wayland.cpp:319:40)> (alloc_traits.h:536)
==15900== by 0x49FEB0C: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (vector.tcc:634)
==15900== by 0x49FE12C: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}>(Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const::{lambda()#2}&&) (vector.tcc:123)
==15900== by 0x49FDBAA: Aquamarine::CWaylandBackend::initSeat()::$_0::operator()(CCWlSeat*, wl_seat_capability) const (src/backend/Wayland.cpp:319)
==15900== by 0x49FD889: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(std::__invoke_other, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:61)
==15900== by 0x49FD824: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*, wl_seat_capability>(Aquamarine::CWaylandBackend::initSeat()::$_0&, CCWlSeat*&&, wl_seat_capability&&) (invoke.h:111)
==15900== by 0x49FD72C: std::_Function_handler<void (CCWlSeat*, wl_seat_capability), Aquamarine::CWaylandBackend::initSeat()::$_0>::_M_invoke(std::_Any_data const&, CCWlSeat*&&, wl_seat_capability&&) (std_function.h:290)
==15900== by 0x4A5CB56: std::function<void (CCWlSeat*, wl_seat_capability)>::operator()(CCWlSeat*, wl_seat_capability) const (std_function.h:591)
==15900==
==15900== Invalid read of size 8
==15900== at 0x49F7F85: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49F7F2C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49F7C60: std::_Function_handler<void (), Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A0799F: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A0799F: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_erase_at_end(std::function<void ()>*) (stl_vector.h:1947)
==15900== by 0x4A03CF7: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::clear() (stl_vector.h:1608)
==15900== by 0x49F4163: Aquamarine::CWaylandOutput::~CWaylandOutput() (src/backend/Wayland.cpp:490)
==15900== Address 0x5620ac0 is 64 bytes inside a block of size 128 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x4A05F5C: std::__new_allocator<std::function<void ()> >::deallocate(std::function<void ()>*, unsigned long) (new_allocator.h:172)
==15900== by 0x4A05F17: deallocate (allocator.h:208)
==15900== by 0x4A05F17: deallocate (alloc_traits.h:513)
==15900== by 0x4A05F17: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_deallocate(std::function<void ()>*, unsigned long) (stl_vector.h:389)
==15900== by 0x4A05DD6: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::~_Vector_base() (stl_vector.h:368)
==15900== by 0x4A0329B: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:738)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== by 0x49EFF38: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:61)
==15900== by 0x49C823B: std::default_delete<Aquamarine::CWaylandBackend>::operator()(Aquamarine::CWaylandBackend*) const (unique_ptr.h:93)
==15900== by 0x49C81F9: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandBackend>::_destroy() (SharedPtr.hpp:69)
==15900== by 0x49C8134: Hyprutils::Memory::CSharedPointer_::impl<Aquamarine::CWaylandBackend>::destroy() (SharedPtr.hpp:103)
==15900== by 0x49BB17C: Hyprutils::Memory::CSharedPointer<Aquamarine::IBackendImplementation>::destroyImpl() (SharedPtr.hpp:279)
==15900== by 0x49BB14E: Hyprutils::Memory::CSharedPointer<Aquamarine::IBackendImplementation>::decrement() (SharedPtr.hpp:265)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x4A0771D: std::__new_allocator<std::function<void ()> >::allocate(unsigned long, void const*) (new_allocator.h:151)
==15900== by 0x4A07553: allocate (allocator.h:196)
==15900== by 0x4A07553: allocate (alloc_traits.h:478)
==15900== by 0x4A07553: std::_Vector_base<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_allocate(unsigned long) (stl_vector.h:380)
==15900== by 0x49F78DA: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:596)
==15900== by 0x49F0F5C: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:123)
==15900== by 0x49F0E4B: Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/backend/Wayland.cpp:142)
==15900== by 0x49F0743: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:128)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== Invalid read of size 8
==15900== at 0x4A0A444: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandOutput>::decrement() (SharedPtr.hpp:258)
==15900== by 0x4A03AB4: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandOutput>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49F0F88: Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0::~$_0() (src/backend/Wayland.cpp:142)
==15900== by 0x49F7F9E: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49F7F2C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49F7C60: std::_Function_handler<void (), Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== Address 0x5620b48 is 8 bytes inside a block of size 16 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49F7FA7: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49F7F2C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49F7C60: std::_Function_handler<void (), Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A03288: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A03288: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x49F7C89: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_create<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(std::_Any_data&, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&, std::integral_constant<bool, false>) (std_function.h:161)
==15900== by 0x49F7B9C: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_init_functor<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(std::_Any_data&, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (std_function.h:215)
==15900== by 0x49F7B0B: std::function<void ()>::function<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0, void>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (std_function.h:449)
==15900== by 0x49F7AA0: decltype (::new ((void*)(0)) std::function<void ()>((std::declval<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>)())) std::construct_at<std::function<void ()>, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(std::function<void ()>*, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (stl_construct.h:97)
==15900== by 0x49F793C: construct<std::function<void ()>, (lambda at /home/tom/dev/aquamarine/src/backend/Wayland.cpp:142:32)> (alloc_traits.h:536)
==15900== by 0x49F793C: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:634)
==15900== by 0x49F0F5C: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:123)
==15900== by 0x49F0E4B: Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/backend/Wayland.cpp:142)
==15900== by 0x49F0743: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:128)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== Invalid read of size 8
==15900== at 0x4A0A457: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandOutput>::decrement() (SharedPtr.hpp:261)
==15900== by 0x4A03AB4: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandOutput>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49F0F88: Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0::~$_0() (src/backend/Wayland.cpp:142)
==15900== by 0x49F7F9E: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49F7F2C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49F7C60: std::_Function_handler<void (), Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== Address 0x5620b48 is 8 bytes inside a block of size 16 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49F7FA7: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49F7F2C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49F7C60: std::_Function_handler<void (), Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A03288: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A03288: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x49F7C89: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_create<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(std::_Any_data&, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&, std::integral_constant<bool, false>) (std_function.h:161)
==15900== by 0x49F7B9C: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_init_functor<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(std::_Any_data&, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (std_function.h:215)
==15900== by 0x49F7B0B: std::function<void ()>::function<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0, void>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (std_function.h:449)
==15900== by 0x49F7AA0: decltype (::new ((void*)(0)) std::function<void ()>((std::declval<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>)())) std::construct_at<std::function<void ()>, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(std::function<void ()>*, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (stl_construct.h:97)
==15900== by 0x49F793C: construct<std::function<void ()>, (lambda at /home/tom/dev/aquamarine/src/backend/Wayland.cpp:142:32)> (alloc_traits.h:536)
==15900== by 0x49F793C: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:634)
==15900== by 0x49F0F5C: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:123)
==15900== by 0x49F0E4B: Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/backend/Wayland.cpp:142)
==15900== by 0x49F0743: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:128)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== Invalid read of size 8
==15900== at 0x4A0A464: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandOutput>::decrement() (SharedPtr.hpp:264)
==15900== by 0x4A03AB4: Hyprutils::Memory::CSharedPointer<Aquamarine::CWaylandOutput>::~CSharedPointer() (SharedPtr.hpp:177)
==15900== by 0x49F0F88: Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0::~$_0() (src/backend/Wayland.cpp:142)
==15900== by 0x49F7F9E: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49F7F2C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49F7C60: std::_Function_handler<void (), Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== Address 0x5620b48 is 8 bytes inside a block of size 16 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49F7FA7: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49F7F2C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49F7C60: std::_Function_handler<void (), Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A03288: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A03288: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x49F7C89: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_create<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(std::_Any_data&, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&, std::integral_constant<bool, false>) (std_function.h:161)
==15900== by 0x49F7B9C: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_init_functor<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(std::_Any_data&, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (std_function.h:215)
==15900== by 0x49F7B0B: std::function<void ()>::function<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0, void>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (std_function.h:449)
==15900== by 0x49F7AA0: decltype (::new ((void*)(0)) std::function<void ()>((std::declval<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>)())) std::construct_at<std::function<void ()>, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(std::function<void ()>*, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (stl_construct.h:97)
==15900== by 0x49F793C: construct<std::function<void ()>, (lambda at /home/tom/dev/aquamarine/src/backend/Wayland.cpp:142:32)> (alloc_traits.h:536)
==15900== by 0x49F793C: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:634)
==15900== by 0x49F0F5C: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:123)
==15900== by 0x49F0E4B: Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/backend/Wayland.cpp:142)
==15900== by 0x49F0743: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:128)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== Invalid free() / delete / delete[] / realloc()
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49F7FA7: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49F7F2C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49F7C60: std::_Function_handler<void (), Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A0799F: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A0799F: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_erase_at_end(std::function<void ()>*) (stl_vector.h:1947)
==15900== by 0x4A03CF7: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::clear() (stl_vector.h:1608)
==15900== Address 0x5620b40 is 0 bytes inside a block of size 16 free'd
==15900== at 0x484B9BF: operator delete(void*) (vg_replace_malloc.c:1128)
==15900== by 0x49F7FA7: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_destroy(std::_Any_data&, std::integral_constant<bool, false>) (std_function.h:175)
==15900== by 0x49F7F2C: std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:203)
==15900== by 0x49F7C60: std::_Function_handler<void (), Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_manager(std::_Any_data&, std::_Any_data const&, std::_Manager_operation) (std_function.h:282)
==15900== by 0x124A90: std::_Function_base::~_Function_base() (std_function.h:244)
==15900== by 0x49C9084: std::function<void ()>::~function() (std_function.h:111)
==15900== by 0x4A05EA4: void std::destroy_at<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:88)
==15900== by 0x4A05E84: void std::_Destroy<std::function<void ()> >(std::function<void ()>*) (stl_construct.h:149)
==15900== by 0x4A05E56: void std::_Destroy_aux<false>::__destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:163)
==15900== by 0x4A05E1C: void std::_Destroy<std::function<void ()>*>(std::function<void ()>*, std::function<void ()>*) (stl_construct.h:195)
==15900== by 0x4A03288: _Destroy<std::function<void ()> *, std::function<void ()> > (alloc_traits.h:944)
==15900== by 0x4A03288: std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::~vector() (stl_vector.h:735)
==15900== by 0x49EFEC1: Aquamarine::CWaylandBackend::~CWaylandBackend() (src/backend/Wayland.cpp:64)
==15900== Block was alloc'd at
==15900== at 0x484ED0F: operator new(unsigned long) (vg_replace_malloc.c:484)
==15900== by 0x49F7C89: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_create<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(std::_Any_data&, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&, std::integral_constant<bool, false>) (std_function.h:161)
==15900== by 0x49F7B9C: void std::_Function_base::_Base_manager<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>::_M_init_functor<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(std::_Any_data&, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (std_function.h:215)
==15900== by 0x49F7B0B: std::function<void ()>::function<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0, void>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (std_function.h:449)
==15900== by 0x49F7AA0: decltype (::new ((void*)(0)) std::function<void ()>((std::declval<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>)())) std::construct_at<std::function<void ()>, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(std::function<void ()>*, Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (stl_construct.h:97)
==15900== by 0x49F793C: construct<std::function<void ()>, (lambda at /home/tom/dev/aquamarine/src/backend/Wayland.cpp:142:32)> (alloc_traits.h:536)
==15900== by 0x49F793C: void std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::_M_realloc_append<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:634)
==15900== by 0x49F0F5C: std::function<void ()>& std::vector<std::function<void ()>, std::allocator<std::function<void ()> > >::emplace_back<Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0>(Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)::$_0&&) (vector.tcc:123)
==15900== by 0x49F0E4B: Aquamarine::CWaylandBackend::createOutput(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (src/backend/Wayland.cpp:142)
==15900== by 0x49F0743: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:128)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
S_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB48 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB48 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB48 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB48 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB48 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB48 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format GR88 with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format GR88 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format GR88 with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format GR88 with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format GR88 with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format GR88 with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format YVU9 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format YUV9 with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB4H with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB4H with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB4H with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB4H with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB4H with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AB4H with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB4H with modifier LINEAR
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB4H with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB4H with modifier X_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB4H with modifier Y_TILED
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB4H with modifier Y_TILED_GEN12_RC_CCS
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XB4H with modifier Y_TILED_GEN12_RC_CCS_CC
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format YVYU with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format AYUV with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format XYUV with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format YUYV with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format VYUY with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got format UYVY with modifier INVALID
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got main device
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got node /dev/dri/renderD128
[AQ] [DEBUG] zwp_linux_dmabuf_v1: Got done
[AQ] [DEBUG] zwp_linux_dmabuf_v1: opened node /dev/dri/renderD128 with fd 6
[AQ] [DEBUG] Output WAYLAND-1: initialized
[AQ] [DEBUG] Created a GBM allocator with drm fd 6
==15900==
==15900== FILE DESCRIPTORS: 7 open (3 std) at exit.
==15900== Open file descriptor 7: /dev/shm/wlroots-LKleal (deleted)
==15900== at 0x5251269: recvmsg (in /usr/lib64/libc.so.6)
==15900== by 0x4B7EC6B: wl_display_read_events (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x49F12D5: Aquamarine::CWaylandBackend::dispatchEvents() (src/backend/Wayland.cpp:157)
==15900== by 0x49F06F8: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:126)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== Open file descriptor 5: /dev/shm/aeb655b7-838e-4541-b6d0-32b74a86e838 (deleted)
==15900== at 0x5251269: recvmsg (in /usr/lib64/libc.so.6)
==15900== by 0x4B7EC6B: wl_display_read_events (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B807EE: wl_display_dispatch_queue (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B80C82: wl_display_roundtrip_queue (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x49F2B5E: Aquamarine::CWaylandBackend::initDmabuf() (src/backend/Wayland.cpp:414)
==15900== by 0x49F9E98: Aquamarine::CWaylandBackend::start()::$_0::operator()(CCWlRegistry*, unsigned int, char const*, unsigned int) const (src/backend/Wayland.cpp:111)
==15900== by 0x49F93BF: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::start()::$_0&, CCWlRegistry*, unsigned int, char const*, unsigned int>(std::__invoke_other, Aquamarine::CWaylandBackend::start()::$_0&, CCWlRegistry*&&, unsigned int&&, char const*&&, unsigned int&&) (invoke.h:61)
==15900== by 0x49F9344: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::start()::$_0&, CCWlRegistry*, unsigned int, char const*, unsigned int>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::start()::$_0&, CCWlRegistry*, unsigned int, char const*, unsigned int>(Aquamarine::CWaylandBackend::start()::$_0&, CCWlRegistry*&&, unsigned int&&, char const*&&, unsigned int&&) (invoke.h:111)
==15900== by 0x49F923C: std::_Function_handler<void (CCWlRegistry*, unsigned int, char const*, unsigned int), Aquamarine::CWaylandBackend::start()::$_0>::_M_invoke(std::_Any_data const&, CCWlRegistry*&&, unsigned int&&, char const*&&, unsigned int&&) (std_function.h:290)
==15900== by 0x4A5B2D6: std::function<void (CCWlRegistry*, unsigned int, char const*, unsigned int)>::operator()(CCWlRegistry*, unsigned int, char const*, unsigned int) const (std_function.h:591)
==15900== by 0x4A5736B: _CWlRegistryGlobal(void*, void*, unsigned int, char const*, unsigned int) (protocols/wayland.cpp:160)
==15900== by 0x5464549: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900==
==15900== Open AF_UNIX socket 4: <unknown>
==15900== at 0x5251727: socket (in /usr/lib64/libc.so.6)
==15900== by 0x4B7E2F2: wl_display_connect (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x49F01B7: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:77)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== Open file descriptor 3:
==15900== at 0x5250717: timerfd_create (in /usr/lib64/libc.so.6)
==15900== by 0x49BC651: Aquamarine::CBackend::create(std::vector<Aquamarine::SBackendImplementationOptions, std::allocator<Aquamarine::SBackendImplementationOptions> > const&, Aquamarine::SBackendOptions const&) (src/backend/Backend.cpp:93)
==15900== by 0x120D10: main (tests/SimpleWindow.cpp:61)
==15900==
==15900==
==15900== HEAP SUMMARY:
==15900== in use at exit: 31,344 bytes in 23 blocks
==15900== total heap usage: 9,264 allocs, 9,244 frees, 1,603,653 bytes allocated
==15900==
==15900== 14 bytes in 1 blocks are indirectly lost in loss record 1 of 23
==15900== at 0x484F304: malloc (vg_replace_malloc.c:445)
==15900== by 0x51D673A: strdup (in /usr/lib64/libc.so.6)
==15900== by 0x4B7DD2A: wl_display_connect_to_fd (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7E1E6: wl_display_connect (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x49F01B7: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:77)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== 14 bytes in 1 blocks are indirectly lost in loss record 2 of 23
==15900== at 0x484F304: malloc (vg_replace_malloc.c:445)
==15900== by 0x51D673A: strdup (in /usr/lib64/libc.so.6)
==15900== by 0x4B7DD76: wl_display_connect_to_fd (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7E1E6: wl_display_connect (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x49F01B7: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:77)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== 25 bytes in 1 blocks are still reachable in loss record 3 of 23
==15900== at 0x484F304: malloc (vg_replace_malloc.c:445)
==15900== by 0x40293EB: strdup (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x401758E: _dl_load_cache_lookup (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4009B0F: _dl_map_object (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400DEA7: dl_open_worker_begin (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400D38B: dl_open_worker (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400D755: _dl_open (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x51BAF3F: ??? (in /usr/lib64/libc.so.6)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4001634: _dl_catch_error (in /usr/lib64/ld-linux-x86-64.so.2)
==15900==
==15900== 25 bytes in 1 blocks are still reachable in loss record 4 of 23
==15900== at 0x484F304: malloc (vg_replace_malloc.c:445)
==15900== by 0x400D0A8: _dl_new_object (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4007DC0: _dl_map_object_from_fd (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4009876: _dl_map_object (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400DEA7: dl_open_worker_begin (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400D38B: dl_open_worker (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400D755: _dl_open (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x51BAF3F: ??? (in /usr/lib64/libc.so.6)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4001634: _dl_catch_error (in /usr/lib64/ld-linux-x86-64.so.2)
==15900==
==15900== 32 bytes in 1 blocks are still reachable in loss record 5 of 23
==15900== at 0x484F304: malloc (vg_replace_malloc.c:445)
==15900== by 0x4001DEE: _dl_close_worker.part.0 (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400286D: _dl_close (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4001634: _dl_catch_error (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x51BAAB2: ??? (in /usr/lib64/libc.so.6)
==15900== by 0x51BA835: dlclose (in /usr/lib64/libc.so.6)
==15900== by 0x4CEBAB3: ??? (in /usr/lib64/libgbm.so.1.0.0)
==15900== by 0x4CEA48F: ??? (in /usr/lib64/libgbm.so.1.0.0)
==15900== by 0x4994689: Aquamarine::CGBMAllocator::~CGBMAllocator() (src/allocator/GBM.cpp:188)
==15900== by 0x4994708: Aquamarine::CGBMAllocator::~CGBMAllocator() (src/allocator/GBM.cpp:186)
==15900== by 0x49B747B: std::default_delete<Aquamarine::CGBMAllocator>::operator()(Aquamarine::CGBMAllocator*) const (unique_ptr.h:93)
==15900==
==15900== 40 bytes in 1 blocks are indirectly lost in loss record 6 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B7A51D: ??? (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7D407: wl_proxy_marshal_array_flags (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7D93B: wl_proxy_marshal_flags (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4A563A1: CCWlKeyboard::sendRelease() (protocols/wayland.cpp:1855)
==15900== by 0x4A56479: CCWlKeyboard::~CCWlKeyboard() (protocols/wayland.cpp:1920)
==15900== by 0x4A0F02A: std::default_delete<CCWlKeyboard>::operator()(CCWlKeyboard*) const (unique_ptr.h:93)
==15900== by 0x4A0EFE9: Hyprutils::Memory::CSharedPointer_::impl<CCWlKeyboard>::_destroy() (SharedPtr.hpp:69)
==15900== by 0x4A0EF24: Hyprutils::Memory::CSharedPointer_::impl<CCWlKeyboard>::destroy() (SharedPtr.hpp:103)
==15900== by 0x4A0CA6C: Hyprutils::Memory::CSharedPointer<CCWlKeyboard>::destroyImpl() (SharedPtr.hpp:279)
==15900== by 0x4A0CA3E: Hyprutils::Memory::CSharedPointer<CCWlKeyboard>::decrement() (SharedPtr.hpp:265)
==15900== by 0x4A03FE4: Hyprutils::Memory::CSharedPointer<CCWlKeyboard>::~CSharedPointer() (SharedPtr.hpp:177)
==15900==
==15900== 44 bytes in 1 blocks are indirectly lost in loss record 7 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B7A51D: ??? (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7D407: wl_proxy_marshal_array_flags (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7D93B: wl_proxy_marshal_flags (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4A67141: CCZwpLinuxDmabufFeedbackV1::sendDestroy() (protocols/linux-dmabuf-v1.cpp:332)
==15900== by 0x4A67219: CCZwpLinuxDmabufFeedbackV1::~CCZwpLinuxDmabufFeedbackV1() (protocols/linux-dmabuf-v1.cpp:383)
==15900== by 0x4A1064A: std::default_delete<CCZwpLinuxDmabufFeedbackV1>::operator()(CCZwpLinuxDmabufFeedbackV1*) const (unique_ptr.h:93)
==15900== by 0x4A10609: Hyprutils::Memory::CSharedPointer_::impl<CCZwpLinuxDmabufFeedbackV1>::_destroy() (SharedPtr.hpp:69)
==15900== by 0x4A10544: Hyprutils::Memory::CSharedPointer_::impl<CCZwpLinuxDmabufFeedbackV1>::destroy() (SharedPtr.hpp:103)
==15900== by 0x4A0A6FC: Hyprutils::Memory::CSharedPointer<CCZwpLinuxDmabufFeedbackV1>::destroyImpl() (SharedPtr.hpp:279)
==15900== by 0x4A0A6CE: Hyprutils::Memory::CSharedPointer<CCZwpLinuxDmabufFeedbackV1>::decrement() (SharedPtr.hpp:265)
==15900== by 0x4A04254: Hyprutils::Memory::CSharedPointer<CCZwpLinuxDmabufFeedbackV1>::~CSharedPointer() (SharedPtr.hpp:177)
==15900==
==15900== 128 bytes in 1 blocks are indirectly lost in loss record 8 of 23
==15900== at 0x4847AFC: realloc (vg_replace_malloc.c:1799)
==15900== by 0x4B7CE1F: wl_proxy_marshal_array_flags (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7D93B: wl_proxy_marshal_flags (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x49FA10E: wl_registry_bind(wl_registry*, unsigned int, wl_interface const*, unsigned int) (wayland-client-protocol.h:1221)
==15900== by 0x49F9E2F: Aquamarine::CWaylandBackend::start()::$_0::operator()(CCWlRegistry*, unsigned int, char const*, unsigned int) const (src/backend/Wayland.cpp:110)
==15900== by 0x49F93BF: void std::__invoke_impl<void, Aquamarine::CWaylandBackend::start()::$_0&, CCWlRegistry*, unsigned int, char const*, unsigned int>(std::__invoke_other, Aquamarine::CWaylandBackend::start()::$_0&, CCWlRegistry*&&, unsigned int&&, char const*&&, unsigned int&&) (invoke.h:61)
==15900== by 0x49F9344: std::enable_if<is_invocable_r_v<void, Aquamarine::CWaylandBackend::start()::$_0&, CCWlRegistry*, unsigned int, char const*, unsigned int>, void>::type std::__invoke_r<void, Aquamarine::CWaylandBackend::start()::$_0&, CCWlRegistry*, unsigned int, char const*, unsigned int>(Aquamarine::CWaylandBackend::start()::$_0&, CCWlRegistry*&&, unsigned int&&, char const*&&, unsigned int&&) (invoke.h:111)
==15900== by 0x49F923C: std::_Function_handler<void (CCWlRegistry*, unsigned int, char const*, unsigned int), Aquamarine::CWaylandBackend::start()::$_0>::_M_invoke(std::_Any_data const&, CCWlRegistry*&&, unsigned int&&, char const*&&, unsigned int&&) (std_function.h:290)
==15900== by 0x4A5B2D6: std::function<void (CCWlRegistry*, unsigned int, char const*, unsigned int)>::operator()(CCWlRegistry*, unsigned int, char const*, unsigned int) const (std_function.h:591)
==15900== by 0x4A5736B: _CWlRegistryGlobal(void*, void*, unsigned int, char const*, unsigned int) (protocols/wayland.cpp:160)
==15900== by 0x5464549: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900== by 0x546027D: ??? (in /usr/lib64/libffi.so.8.1.4)
==15900==
==15900== 136 bytes in 1 blocks are indirectly lost in loss record 9 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B7DE78: wl_display_connect_to_fd (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7E1E6: wl_display_connect (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x49F01B7: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:77)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== 168 bytes in 1 blocks are still reachable in loss record 10 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4016CFF: _dl_check_map_versions (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400E24C: dl_open_worker_begin (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400D38B: dl_open_worker (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400D755: _dl_open (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x51BAF3F: ??? (in /usr/lib64/libc.so.6)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4001634: _dl_catch_error (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x51BAAB2: ??? (in /usr/lib64/libc.so.6)
==15900== by 0x51BAFDE: dlopen (in /usr/lib64/libc.so.6)
==15900==
==15900== 304 bytes in 1 blocks are still reachable in loss record 11 of 23
==15900== at 0x484F304: malloc (vg_replace_malloc.c:445)
==15900== by 0x400D52F: add_to_global_resize (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400E67F: dl_open_worker_begin (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400D38B: dl_open_worker (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400D755: _dl_open (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x51BAF3F: ??? (in /usr/lib64/libc.so.6)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4001634: _dl_catch_error (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x51BAAB2: ??? (in /usr/lib64/libc.so.6)
==15900== by 0x51BAFDE: dlopen (in /usr/lib64/libc.so.6)
==15900==
==15900== 1,254 bytes in 1 blocks are still reachable in loss record 12 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x400CD58: _dl_new_object (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4007DC0: _dl_map_object_from_fd (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4009876: _dl_map_object (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400DEA7: dl_open_worker_begin (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400D38B: dl_open_worker (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x400D755: _dl_open (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x51BAF3F: ??? (in /usr/lib64/libc.so.6)
==15900== by 0x40014F3: _dl_catch_exception (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4001634: _dl_catch_error (in /usr/lib64/ld-linux-x86-64.so.2)
==15900==
==15900== 2,064 bytes in 1 blocks are still reachable in loss record 13 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B9C1C1: ??? (in /usr/lib64/libpixman-1.so.0.43.4)
==15900== by 0x4B9B78D: ??? (in /usr/lib64/libpixman-1.so.0.43.4)
==15900== by 0x40059CE: call_init.part.0 (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4005AE3: _dl_init (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x401FEAF: ??? (in /usr/lib64/ld-linux-x86-64.so.2)
==15900==
==15900== 2,064 bytes in 1 blocks are still reachable in loss record 14 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B9C1C1: ??? (in /usr/lib64/libpixman-1.so.0.43.4)
==15900== by 0x4B9BBBB: ??? (in /usr/lib64/libpixman-1.so.0.43.4)
==15900== by 0x40059CE: call_init.part.0 (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4005AE3: _dl_init (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x401FEAF: ??? (in /usr/lib64/ld-linux-x86-64.so.2)
==15900==
==15900== 2,064 bytes in 1 blocks are still reachable in loss record 15 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B9C1C1: ??? (in /usr/lib64/libpixman-1.so.0.43.4)
==15900== by 0x4B9BED7: ??? (in /usr/lib64/libpixman-1.so.0.43.4)
==15900== by 0x40059CE: call_init.part.0 (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4005AE3: _dl_init (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x401FEAF: ??? (in /usr/lib64/ld-linux-x86-64.so.2)
==15900==
==15900== 2,064 bytes in 1 blocks are still reachable in loss record 16 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B9C1C1: ??? (in /usr/lib64/libpixman-1.so.0.43.4)
==15900== by 0x4B9BC36: ??? (in /usr/lib64/libpixman-1.so.0.43.4)
==15900== by 0x40059CE: call_init.part.0 (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4005AE3: _dl_init (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x401FEAF: ??? (in /usr/lib64/ld-linux-x86-64.so.2)
==15900==
==15900== 2,064 bytes in 1 blocks are still reachable in loss record 17 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B9C1C1: ??? (in /usr/lib64/libpixman-1.so.0.43.4)
==15900== by 0x4B9BEB5: ??? (in /usr/lib64/libpixman-1.so.0.43.4)
==15900== by 0x40059CE: call_init.part.0 (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4005AE3: _dl_init (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x401FEAF: ??? (in /usr/lib64/ld-linux-x86-64.so.2)
==15900==
==15900== 2,064 bytes in 1 blocks are still reachable in loss record 18 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B9C1C1: ??? (in /usr/lib64/libpixman-1.so.0.43.4)
==15900== by 0x4B9BB56: ??? (in /usr/lib64/libpixman-1.so.0.43.4)
==15900== by 0x40059CE: call_init.part.0 (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x4005AE3: _dl_init (in /usr/lib64/ld-linux-x86-64.so.2)
==15900== by 0x401FEAF: ??? (in /usr/lib64/ld-linux-x86-64.so.2)
==15900==
==15900== 4,096 bytes in 1 blocks are indirectly lost in loss record 19 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B7AFAC: ??? (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7DE8F: wl_display_connect_to_fd (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7E1E6: wl_display_connect (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x49F01B7: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:77)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== 4,096 bytes in 1 blocks are indirectly lost in loss record 20 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B7AFAC: ??? (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7DEA4: wl_display_connect_to_fd (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7E1E6: wl_display_connect (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x49F01B7: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:77)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== 4,096 bytes in 1 blocks are indirectly lost in loss record 21 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B7AFAC: ??? (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7DEB7: wl_display_connect_to_fd (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7E1E6: wl_display_connect (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x49F01B7: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:77)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== 4,096 bytes in 1 blocks are indirectly lost in loss record 22 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B7AFAC: ??? (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7DECC: wl_display_connect_to_fd (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7E1E6: wl_display_connect (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x49F01B7: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:77)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== 17,152 (392 direct, 16,760 indirect) bytes in 1 blocks are definitely lost in loss record 23 of 23
==15900== at 0x4847D8F: calloc (vg_replace_malloc.c:1674)
==15900== by 0x4B7DC9F: wl_display_connect_to_fd (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x4B7E1E6: wl_display_connect (in /usr/lib64/libwayland-client.so.0.23.0)
==15900== by 0x49F01B7: Aquamarine::CWaylandBackend::start() (src/backend/Wayland.cpp:77)
==15900== by 0x49BC9C7: Aquamarine::CBackend::start() (src/backend/Backend.cpp:117)
==15900== by 0x120EE9: main (tests/SimpleWindow.cpp:88)
==15900==
==15900== LEAK SUMMARY:
==15900== definitely lost: 392 bytes in 1 blocks
==15900== indirectly lost: 16,760 bytes in 10 blocks
==15900== possibly lost: 0 bytes in 0 blocks
==15900== still reachable: 14,192 bytes in 12 blocks
==15900== suppressed: 0 bytes in 0 blocks
==15900==
==15900== For lists of detected and suppressed errors, rerun with: -s
==15900== ERROR SUMMARY: 36 errors from 32 contexts (suppressed: 0 from 0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment