https://bugs.kde.org/show_bug.cgi?id=477104
--- Comment #13 from Nicolas Fella <nicolas.fe...@gmx.de> --- ==23675==ERROR: AddressSanitizer: heap-use-after-free on address 0x60300029eac0 at pc 0x7f5df23f5303 bp 0x7fff626c1040 sp 0x7fff626c1038 READ of size 8 at 0x60300029eac0 thread T0 #0 0x7f5df23f5302 in PulseAudioQt::PulseObject::name() const /home/nico/kde6/src/pulseaudio-qt/src/pulseobject.cpp:38 #1 0x7f5df23680ba in PulseAudioQt::CardPrivate::update(pa_card_info const*) /home/nico/kde6/src/pulseaudio-qt/src/card.cpp:69 #2 0x7f5df2392ad6 in PulseAudioQt::MapBase<PulseAudioQt::Card, pa_card_info>::updateEntry(pa_card_info const*, QObject*) /home/nico/kde6/src/pulseaudio-qt/src/maps.h:132 #3 0x7f5df2382dc3 in PulseAudioQt::ContextPrivate::cardCallback(pa_card_info const*) /home/nico/kde6/src/pulseaudio-qt/src/context.cpp:559 #4 0x7f5df237b87f in card_cb /home/nico/kde6/src/pulseaudio-qt/src/context.cpp:148 #5 0x7f5df216ee27 in context_get_card_info_callback ../src/pulse/introspect.c:990 #6 0x7f5df21036c0 in run_action ../src/pulsecore/pdispatch.c:291 #7 0x7f5df21079eb in pa_pdispatch_run ../src/pulsecore/pdispatch.c:344 #8 0x7f5df215d58d in pstream_packet_callback ../src/pulse/context.c:364 #9 0x7f5df210e762 in do_read ../src/pulsecore/pstream.c:1023 #10 0x7f5df210ffc6 in do_pstream_read_write ../src/pulsecore/pstream.c:261 #11 0x7f5df3193647 in dispatch_func ../src/pulse/glib-mainloop.c:581 #12 0x7f5e0d113f2f in g_main_dispatch ../glib/gmain.c:3476 #13 0x7f5e0d113f2f in g_main_context_dispatch_unlocked ../glib/gmain.c:4284 #14 0x7f5e0d115b57 in g_main_context_iterate_unlocked ../glib/gmain.c:4349 #15 0x7f5e0d11620b in g_main_context_iteration ../glib/gmain.c:4414 #16 0x7f5e0ddabc6b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (/lib64/libQt6Core.so.6+0x3abc6b) (BuildId: da7667e446842b4ec5e606c6775afb0da17fb3fa) #17 0x7f5e0db9211a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (/lib64/libQt6Core.so.6+0x19211a) (BuildId: da7667e446842b4ec5e606c6775afb0da17fb3fa) #18 0x7f5e0db8bd45 in QCoreApplication::exec() (/lib64/libQt6Core.so.6+0x18bd45) (BuildId: da7667e446842b4ec5e606c6775afb0da17fb3fa) #19 0x406394 in main /home/nico/kde6/src/kdeconnect-kde/daemon/kdeconnectd.cpp:207 #20 0x7f5e0d2281af in __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 #21 0x7f5e0d228278 in __libc_start_main_impl ../csu/libc-start.c:360 #22 0x404894 in _start ../sysdeps/x86_64/start.S:115 0x60300029eac0 is located 16 bytes inside of 32-byte region [0x60300029eab0,0x60300029ead0) freed by thread T0 here: #0 0x7f5e12edda78 in operator delete(void*, unsigned long) ../../../../libsanitizer/asan/asan_new_delete.cpp:164 #1 0x7f5df23dc90a in PulseAudioQt::Profile::~Profile() /home/nico/kde6/src/pulseaudio-qt/src/profile.cpp:21 #2 0x7f5df23681ad in PulseAudioQt::CardPrivate::update(pa_card_info const*) /home/nico/kde6/src/pulseaudio-qt/src/card.cpp:71 #3 0x7f5df2392ad6 in PulseAudioQt::MapBase<PulseAudioQt::Card, pa_card_info>::updateEntry(pa_card_info const*, QObject*) /home/nico/kde6/src/pulseaudio-qt/src/maps.h:132 #4 0x7f5df2382dc3 in PulseAudioQt::ContextPrivate::cardCallback(pa_card_info const*) /home/nico/kde6/src/pulseaudio-qt/src/context.cpp:559 #5 0x7f5df237b87f in card_cb /home/nico/kde6/src/pulseaudio-qt/src/context.cpp:148 #6 0x7f5df216ee27 in context_get_card_info_callback ../src/pulse/introspect.c:990 previously allocated by thread T0 here: #0 0x7f5e12edcb78 in operator new(unsigned long) ../../../../libsanitizer/asan/asan_new_delete.cpp:95 #1 0x7f5df2367db0 in PulseAudioQt::CardPrivate::update(pa_card_info const*) /home/nico/kde6/src/pulseaudio-qt/src/card.cpp:62 #2 0x7f5df2392a85 in PulseAudioQt::MapBase<PulseAudioQt::Card, pa_card_info>::updateEntry(pa_card_info const*, QObject*) /home/nico/kde6/src/pulseaudio-qt/src/maps.h:129 #3 0x7f5df2382dc3 in PulseAudioQt::ContextPrivate::cardCallback(pa_card_info const*) /home/nico/kde6/src/pulseaudio-qt/src/context.cpp:559 #4 0x7f5df237b87f in card_cb /home/nico/kde6/src/pulseaudio-qt/src/context.cpp:148 #5 0x7f5df216ee27 in context_get_card_info_callback ../src/pulse/introspect.c:990 SUMMARY: AddressSanitizer: heap-use-after-free /home/nico/kde6/src/pulseaudio-qt/src/pulseobject.cpp:38 in PulseAudioQt::PulseObject::name() const -- You are receiving this mail because: You are watching all bug changes.