Bug 493620

Summary: Sometimes when i plug in my external Usb Harddrive plasmashell crashes
Product: [Plasma] plasmashell Reporter: ollilein
Component: generic-crashAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdedev, nate
Priority: NOR    
Version: 6.1.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=492578
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: Plasmashell crash log
Qt-6.7.3 Crashlog

Description ollilein 2024-09-25 07:39:59 UTC
Created attachment 174059 [details]
Plasmashell crash log

***
If you're not sure this is actually a bug, instead post about it at https://discuss.kde.org

If you're reporting a crash, attach a backtrace with debug symbols; see https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports

Please remove this comment after reading and before submitting - thanks!
***

SUMMARY
Sometimes when i plug in my external Usb Drive ( Western Digital Elements 3TB ) plasmashell crashes.


STEPS TO REPRODUCE
1. Plug in the Harddrive sometimes plasmashell crashes
2. 
3. 

OBSERVED RESULT
Plasmashell crashes

EXPECTED RESULT
Plasmashell won't crash

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo 2.15
KDE Plasma Version: 6.1.5
KDE Frameworks Version: 6.6.0
Qt Version: 6.7.2

ADDITIONAL INFORMATION
It looks like this bug only occures very randomly.
Comment 1 Nate Graham 2024-09-25 20:25:49 UTC
Searchable backtrace of the crashing thread:

