https://bugs.kde.org/show_bug.cgi?id=478794
Bug ID: 478794
Summary: KDE Connect crashes when bluetooth device (headphones)
is disconnected.
Classification: Applications
Product: kdeconnect
Version: 23.08.4
Platform: Arch Linux
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: common
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
KDE Connect crashes when a bluethooth device (headphones) is disconnected.
Potentially a duplicate of #477104
Application: KDE Connect Daemon (kdeconnectd), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized
out>}
[KCrash Handler]
#6 0x00007f5fa0a4090e in () at /usr/lib/libKF5PulseAudioQt.so.3
#7 0x00007f5fa09f02eb in context_get_card_info_callback
(pd=pd@entry=0x55bb4d8ecb40, command=command@entry=2, tag=tag@entry=1926,
t=t@entry=0x55bb4d8d1f70, userdata=userdata@entry=0x55bb4d930ba0) at
../pulseaudio/src/pulse/introspect.c:990
#8 0x00007f5fa0985ef2 in run_action (pd=0x55bb4d8ecb40, r=0x55bb4d821a10,
command=2, ts=0x55bb4d8d1f70) at ../pulseaudio/src/pulsecore/pdispatch.c:291
#9 0x00007f5fa098713c in pa_pdispatch_run (pd=0x55bb4d8ecb40,
packet=packet@entry=0x55bb4d8d5a60, ancil_data=ancil_data@entry=0x55bb4d8ec6f8,
userdata=userdata@entry=0x55bb4d861430) at
../pulseaudio/src/pulsecore/pdispatch.c:344
#10 0x00007f5fa09de254 in pstream_packet_callback (p=<optimized out>,
packet=0x55bb4d8d5a60, ancil_data=0x55bb4d8ec6f8, userdata=0x55bb4d861430) at
../pulseaudio/src/pulse/context.c:364
#11 0x00007f5fa098bfb5 in do_read (p=p@entry=0x55bb4d8ec460,
re=re@entry=0x55bb4d8ec5e0) at ../pulseaudio/src/pulsecore/pstream.c:1023
#12 0x00007f5fa098ce4f in do_pstream_read_write (p=0x55bb4d8ec460) at
../pulseaudio/src/pulsecore/pstream.c:261
#13 0x00007f5fa23da5e8 in dispatch_func (source=0x55bb4d8603f0,
callback=<optimized out>, userdata=<optimized out>) at
../pulseaudio/src/pulse/glib-mainloop.c:581
#14 0x00007f5feab0df69 in g_main_dispatch (context=0x7f5fe0000ec0) at
../glib/glib/gmain.c:3476
#15 0x00007f5feab6c367 in g_main_context_dispatch_unlocked
(context=0x7f5fe0000ec0) at ../glib/glib/gmain.c:4284
#16 g_main_context_iterate_unlocked.isra.0
(context=context@entry=0x7f5fe0000ec0, block=block@entry=1,
dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4349
#17 0x00007f5feab0c162 in g_main_context_iteration (context=0x7f5fe0000ec0,
may_block=1) at ../glib/glib/gmain.c:4414
#18 0x00007f5fec2e9e0c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
(this=0x55bb4d38b8a0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#19 0x00007f5fec299d54 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>)
(this=this@entry=0x7ffd597425e0, flags=..., flags@entry=...) at
../../include/QtCore/../../src/corelib/global/qflags.h:69
#20 0x00007f5fec29b1f3 in QCoreApplication::exec() () at
../../include/QtCore/../../src/corelib/global/qflags.h:121
#21 0x00007f5fec73bf12 in QGuiApplication::exec() () at
kernel/qguiapplication.cpp:1870
#22 0x00007f5fecf76cda in QApplication::exec() () at
kernel/qapplication.cpp:2832
#23 0x000055bb4c084517 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 1884) detached]
STEPS TO REPRODUCE
1. Disconnect bluetooth headset
OBSERVED RESULT
App crashes and KDE Crash handler appears
EXPECTED RESULT
Should not crash
SOFTWARE/OS VERSIONS
Arch Linux 6.6.7.
KDE Plasma Version: 5.27.10
KDE Frameworks Version: 5.114.0
Qt Version: 5.15.11
--
You are receiving this mail because:
You are watching all bug changes.