Bug 479535 - KDE Connect Daemon crashes once bluetooth headphones are disconnected.
Summary: KDE Connect Daemon crashes once bluetooth headphones are disconnected.
Status: RESOLVED DUPLICATE of bug 477104
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: 23.08.4
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-01-08 10:47 UTC by Ricky Cheung
Modified: 2024-02-21 12:08 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (2.63 KB, text/plain)
2024-02-21 12:08 UTC, philsuess
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ricky Cheung 2024-01-08 10:47:22 UTC
Application: kdeconnectd (23.08.4)

Qt Version: 5.15.11
Frameworks Version: 5.113.0
Operating System: Linux 6.6.9-arch1-1 x86_64
Windowing System: X11
Distribution: Arch Linux
DrKonqi: 5.27.10 [KCrashBackend]

-- Information about the crash:
Whenever I would go ahead to disconnect my AirPods Pro, the KDE Connect Daemon would crash instantly.

The crash can be reproduced every time.

-- Backtrace:
Application: KDE Connect Daemon (kdeconnectd), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007f31d127a90e in  () at /usr/lib/libKF5PulseAudioQt.so.3
#7  0x00007f31d112a2eb in context_get_card_info_callback (pd=pd@entry=0x55765cf6db70, command=command@entry=2, tag=tag@entry=126, t=t@entry=0x55765cf6ac90, userdata=userdata@entry=0x55765cf7a120) at ../pulseaudio/src/pulse/introspect.c:990
#8  0x00007f31d10bfef2 in run_action (pd=0x55765cf6db70, r=0x55765cf79570, command=2, ts=0x55765cf6ac90) at ../pulseaudio/src/pulsecore/pdispatch.c:291
#9  0x00007f31d10c113c in pa_pdispatch_run (pd=0x55765cf6db70, packet=packet@entry=0x55765caec700, ancil_data=ancil_data@entry=0x55765cf71548, userdata=userdata@entry=0x55765cf0a700) at ../pulseaudio/src/pulsecore/pdispatch.c:344
#10 0x00007f31d1118254 in pstream_packet_callback (p=<optimized out>, packet=0x55765caec700, ancil_data=0x55765cf71548, userdata=0x55765cf0a700) at ../pulseaudio/src/pulse/context.c:364
#11 0x00007f31d10c5fb5 in do_read (p=p@entry=0x55765cf712b0, re=re@entry=0x55765cf71430) at ../pulseaudio/src/pulsecore/pstream.c:1023
#12 0x00007f31d10c6e4f in do_pstream_read_write (p=0x55765cf712b0) at ../pulseaudio/src/pulsecore/pstream.c:261
#13 0x00007f31d136a5e8 in dispatch_func (source=0x55765cefc4c0, callback=<optimized out>, userdata=<optimized out>) at ../pulseaudio/src/pulse/glib-mainloop.c:581
#14 0x00007f31edf0df69 in g_main_dispatch (context=0x7f31e4000ec0) at ../glib/glib/gmain.c:3476
#15 0x00007f31edf6c367 in g_main_context_dispatch_unlocked (context=0x7f31e4000ec0) at ../glib/glib/gmain.c:4284
#16 g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7f31e4000ec0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#17 0x00007f31edf0c162 in g_main_context_iteration (context=0x7f31e4000ec0, may_block=1) at ../glib/glib/gmain.c:4414
#18 0x00007f31ef4e9e0c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#19 0x00007f31ef499d54 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#20 0x00007f31ef49b1f3 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#21 0x000055765ae43517 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/kdeconnect/kdeconnect-kde-23.08.4/daemon/kdeconnectd.cpp:186
[Inferior 1 (process 1035) detached]

The reporter indicates this bug may be a duplicate of or related to bug 455663, bug 453580.

Reported using DrKonqi
Comment 1 Nicolas Fella 2024-01-08 11:58:49 UTC
*** This bug has been marked as a duplicate of bug 477104 ***
Comment 2 philsuess 2024-02-21 12:08:51 UTC
Created attachment 165972 [details]
New crash information added by DrKonqi

kdeconnectd (23.08.4) using Qt 5.15.12

I just tried to connect the WH-XB910N and it crashed.

-- Backtrace (Reduced):
#4  0x00007fb9c4758283 in PulseAudioQt::CardPrivate::update(pa_card_info const*) (this=<optimized out>, info=<optimized out>) at /usr/src/debug/pulseaudio-qt-1.3/src/card.cpp:72
#5  0x00007fb9c4707e28 in context_get_card_info_callback (pd=pd@entry=0x55f833546630, command=command@entry=2, tag=tag@entry=101, t=t@entry=0x55f833547450, userdata=userdata@entry=0x55f8334d5150) at ../src/pulse/introspect.c:990
#6  0x00007fb9c469bd21 in run_action (pd=0x55f833546630, r=0x55f833551b30, command=2, ts=0x55f833547450) at ../src/pulsecore/pdispatch.c:291
#7  0x00007fb9c469fffc in pa_pdispatch_run (pd=0x55f833546630, packet=packet@entry=0x55f833542250, ancil_data=ancil_data@entry=0x55f83353eb18, userdata=userdata@entry=0x55f833495390) at ../src/pulsecore/pdispatch.c:344
#8  0x00007fb9c46f658e in pstream_packet_callback (p=<optimized out>, packet=0x55f833542250, ancil_data=0x55f83353eb18, userdata=0x55f833495390) at ../src/pulse/context.c:364