Thread 1 (Thread 0x7fa427045480 (LWP 1977)):
[KCrash Handler]
#5  0x00007fa42e06405e in QQmlContextData::contextObject (this=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/qml/qml/qqmlcontextdata_p.h:128
#6  QQmlContextData::ContextGuard::objectDestroyedImpl (impl=0x560ee096f638) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/qml/qml/qqmlcontextdata_p.h:455
#7  0x00007fa42e0328c2 in QQmlData::destroyed (this=0x560ed7bcca78, object=0x560ed7bcca50) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/qml/qml/qqmlengine.cpp:1415
#8  0x00007fa42d0c54d7 in QObject::~QObject (this=this@entry=0x560ed7bcca50, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:1078
#9  0x00007fa42e8e9bfb in QQuickItem::~QQuickItem (this=this@entry=0x560ed7bcca50, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/quick/items/qquickitem.cpp:2426
#10 0x00007fa42e7f6606 in QQuickImplicitSizeItem::~QQuickImplicitSizeItem (this=0x560ed7bcca50, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/quick/items/qquickimplicitsizeitem_p.h:24
#11 0x00007fa42594c098 in QQuickLabel::~QQuickLabel (this=this@entry=0x560ed7bcca50, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/quicktemplates/qquicklabel.cpp:284
#12 0x00007fa42591deb1 in QQmlPrivate::QQmlElement<QQuickLabel>::~QQmlElement (this=0x560ed7bcca50, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/qml/qml/qqmlprivate.h:100
#13 QQmlPrivate::QQmlElement<QQuickLabel>::~QQmlElement (this=0x560ed7bcca50, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/qml/qml/qqmlprivate.h:100
#14 0x00007fa42d0a2bdd in QObjectPrivate::deleteChildren (this=this@entry=0x560ee0252e70) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:2222
#15 0x00007fa42d0c5b51 in QObject::~QObject (this=this@entry=0x560ee3553010, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:1172
#16 0x00007fa42e8e9bfb in QQuickItem::~QQuickItem (this=this@entry=0x560ee3553010, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/quick/items/qquickitem.cpp:2426
#17 0x00007fa41daf07d1 in QQuickLayout::~QQuickLayout (this=this@entry=0x560ee3553010, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/quicklayouts/qquicklayout.cpp:782
#18 0x00007fa41daf5d09 in QQuickGridLayoutBase::~QQuickGridLayoutBase (this=this@entry=0x560ee3553010, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/quicklayouts/qquicklinearlayout.cpp:299
#19 0x00007fa41db03e74 in QQuickLinearLayout::~QQuickLinearLayout (this=0x560ee3553010, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/quicklayouts/qquicklinearlayout_p.h:186
#20 QQuickColumnLayout::~QQuickColumnLayout (this=0x560ee3553010, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/quicklayouts/qquicklinearlayout_p.h:241
#21 QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement (this=0x560ee3553010, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/qml/qml/qqmlprivate.h:100
#22 QQmlPrivate::QQmlElement<QQuickColumnLayout>::~QQmlElement (this=0x560ee3553010, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/qml/qml/qqmlprivate.h:100
#23 0x00007fa42d0a2bdd in QObjectPrivate::deleteChildren (this=this@entry=0x560ee0daf800) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:2222
#24 0x00007fa42d0c5b51 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:1172
#25 0x00007fa41dabcfa9 in ??? () at /usr/lib64/qt6/qml/org/kde/plasma/core/libcorebindingsplugin.so
#26 0x00007fa42d0a2bdd in QObjectPrivate::deleteChildren (this=this@entry=0x560edc3f7390) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:2222
#27 0x00007fa42d0c5b51 in QObject::~QObject (this=this@entry=0x560ee02180f0, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:1172
#28 0x00007fa42e8e9bfb in QQuickItem::~QQuickItem (this=this@entry=0x560ee02180f0, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/quick/items/qquickitem.cpp:2426
#29 0x00007fa42e8ea2fa in QQuickImplicitSizeItem::~QQuickImplicitSizeItem (this=0x560ee02180f0, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/quick/items/qquickimplicitsizeitem_p.h:24
#30 0x00007fa42e650ad9 in QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement (this=0x560ee02180f0, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/qml/qml/qqmlprivate.h:100
#31 QQmlPrivate::QQmlElement<QQuickLoader>::~QQmlElement (this=0x560ee02180f0, __in_chrg=<optimized out>) at /var/tmp/portage/dev-qt/qtdeclarative-6.7.2/work/qtdeclarative-everywhere-src-6.7.2/src/qml/qml/qqmlprivate.h:100
#32 0x00007fa42d087789 in QObject::event (this=0x560ee02180f0, e=0x560ede44b530) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qobject.cpp:1437
#33 0x00007fa42f327aa9 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x560ee02180f0, e=0x560ede44b530) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:3287
#34 0x00007fa42d1003c8 in QCoreApplication::notifyInternal2 (receiver=0x560ee02180f0, event=0x560ede44b530) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1142
#35 0x00007fa42d10047d in QCoreApplication::sendEvent (receiver=<optimized out>, event=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1583
#36 0x00007fa42d12515e in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x560ed4838ba0) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1940
#37 0x00007fa42d12536c in QCoreApplication::sendPostedEvents (receiver=<optimized out>, event_type=<optimized out>) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qcoreapplication.cpp:1797
#38 0x00007fa42cec8607 in postEventSourceDispatch (s=0x560ed4866af0) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:244
#39 0x00007fa42b9f5eef in g_main_dispatch (context=0x7fa420000ef0) at ../glib-2.78.6/glib/gmain.c:3476
#40 g_main_context_dispatch_unlocked (context=context@entry=0x7fa420000ef0) at ../glib-2.78.6/glib/gmain.c:4284
#41 0x00007fa42b9f80d8 in g_main_context_iterate_unlocked (context=context@entry=0x7fa420000ef0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.78.6/glib/gmain.c:4349
#42 0x00007fa42b9f87d0 in g_main_context_iteration (context=0x7fa420000ef0, may_block=1) at ../glib-2.78.6/glib/gmain.c:4414
#43 0x00007fa42cec67d3 in QEventDispatcherGlib::processEvents (this=0x560ed487d430, flags=...) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/kernel/qeventdispatcher_glib.cpp:394
#44 0x00007fa42d129cda in QEventLoop::exec (this=this@entry=0x7ffc25b28d00, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/global/qflags.h:34
#45 0x00007fa42d129e75 in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/corelib/global/qflags.h:74
#46 0x00007fa42d563e00 in QGuiApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/gui/kernel/qguiapplication.cpp:1926
#47 0x00007fa42f295ba9 in QApplication::exec () at /var/tmp/portage/dev-qt/qtbase-6.7.2-r5/work/qtbase-everywhere-src-6.7.2/src/widgets/kernel/qapplication.cpp:2555
#48 0x0000560ed476bc66 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-plasma/plasma-workspace-6.1.5-r2/work/plasma-workspace-6.1.5/shell/main.cpp:188
Comment 2 Nate Graham 2024-09-25 20:28:06 UTC
Appears to be 100% in Qt code.
Comment 3 ollilein 2024-09-27 16:39:33 UTC
Created attachment 174150 [details]
Qt-6.7.3 Crashlog

I updated to qt-6.7.3 today and the crash is still there.
Comment 4 TraceyC 2024-09-27 23:47:36 UTC
The trace is not identical, but it seems similar to this crash that was reported for both an SD Card and USB Drive
https://bugs.kde.org/show_bug.cgi?id=492578
Comment 5 Nate Graham 2024-10-03 21:49:40 UTC
(In reply to ollilein from comment #3)
> Created attachment 174150 [details]
> Qt-6.7.3 Crashlog
> 
> I updated to qt-6.7.3 today and the crash is still there.

This one is Bug 489682, which isn't related.
Comment 6 Nate Graham 2024-11-12 15:08:40 UTC

*** This bug has been marked as a duplicate of bug 492356 ***