Bug 475196 - KDE Connect crashes after phone disconnects
Summary: KDE Connect crashes after phone disconnects
Status: RESOLVED DUPLICATE of bug 477104
Alias: None
Product: kdeconnect
Classification: Applications
Component: common (show other bugs)
Version: 23.08.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Albert Vaca Cintora
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-10-03 21:15 UTC by Eddi-Jay Ohlms
Modified: 2023-12-07 20:51 UTC (History)
4 users (show)

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


Attachments
New crash information added by DrKonqi (1.88 KB, text/plain)
2023-11-16 12:40 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eddi-Jay Ohlms 2023-10-03 21:15:19 UTC
Application: kdeconnectd (23.08.1)

Qt Version: 5.15.10
Frameworks Version: 5.110.0
Operating System: Linux 6.5.5-300.fc39.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 39 (KDE Plasma Prerelease)
DrKonqi: 5.27.8 [KCrashBackend]

-- Information about the crash:
My phone got disconected from my PC, because I left the WiFi on my phone.
Shortly after that, KDE Connect crashes on my PC

The crash can be reproduced sometimes.

-- Backtrace:
Application: KDE Connect Daemon (kdeconnectd), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f2b9c433e17 in PulseAudioQt::CardPrivate::update(pa_card_info const*) () at /lib64/libKF5PulseAudioQt.so.3
#5  0x00007f2b9c3e4d9f in context_get_card_info_callback () at /lib64/libpulse.so.0
#6  0x00007f2b9c37d588 in run_action () at /usr/lib64/pulseaudio/libpulsecommon-16.1.so
#7  0x00007f2b9c381b1c in pa_pdispatch_run () at /usr/lib64/pulseaudio/libpulsecommon-16.1.so
#8  0x00007f2b9c3d31ab in pstream_packet_callback () at /lib64/libpulse.so.0
#9  0x00007f2b9c38494f in do_read () at /usr/lib64/pulseaudio/libpulsecommon-16.1.so
#10 0x00007f2b9c3863a7 in do_pstream_read_write () at /usr/lib64/pulseaudio/libpulsecommon-16.1.so
#11 0x00007f2b9cd1b8a1 in dispatch_func () at /lib64/libpulse-mainloop-glib.so.0
#12 0x00007f2be0b12e1c in g_main_context_dispatch_unlocked.lto_priv () at /lib64/libglib-2.0.so.0
#13 0x00007f2be0b6dd78 in g_main_context_iterate_unlocked.isra () at /lib64/libglib-2.0.so.0
#14 0x00007f2be0b10a93 in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#15 0x00007f2be2106759 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#16 0x00007f2be20b2bdb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#17 0x00007f2be20bae6b in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#18 0x00005644525bb07d in main ()
[Inferior 1 (process 2594) detached]

Reported using DrKonqi
Comment 1 Dennis Schridde 2023-11-16 12:40:56 UTC
Created attachment 163214 [details]
New crash information added by DrKonqi

kdeconnectd (23.08.1) using Qt 5.15.11

Crashed when bluetooth headphones disconnected.

-- Backtrace (Reduced):
#4  0x00007fa980125e17 in PulseAudioQt::CardPrivate::update(pa_card_info const*) () from /lib64/libKF5PulseAudioQt.so.3
#5  0x00007fa9800d6d9f in context_get_card_info_callback () from /lib64/libpulse.so.0
#6  0x00007fa98006f588 in run_action () from /usr/lib64/pulseaudio/libpulsecommon-16.1.so
#7  0x00007fa980073b1c in pa_pdispatch_run () from /usr/lib64/pulseaudio/libpulsecommon-16.1.so
#8  0x00007fa9800c51ab in pstream_packet_callback () from /lib64/libpulse.so.0
Comment 2 Andrey Rakhmatullin 2023-11-30 09:45:41 UTC
Happens to me on Debian testing when disconnecting BT headphones.

libkf5pulseaudioqt3 1.3-2+b1
libpulse0 16.1+dfsg1-2+b1
kdeconnect 23.08.2-1 (though I'm not sure why is this apparently specific to kdeconnect as I don't see its code in the backtrace)
Comment 3 Ryan Olthof 2023-12-07 20:51:17 UTC
*** This bug has been marked as a duplicate of bug 477104 ***