diff --git a/vg.output b/vg.output deleted file mode 100644 index 7806bf0..0000000 --- a/vg.output +++ /dev/null @@ -1,279 +0,0 @@ -==82092== Memcheck, a memory error detector -==82092== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al. -==82092== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info -==82092== Command: ./build/src/pipedald /etc/pipedal/config ./vite/dist -port 0.0.0.0:8080 -log-level debug -==82092== Parent PID: 82091 -==82092== -==82092== Syscall param ioctl(generic) points to uninitialised byte(s) -==82092== at 0x4FB3DED: ioctl (ioctl.c:36) -==82092== by 0x48C24D0: ??? (in /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0) -==82092== by 0x41452E: pipedal::AlsaDriverImpl::AlsaCloseAudio() (AlsaDriver.cpp:397) -==82092== by 0x41468F: pipedal::AlsaDriverImpl::AlsaCleanup() (AlsaDriver.cpp:425) -==82092== by 0x41CC5E: pipedal::AlsaDriverImpl::Close() (AlsaDriver.cpp:1912) -==82092== by 0x39F689: AudioHostImpl::Close() (AudioHost.cpp:580) -==82092== by 0x314747: pipedal::PiPedalModel::Close() (PiPedalModel.cpp:165) -==82092== by 0x159B37: main (main.cpp:425) -==82092== Address 0x1ffeffe5cc is on thread 1's stack -==82092== -==82092== -==82092== HEAP SUMMARY: -==82092== in use at exit: 35,347 bytes in 368 blocks -==82092== total heap usage: 9,183,128 allocs, 9,182,760 frees, 834,061,294 bytes allocated -==82092== -==82092== 22 bytes in 1 blocks are definitely lost in loss record 7 of 74 -==82092== at 0x4846828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x6101FAB: ??? -==82092== by 0x60DC924: ??? -==82092== by 0x60E5CE6: ??? -==82092== by 0x60E623C: ??? -==82092== by 0x60D97E1: ??? -==82092== by 0x60DAAFF: ??? -==82092== by 0x60E59EB: ??? -==82092== by 0x60E5A23: ??? -==82092== by 0x5E45BA7: ??? -==82092== by 0x5E45E24: ??? -==82092== by 0x5F764D2: ??? -==82092== -==82092== 56 bytes in 1 blocks are definitely lost in loss record 23 of 74 -==82092== at 0x4846828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x61607FD: ??? -==82092== by 0x61B8A4F: ??? -==82092== by 0x615B267: ??? -==82092== by 0x61B8BA5: ??? -==82092== by 0x6165373: ??? -==82092== by 0x5E45C6B: ??? -==82092== by 0x5E45E24: ??? -==82092== by 0x5F764D2: ??? -==82092== by 0x5E2F318: ??? -==82092== by 0x5E2F586: ??? -==82092== by 0x5F7C099: ??? -==82092== -==82092== 88 bytes in 1 blocks are definitely lost in loss record 28 of 74 -==82092== at 0x4846828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x618ABDC: ??? -==82092== by 0x60F2640: ??? -==82092== by 0x60F49D2: ??? -==82092== by 0x60F4B1C: ??? -==82092== by 0x5E405AB: ??? -==82092== by 0x5E3C43F: ??? -==82092== by 0x5E45B79: ??? -==82092== by 0x5E45E24: ??? -==82092== by 0x5F764D2: ??? -==82092== by 0x5E2F318: ??? -==82092== by 0x5E2F586: ??? -==82092== -==82092== 115 bytes in 2 blocks are definitely lost in loss record 29 of 74 -==82092== at 0x484DB80: realloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x58A9CCF: serd_chunk_sink (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x58A9D33: serd_chunk_sink_finish (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x58A9E7F: serd_file_uri_parse (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x425EF8: pipedal::ModGui::ModGui(pipedal::PluginHost*, LilvPluginImpl const*, std::__cxx11::basic_string, std::allocator > const&, LilvNodeImpl const*) (ModGui.cpp:109) -==82092== by 0x42710E: pipedal::ModGui::Create(pipedal::PluginHost*, LilvPluginImpl const*) (ModGui.cpp:221) -==82092== by 0x4DB519: pipedal::Lv2PluginInfo::Lv2PluginInfo(pipedal::PluginHost*, LilvWorldImpl*, LilvPluginImpl const*) (PluginHost.cpp:1049) -==82092== by 0x50BAE4: void std::_Construct(pipedal::Lv2PluginInfo*, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (stl_construct.h:119) -==82092== by 0x505132: construct (alloc_traits.h:661) -==82092== by 0x505132: std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace(std::allocator, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:604) -==82092== by 0x4FD722: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(pipedal::Lv2PluginInfo*&, std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:971) -==82092== by 0x4F5DDF: std::__shared_ptr::__shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:1712) -==82092== by 0x4EF816: std::shared_ptr::shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr.h:464) -==82092== -==82092== 292 bytes in 8 blocks are definitely lost in loss record 50 of 74 -==82092== at 0x484DB80: realloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x58A9CCF: serd_chunk_sink (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x58A9D33: serd_chunk_sink_finish (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x58A9E7F: serd_file_uri_parse (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x426FD9: pipedal::ModGui::Create(pipedal::PluginHost*, LilvPluginImpl const*) (ModGui.cpp:209) -==82092== by 0x4DB519: pipedal::Lv2PluginInfo::Lv2PluginInfo(pipedal::PluginHost*, LilvWorldImpl*, LilvPluginImpl const*) (PluginHost.cpp:1049) -==82092== by 0x50BAE4: void std::_Construct(pipedal::Lv2PluginInfo*, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (stl_construct.h:119) -==82092== by 0x505132: construct (alloc_traits.h:661) -==82092== by 0x505132: std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace(std::allocator, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:604) -==82092== by 0x4FD722: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(pipedal::Lv2PluginInfo*&, std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:971) -==82092== by 0x4F5DDF: std::__shared_ptr::__shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:1712) -==82092== by 0x4EF816: std::shared_ptr::shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr.h:464) -==82092== by 0x4EADF8: std::shared_ptr std::make_shared(pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr.h:1010) -==82092== -==82092== 439 bytes in 8 blocks are definitely lost in loss record 54 of 74 -==82092== at 0x484DB80: realloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x58A9CCF: serd_chunk_sink (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x58A9D33: serd_chunk_sink_finish (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x58A9E7F: serd_file_uri_parse (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x425DBC: pipedal::ModGui::ModGui(pipedal::PluginHost*, LilvPluginImpl const*, std::__cxx11::basic_string, std::allocator > const&, LilvNodeImpl const*) (ModGui.cpp:99) -==82092== by 0x42710E: pipedal::ModGui::Create(pipedal::PluginHost*, LilvPluginImpl const*) (ModGui.cpp:221) -==82092== by 0x4DB519: pipedal::Lv2PluginInfo::Lv2PluginInfo(pipedal::PluginHost*, LilvWorldImpl*, LilvPluginImpl const*) (PluginHost.cpp:1049) -==82092== by 0x50BAE4: void std::_Construct(pipedal::Lv2PluginInfo*, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (stl_construct.h:119) -==82092== by 0x505132: construct (alloc_traits.h:661) -==82092== by 0x505132: std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace(std::allocator, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:604) -==82092== by 0x4FD722: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(pipedal::Lv2PluginInfo*&, std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:971) -==82092== by 0x4F5DDF: std::__shared_ptr::__shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:1712) -==82092== by 0x4EF816: std::shared_ptr::shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr.h:464) -==82092== -==82092== 454 bytes in 8 blocks are definitely lost in loss record 55 of 74 -==82092== at 0x484DB80: realloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x58A9CCF: serd_chunk_sink (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x58A9D33: serd_chunk_sink_finish (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x58A9E7F: serd_file_uri_parse (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x4260D8: pipedal::ModGui::ModGui(pipedal::PluginHost*, LilvPluginImpl const*, std::__cxx11::basic_string, std::allocator > const&, LilvNodeImpl const*) (ModGui.cpp:124) -==82092== by 0x42710E: pipedal::ModGui::Create(pipedal::PluginHost*, LilvPluginImpl const*) (ModGui.cpp:221) -==82092== by 0x4DB519: pipedal::Lv2PluginInfo::Lv2PluginInfo(pipedal::PluginHost*, LilvWorldImpl*, LilvPluginImpl const*) (PluginHost.cpp:1049) -==82092== by 0x50BAE4: void std::_Construct(pipedal::Lv2PluginInfo*, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (stl_construct.h:119) -==82092== by 0x505132: construct (alloc_traits.h:661) -==82092== by 0x505132: std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace(std::allocator, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:604) -==82092== by 0x4FD722: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(pipedal::Lv2PluginInfo*&, std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:971) -==82092== by 0x4F5DDF: std::__shared_ptr::__shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:1712) -==82092== by 0x4EF816: std::shared_ptr::shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr.h:464) -==82092== -==82092== 459 bytes in 8 blocks are definitely lost in loss record 56 of 74 -==82092== at 0x484DB80: realloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x58A9CCF: serd_chunk_sink (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x58A9D33: serd_chunk_sink_finish (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x58A9E7F: serd_file_uri_parse (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x426038: pipedal::ModGui::ModGui(pipedal::PluginHost*, LilvPluginImpl const*, std::__cxx11::basic_string, std::allocator > const&, LilvNodeImpl const*) (ModGui.cpp:119) -==82092== by 0x42710E: pipedal::ModGui::Create(pipedal::PluginHost*, LilvPluginImpl const*) (ModGui.cpp:221) -==82092== by 0x4DB519: pipedal::Lv2PluginInfo::Lv2PluginInfo(pipedal::PluginHost*, LilvWorldImpl*, LilvPluginImpl const*) (PluginHost.cpp:1049) -==82092== by 0x50BAE4: void std::_Construct(pipedal::Lv2PluginInfo*, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (stl_construct.h:119) -==82092== by 0x505132: construct (alloc_traits.h:661) -==82092== by 0x505132: std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace(std::allocator, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:604) -==82092== by 0x4FD722: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(pipedal::Lv2PluginInfo*&, std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:971) -==82092== by 0x4F5DDF: std::__shared_ptr::__shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:1712) -==82092== by 0x4EF816: std::shared_ptr::shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr.h:464) -==82092== -==82092== 479 bytes in 8 blocks are definitely lost in loss record 57 of 74 -==82092== at 0x484DB80: realloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x58A9CCF: serd_chunk_sink (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x58A9D33: serd_chunk_sink_finish (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x58A9E7F: serd_file_uri_parse (in /usr/lib/x86_64-linux-gnu/libserd-0.so.0.32.2) -==82092== by 0x425F98: pipedal::ModGui::ModGui(pipedal::PluginHost*, LilvPluginImpl const*, std::__cxx11::basic_string, std::allocator > const&, LilvNodeImpl const*) (ModGui.cpp:114) -==82092== by 0x42710E: pipedal::ModGui::Create(pipedal::PluginHost*, LilvPluginImpl const*) (ModGui.cpp:221) -==82092== by 0x4DB519: pipedal::Lv2PluginInfo::Lv2PluginInfo(pipedal::PluginHost*, LilvWorldImpl*, LilvPluginImpl const*) (PluginHost.cpp:1049) -==82092== by 0x50BAE4: void std::_Construct(pipedal::Lv2PluginInfo*, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (stl_construct.h:119) -==82092== by 0x505132: construct (alloc_traits.h:661) -==82092== by 0x505132: std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace(std::allocator, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:604) -==82092== by 0x4FD722: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(pipedal::Lv2PluginInfo*&, std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:971) -==82092== by 0x4F5DDF: std::__shared_ptr::__shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:1712) -==82092== by 0x4EF816: std::shared_ptr::shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr.h:464) -==82092== -==82092== 1,992 bytes in 83 blocks are definitely lost in loss record 63 of 74 -==82092== at 0x4846828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x4AA841C: lilv_node_duplicate (in /usr/lib/x86_64-linux-gnu/liblilv-0.so.0.24.22) -==82092== by 0x4AAD1D2: lilv_world_get (in /usr/lib/x86_64-linux-gnu/liblilv-0.so.0.24.22) -==82092== by 0x4272AD: pipedal::ModGuiPort::ModGuiPort(pipedal::PluginHost*, LilvNodeImpl const*) (ModGui.cpp:230) -==82092== by 0x4266A8: pipedal::ModGui::ModGui(pipedal::PluginHost*, LilvPluginImpl const*, std::__cxx11::basic_string, std::allocator > const&, LilvNodeImpl const*) (ModGui.cpp:170) -==82092== by 0x42710E: pipedal::ModGui::Create(pipedal::PluginHost*, LilvPluginImpl const*) (ModGui.cpp:221) -==82092== by 0x4DB519: pipedal::Lv2PluginInfo::Lv2PluginInfo(pipedal::PluginHost*, LilvWorldImpl*, LilvPluginImpl const*) (PluginHost.cpp:1049) -==82092== by 0x50BAE4: void std::_Construct(pipedal::Lv2PluginInfo*, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (stl_construct.h:119) -==82092== by 0x505132: construct (alloc_traits.h:661) -==82092== by 0x505132: std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace(std::allocator, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:604) -==82092== by 0x4FD722: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(pipedal::Lv2PluginInfo*&, std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:971) -==82092== by 0x4F5DDF: std::__shared_ptr::__shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:1712) -==82092== by 0x4EF816: std::shared_ptr::shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr.h:464) -==82092== -==82092== 1,992 bytes in 83 blocks are definitely lost in loss record 64 of 74 -==82092== at 0x4846828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x4AA841C: lilv_node_duplicate (in /usr/lib/x86_64-linux-gnu/liblilv-0.so.0.24.22) -==82092== by 0x4AAD1D2: lilv_world_get (in /usr/lib/x86_64-linux-gnu/liblilv-0.so.0.24.22) -==82092== by 0x4272E7: pipedal::ModGuiPort::ModGuiPort(pipedal::PluginHost*, LilvNodeImpl const*) (ModGui.cpp:231) -==82092== by 0x4266A8: pipedal::ModGui::ModGui(pipedal::PluginHost*, LilvPluginImpl const*, std::__cxx11::basic_string, std::allocator > const&, LilvNodeImpl const*) (ModGui.cpp:170) -==82092== by 0x42710E: pipedal::ModGui::Create(pipedal::PluginHost*, LilvPluginImpl const*) (ModGui.cpp:221) -==82092== by 0x4DB519: pipedal::Lv2PluginInfo::Lv2PluginInfo(pipedal::PluginHost*, LilvWorldImpl*, LilvPluginImpl const*) (PluginHost.cpp:1049) -==82092== by 0x50BAE4: void std::_Construct(pipedal::Lv2PluginInfo*, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (stl_construct.h:119) -==82092== by 0x505132: construct (alloc_traits.h:661) -==82092== by 0x505132: std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace(std::allocator, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:604) -==82092== by 0x4FD722: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(pipedal::Lv2PluginInfo*&, std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:971) -==82092== by 0x4F5DDF: std::__shared_ptr::__shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:1712) -==82092== by 0x4EF816: std::shared_ptr::shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr.h:464) -==82092== -==82092== 1,992 bytes in 83 blocks are definitely lost in loss record 65 of 74 -==82092== at 0x4846828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x4AA841C: lilv_node_duplicate (in /usr/lib/x86_64-linux-gnu/liblilv-0.so.0.24.22) -==82092== by 0x4AAD1D2: lilv_world_get (in /usr/lib/x86_64-linux-gnu/liblilv-0.so.0.24.22) -==82092== by 0x427337: pipedal::ModGuiPort::ModGuiPort(pipedal::PluginHost*, LilvNodeImpl const*) (ModGui.cpp:232) -==82092== by 0x4266A8: pipedal::ModGui::ModGui(pipedal::PluginHost*, LilvPluginImpl const*, std::__cxx11::basic_string, std::allocator > const&, LilvNodeImpl const*) (ModGui.cpp:170) -==82092== by 0x42710E: pipedal::ModGui::Create(pipedal::PluginHost*, LilvPluginImpl const*) (ModGui.cpp:221) -==82092== by 0x4DB519: pipedal::Lv2PluginInfo::Lv2PluginInfo(pipedal::PluginHost*, LilvWorldImpl*, LilvPluginImpl const*) (PluginHost.cpp:1049) -==82092== by 0x50BAE4: void std::_Construct(pipedal::Lv2PluginInfo*, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (stl_construct.h:119) -==82092== by 0x505132: construct (alloc_traits.h:661) -==82092== by 0x505132: std::_Sp_counted_ptr_inplace, (__gnu_cxx::_Lock_policy)2>::_Sp_counted_ptr_inplace(std::allocator, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:604) -==82092== by 0x4FD722: std::__shared_count<(__gnu_cxx::_Lock_policy)2>::__shared_count, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(pipedal::Lv2PluginInfo*&, std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:971) -==82092== by 0x4F5DDF: std::__shared_ptr::__shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr_base.h:1712) -==82092== by 0x4EF816: std::shared_ptr::shared_ptr, pipedal::PluginHost*, LilvWorldImpl*&, LilvPluginImpl const*&>(std::_Sp_alloc_shared_tag >, pipedal::PluginHost*&&, LilvWorldImpl*&, LilvPluginImpl const*&) (shared_ptr.h:464) -==82092== -==82092== 3,352 (80 direct, 3,272 indirect) bytes in 1 blocks are definitely lost in loss record 70 of 74 -==82092== at 0x4846828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x6161246: ??? -==82092== by 0x60DC94F: ??? -==82092== by 0x60E5CE6: ??? -==82092== by 0x60E623C: ??? -==82092== by 0x60D97E1: ??? -==82092== by 0x60DAAFF: ??? -==82092== by 0x60E59EB: ??? -==82092== by 0x60E5A23: ??? -==82092== by 0x5E45BA7: ??? -==82092== by 0x5E45E24: ??? -==82092== by 0x5F764D2: ??? -==82092== -==82092== 3,709 (80 direct, 3,629 indirect) bytes in 1 blocks are definitely lost in loss record 71 of 74 -==82092== at 0x4846828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x6161246: ??? -==82092== by 0x61902DE: ??? -==82092== by 0x5F765D7: ??? -==82092== by 0x6179366: ??? -==82092== by 0x5F7BE3D: ??? -==82092== by 0x5F76550: ??? -==82092== by 0x5E2F318: ??? -==82092== by 0x5E2F586: ??? -==82092== by 0x5F7C099: ??? -==82092== by 0x1C366B: CollatorImpl::CollatorImpl(std::shared_ptr, char const*) (Locale.cpp:385) -==82092== by 0x1C3C93: LocaleImpl::GetCollator() (Locale.cpp:444) -==82092== -==82092== 3,950 (56 direct, 3,894 indirect) bytes in 1 blocks are definitely lost in loss record 72 of 74 -==82092== at 0x4846828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x618ABDC: ??? -==82092== by 0x6179016: ??? -==82092== by 0x5F71D5E: ??? -==82092== by 0x5F76545: ??? -==82092== by 0x5E2F318: ??? -==82092== by 0x5E2F586: ??? -==82092== by 0x5F7C099: ??? -==82092== by 0x1C366B: CollatorImpl::CollatorImpl(std::shared_ptr, char const*) (Locale.cpp:385) -==82092== by 0x1C3C93: LocaleImpl::GetCollator() (Locale.cpp:444) -==82092== by 0x1597CF: main (main.cpp:303) -==82092== -==82092== 4,264 bytes in 1 blocks are definitely lost in loss record 73 of 74 -==82092== at 0x4846828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x618ABEC: ??? -==82092== by 0x60DAAD3: ??? -==82092== by 0x60E59EB: ??? -==82092== by 0x60E5A23: ??? -==82092== by 0x5E45BA7: ??? -==82092== by 0x5E45E24: ??? -==82092== by 0x5F764D2: ??? -==82092== by 0x5E2F318: ??? -==82092== by 0x5E2F586: ??? -==82092== by 0x5F7C099: ??? -==82092== by 0x1C366B: CollatorImpl::CollatorImpl(std::shared_ptr, char const*) (Locale.cpp:385) -==82092== -==82092== 5,804 (256 direct, 5,548 indirect) bytes in 1 blocks are definitely lost in loss record 74 of 74 -==82092== at 0x4846828: malloc (in /usr/libexec/valgrind/vgpreload_memcheck-amd64-linux.so) -==82092== by 0x618ABDC: ??? -==82092== by 0x5E45B9A: ??? -==82092== by 0x5E45E24: ??? -==82092== by 0x5F764D2: ??? -==82092== by 0x5E2F318: ??? -==82092== by 0x5E2F586: ??? -==82092== by 0x5F7C099: ??? -==82092== by 0x1C366B: CollatorImpl::CollatorImpl(std::shared_ptr, char const*) (Locale.cpp:385) -==82092== by 0x1C3C93: LocaleImpl::GetCollator() (Locale.cpp:444) -==82092== by 0x1597CF: main (main.cpp:303) -==82092== -==82092== LEAK SUMMARY: -==82092== definitely lost: 13,116 bytes in 299 blocks -==82092== indirectly lost: 16,343 bytes in 30 blocks -==82092== possibly lost: 0 bytes in 0 blocks -==82092== still reachable: 5,888 bytes in 39 blocks -==82092== suppressed: 0 bytes in 0 blocks -==82092== Reachable blocks (those to which a pointer was found) are not shown. -==82092== To see them, rerun with: --leak-check=full --show-leak-kinds=all -==82092== -==82092== Use --track-origins=yes to see where uninitialised values come from -==82092== For lists of detected and suppressed errors, rerun with: -s -==82092== ERROR SUMMARY: 18 errors from 18 contexts (suppressed: 0 from 0) diff --git a/vite/src/pipedal/ModGuiHost.tsx b/vite/src/pipedal/ModGuiHost.tsx index cd58a2a..b2efd65 100644 --- a/vite/src/pipedal/ModGuiHost.tsx +++ b/vite/src/pipedal/ModGuiHost.tsx @@ -306,7 +306,11 @@ class CustomSelectPathControl implements ModGuiControl { this.requestUpdate(); } if (this.enumeratedValueElement) { - this.enumeratedValueElement.textContent = pathFileName(this.pathValue); + if (this.pathValue === "") { + this.enumeratedValueElement.textContent = ""; + } else { + this.enumeratedValueElement.textContent = pathFileName(this.pathValue); + } } } @@ -1643,7 +1647,8 @@ function ModGuiHost(props: ModGuiHostProps) { return ( { props.onClose(); setErrorMessage(null); }}> -