Bug 516121

Summary: plasmashell crashes when disconnecting phone with mtp and adb debbuging active
Product: [Plasma] plasmashell Reporter: kolomaz42
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs-null>
Status: REPORTED ---    
Severity: crash Keywords: drkonqi
Priority: NOR    
Version First Reported In: 6.5.5   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description kolomaz42 2026-02-16 19:23:55 UTC
Application: plasmashell (6.5.5)

ApplicationNotResponding [ANR]: false
Qt Version: 6.10.2
Frameworks Version: 6.22.0
Operating System: Linux 6.18.9-arch1-2 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 6.5.5 [CoredumpBackend]

-- Information about the crash:
The process plasmashell crashes once i disconnect my phone while it is in mtp and adb mode, i can recreate it always. Krunner and kdeconnectd also crash sometime once i disconnect phone from mtp/adb mode. Once it happened when i switched to PTP mode (krunner). It does not happen on any other machines that have kde plasma installed. I am using the latest version of KDE Plasma on wayland. The phone was connected using an usb 3 hub using an usb 2 cable. Also the phone is connected using KDE Connect to 2 computers, but it crashes also with one computer connected.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  0x00007fc0fdb12d74 in Solid::Device::udi() const () from /usr/lib/libKF6Solid.so.6
[...]
#7  0x00007fc0fafd8f0f in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#8  doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4272
#9  0x00007fc0fdb106a3 in Solid::DeviceNotifier::deviceRemoved(QString const&) () from /usr/lib/libKF6Solid.so.6
#10 0x00007fc0fafd8f0f in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#11 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4272
[...]
#13 0x00007fc0fafd92da in doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4284
[...]
#15 0x00007fc0fafd8f0f in QtPrivate::QSlotObjectBase::call (this=<optimized out>, r=<optimized out>, a=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobjectdefs_impl.h:461
#16 doActivate<false> (sender=<optimized out>, signal_index=<optimized out>, argv=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qobject.cpp:4272
[...]
#18 QSocketNotifier::activated (this=0x7fc0980281b0, _t1=..., _t2=<optimized out>, _t3=...) at /usr/src/debug/qt6-base/build/src/corelib/Core_autogen/include/moc_qsocketnotifier.cpp:161
#19 QSocketNotifier::event (this=0x7fc0980281b0, e=<optimized out>) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qsocketnotifier.cpp:324
#20 0x00007fc0fd303380 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7fc0980281b0, e=0x7fc043ffe6c0) at /usr/src/debug/qt6-base/qtbase/src/widgets/kernel/qapplication.cpp:3305
#21 0x00007fc0faf6bf48 in QCoreApplication::notifyInternal2 (receiver=0x7fc0980281b0, event=0x7fc043ffe6c0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1109
#22 0x00007fc0fb2519d1 in QCoreApplication::sendEvent (receiver=<optimized out>, event=0x7fc043ffe6c0) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qcoreapplication.cpp:1549
#23 socketNotifierSourceDispatch (source=0x7fc098001160) at /usr/src/debug/qt6-base/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:77
#24 0x00007fc0f9b5df8d in g_main_dispatch (context=0x7fc098000e10) at ../glib/glib/gmain.c:3565


Reported using DrKonqi
Comment 1 kolomaz42 2026-02-16 19:23:56 UTC
Created attachment 189678 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.