Bug 439498 - Plasma crashes when flash drive is unmounted and removed
Summary: Plasma crashes when flash drive is unmounted and removed
Status: RESOLVED DUPLICATE of bug 427945
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.22.2
Platform: Neon Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2021-07-05 00:32 UTC by poomklao
Modified: 2021-08-31 19:46 UTC (History)
6 users (show)

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


Attachments
New crash information added by DrKonqi (70.36 KB, text/plain)
2021-07-05 00:33 UTC, poomklao
Details
New crash information added by DrKonqi (2.72 KB, text/plain)
2021-08-19 16:55 UTC, Leonardo Izzi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description poomklao 2021-07-05 00:32:59 UTC
Application: plasmashell (5.22.2)

Qt Version: 5.15.3
Frameworks Version: 5.83.0
Operating System: Linux 5.8.0-59-generic x86_64
Windowing System: X11
Drkonqi Version: 5.22.2
Distribution: KDE neon User Edition 5.22

-- Information about the crash:
- What I was doing when the application crashed:
I unmounted all partitions of my flash drive via the device notifier, then pulled it out. Plasma crashes when the flash drive is pulled out.

- What I expected to happen
Plasma should not crash.

Note: My flash drive has multiple partitions, some of them ext4 and some of them exfat. This might be relevant.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#4  std::__atomic_base<QThreadData*>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=<error reading variable: Cannot access memory at address 0x8>) at /usr/include/c++/9/bits/atomic_base.h:734
#5  std::atomic<QThreadData*>::load(std::memory_order) const (__m=std::memory_order_relaxed, this=<error reading variable: Cannot access memory at address 0x8>) at /usr/include/c++/9/atomic:519
#6  QAtomicOps<QThreadData*>::loadRelaxed<QThreadData*>(std::atomic<QThreadData*> const&) (_q_value=<error reading variable: Cannot access memory at address 0x8>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qatomic_cxx11.h:239
#7  QBasicAtomicPointer<QThreadData>::loadRelaxed() const (this=<error reading variable: Cannot access memory at address 0x8>) at /usr/include/x86_64-linux-gnu/qt5/QtCore/qbasicatomic.h:248
#8  QQmlNotifierEndpoint::connect(QObject*, int, QQmlEngine*, bool) (this=this@entry=0x55a04f806ce0, source=0x55a04fdb5680, sourceSignal=46, engine=0x0, doNotify=doNotify@entry=true) at qml/qqmlnotifier.cpp:122


Possible duplicates by query: bug 422533.

Reported using DrKonqi
Comment 1 poomklao 2021-07-05 00:33:01 UTC
Created attachment 139856 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 dcordb97 2021-07-07 07:07:28 UTC
This is happening to me also. I have two external HDDs and can reproduce this in one of them every time, although the other works fine.

I'm using plasmashell 5.22.2 on Arch Linux. This is the stack trace that systemd shows:

                                                  Stack trace of thread 1131:
                                                  #0  0x00007f09a8cb0d22 raise (libc.so.6 + 0x3cd22)
                                                  #1  0x00007f09ab15d05b _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x505b)
                                                  #2  0x00007f09a8cb0da0 __restore_rt (libc.so.6 + 0x3cda0)
                                                  #3  0x00007f09aa87b8fe n/a (libQt5Qml.so.5 + 0x2c68fe)
                                                  #4  0x00007f09aa8207d7 n/a (libQt5Qml.so.5 + 0x26b7d7)
                                                  #5  0x00007f09aa8220ab _ZN17QQmlVMEMetaObject8metaCallEP7QObjectN11QMetaObject4CallEiPPv (libQt5Qml.so.5 + 0x26d0ab)
                                                  #6  0x00007f09aa753e55 n/a (libQt5Qml.so.5 + 0x19ee55)
                                                  #7  0x00007f09853452d3 n/a (n/a + 0x0)
                                                  #8  0x00007f09aa778cdd n/a (libQt5Qml.so.5 + 0x1c3cdd)
                                                  #9  0x00007f09aa70bed9 n/a (libQt5Qml.so.5 + 0x156ed9)
                                                  #10 0x00007f09aa8b5612 n/a (libQt5Qml.so.5 + 0x300612)
                                                  #11 0x00007f09aa8b5aba n/a (libQt5Qml.so.5 + 0x300aba)
                                                  #12 0x00007f09a933e4ff _ZN7QObject5eventEP6QEvent (libQt5Core.so.5 + 0x2e64ff)
                                                  #13 0x00007f09a9fe5d62 _ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent (libQt5Widgets.so.5 + 0x15ad62)
                                                  #14 0x00007f09a93113aa _ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent (libQt5Core.so.5 + 0x2b93aa)
                                                  #15 0x00007f09a93144a9 _ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData (libQt5Core.so.5 + 0x2bc4a9)
                                                  #16 0x00007f09a936a9a4 n/a (libQt5Core.so.5 + 0x3129a4)
                                                  #17 0x00007f09a768410c g_main_context_dispatch (libglib-2.0.so.0 + 0x5410c)
                                                  #18 0x00007f09a76d7b99 n/a (libglib-2.0.so.0 + 0xa7b99)
                                                  #19 0x00007f09a7681871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871)
                                                  #20 0x00007f09a9369fd6 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x311fd6)
                                                  #21 0x00007f09a930fd1c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b7d1c)
                                                  #22 0x00007f09a9318284 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2c0284)
                                                  #23 0x0000563501be421a n/a (plasmashell + 0x1e21a)
                                                  #24 0x00007f09a8c9bb25 __libc_start_main (libc.so.6 + 0x27b25)
                                                  #25 0x0000563501be434e n/a (plasmashell + 0x1e34e)

                                                  Stack trace of thread 1170:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007f09a131e59c n/a (iris_dri.so + 0x1c659c)
                                                  #3  0x00007f09a13185f8 n/a (iris_dri.so + 0x1c05f8)
                                                  #4  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1171:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007f09a131e59c n/a (iris_dri.so + 0x1c659c)
                                                  #3  0x00007f09a13185f8 n/a (iris_dri.so + 0x1c05f8)
                                                  #4  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1172:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007f09a131e59c n/a (iris_dri.so + 0x1c659c)
                                                  #3  0x00007f09a13185f8 n/a (iris_dri.so + 0x1c05f8)
                                                  #4  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1169:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007f09a131e59c n/a (iris_dri.so + 0x1c659c)
                                                  #3  0x00007f09a13185f8 n/a (iris_dri.so + 0x1c05f8)
                                                  #4  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1325:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007f09a912c07c _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd407c)
                                                  #3  0x00007f09aacf7f37 n/a (libQt5Quick.so.5 + 0x203f37)
                                                  #4  0x00007f09aacfa48b n/a (libQt5Quick.so.5 + 0x20648b)
                                                  #5  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #6  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #7  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1474:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                                  #2  0x00007f09a912c000 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4000)
                                                  #3  0x00007f09a91294a8 n/a (libQt5Core.so.5 + 0xd14a8)
                                                  #4  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #5  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #6  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1471:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                                  #2  0x00007f09a912c000 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4000)
                                                  #3  0x00007f09a91294a8 n/a (libQt5Core.so.5 + 0xd14a8)
                                                  #4  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #5  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #6  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1241:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007f09a912c07c _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd407c)
                                                  #3  0x00007f09aacf7f37 n/a (libQt5Quick.so.5 + 0x203f37)
                                                  #4  0x00007f09aacfa48b n/a (libQt5Quick.so.5 + 0x20648b)
                                                  #5  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #6  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #7  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1478:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007f09a131e59c n/a (iris_dri.so + 0x1c659c)
                                                  #3  0x00007f09a13185f8 n/a (iris_dri.so + 0x1c05f8)
                                                  #4  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1473:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                                  #2  0x00007f09a912c000 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4000)
                                                  #3  0x00007f09a91294a8 n/a (libQt5Core.so.5 + 0xd14a8)
                                                  #4  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #5  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #6  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1472:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                                  #2  0x00007f09a912c000 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4000)
                                                  #3  0x00007f09a91294a8 n/a (libQt5Core.so.5 + 0xd14a8)
                                                  #4  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #5  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #6  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1215:
                                                  #0  0x00007f09a8d67b2f __poll (libc.so.6 + 0xf3b2f)
                                                  #1  0x00007f09a76d7b29 n/a (libglib-2.0.so.0 + 0xa7b29)
                                                  #2  0x00007f09a7681871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871)
                                                  #3  0x00007f09a9369fd6 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x311fd6)
                                                  #4  0x00007f09a930fd1c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b7d1c)
                                                  #5  0x00007f09a9124e12 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcce12)
                                                  #6  0x00007f09aa8de509 n/a (libQt5Qml.so.5 + 0x329509)
                                                  #7  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #8  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #9  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1237:
                                                  #0  0x00007f09a8d67b2f __poll (libc.so.6 + 0xf3b2f)
                                                  #1  0x00007f09a76d7b29 n/a (libglib-2.0.so.0 + 0xa7b29)
                                                  #2  0x00007f09a7681871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871)
                                                  #3  0x00007f09a9369fd6 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x311fd6)
                                                  #4  0x00007f09a930fd1c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b7d1c)
                                                  #5  0x00007f09a9124e12 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcce12)
                                                  #6  0x00007f09aac3fe7b n/a (libQt5Quick.so.5 + 0x14be7b)
                                                  #7  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #8  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #9  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1476:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                                  #2  0x00007f09a912c000 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4000)
                                                  #3  0x00007f09a91294a8 n/a (libQt5Core.so.5 + 0xd14a8)
                                                  #4  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #5  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #6  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1470:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                                  #2  0x00007f09a912c000 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4000)
                                                  #3  0x00007f09a91294a8 n/a (libQt5Core.so.5 + 0xd14a8)
                                                  #4  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #5  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #6  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1477:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                                  #2  0x00007f09a912c000 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4000)
                                                  #3  0x00007f09a91294a8 n/a (libQt5Core.so.5 + 0xd14a8)
                                                  #4  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #5  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #6  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1475:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                                  #2  0x00007f09a912c000 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4000)
                                                  #3  0x00007f09a91294a8 n/a (libQt5Core.so.5 + 0xd14a8)
                                                  #4  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #5  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #6  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1240:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007f09a131e59c n/a (iris_dri.so + 0x1c659c)
                                                  #3  0x00007f09a13185f8 n/a (iris_dri.so + 0x1c05f8)
                                                  #4  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1479:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007f09ab3ca819 n/a (libxcb.so.1 + 0xc819)
                                                  #3  0x00007f09ab3cc45b xcb_wait_for_special_event (libxcb.so.1 + 0xe45b)
                                                  #4  0x00007f09a2c9c479 n/a (libGLX_mesa.so.0 + 0x4d479)
                                                  #5  0x00007f09a2c9c6ea n/a (libGLX_mesa.so.0 + 0x4d6ea)
                                                  #6  0x00007f09a2ca03ce n/a (libGLX_mesa.so.0 + 0x513ce)
                                                  #7  0x00007f09a2ca0891 n/a (libGLX_mesa.so.0 + 0x51891)
                                                  #8  0x00007f09a131f0a1 n/a (iris_dri.so + 0x1c70a1)
                                                  #9  0x00007f09a131a5d6 n/a (iris_dri.so + 0x1c25d6)
                                                  #10 0x00007f09a138075b n/a (iris_dri.so + 0x22875b)
                                                  #11 0x00007f09a1381eef n/a (iris_dri.so + 0x229eef)
                                                  #12 0x00007f09a13bc8e8 n/a (iris_dri.so + 0x2648e8)
                                                  #13 0x00007f09a13bcaee n/a (iris_dri.so + 0x264aee)
                                                  #14 0x00007f09aac9cb46 _ZN16QSGBatchRenderer8Renderer13renderBatchesEv (libQt5Quick.so.5 + 0x1a8b46)
                                                  #15 0x00007f09aac9d585 _ZN16QSGBatchRenderer8Renderer6renderEv (libQt5Quick.so.5 + 0x1a9585)
                                                  #16 0x00007f09aac84602 _ZN11QSGRenderer11renderSceneERK11QSGBindable (libQt5Quick.so.5 + 0x190602)
                                                  #17 0x00007f09aac84af4 _ZN11QSGRenderer11renderSceneEj (libQt5Quick.so.5 + 0x190af4)
                                                  #18 0x00007f09aaceadd3 _ZN23QSGDefaultRenderContext15renderNextFrameEP11QSGRendererj (libQt5Quick.so.5 + 0x1f6dd3)
                                                  #19 0x00007f09aad5ad81 _ZN19QQuickWindowPrivate16renderSceneGraphERK5QSizeS2_ (libQt5Quick.so.5 + 0x266d81)
                                                  #20 0x00007f09aacf9a67 n/a (libQt5Quick.so.5 + 0x205a67)
                                                  #21 0x00007f09aacfa447 n/a (libQt5Quick.so.5 + 0x206447)
                                                  #22 0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #23 0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #24 0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1152:
                                                  #0  0x00007f09a8d67b2f __poll (libc.so.6 + 0xf3b2f)
                                                  #1  0x00007f09ab3ca63b n/a (libxcb.so.1 + 0xc63b)
                                                  #2  0x00007f09ab3cc37b xcb_wait_for_event (libxcb.so.1 + 0xe37b)
                                                  #3  0x00007f09a423df21 n/a (libQt5XcbQpa.so.5 + 0x61f21)
                                                  #4  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #5  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #6  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1161:
                                                  #0  0x00007f09a8d67b2f __poll (libc.so.6 + 0xf3b2f)
                                                  #1  0x00007f09a76d7b29 n/a (libglib-2.0.so.0 + 0xa7b29)
                                                  #2  0x00007f09a7681871 g_main_context_iteration (libglib-2.0.so.0 + 0x51871)
                                                  #3  0x00007f09a9369fd6 _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQt5Core.so.5 + 0x311fd6)
                                                  #4  0x00007f09a930fd1c _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b7d1c)
                                                  #5  0x00007f09a9124e12 _ZN7QThread4execEv (libQt5Core.so.5 + 0xcce12)
                                                  #6  0x00007f09a9ca7ae8 n/a (libQt5DBus.so.5 + 0x15ae8)
                                                  #7  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #8  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #9  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1324:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d270 pthread_cond_wait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf270)
                                                  #2  0x00007f09a131e59c n/a (iris_dri.so + 0x1c659c)
                                                  #3  0x00007f09a13185f8 n/a (iris_dri.so + 0x1c05f8)
                                                  #4  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #5  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1310:
                                                  #0  0x00007f09a8d6a323 pselect (libc.so.6 + 0xf6323)
                                                  #1  0x00007f09a6ac5524 n/a (libusbmuxd-2.0.so.6 + 0x2524)
                                                  #2  0x00007f09a6ac68a9 n/a (libusbmuxd-2.0.so.6 + 0x38a9)
                                                  #3  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #4  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)

                                                  Stack trace of thread 1480:
                                                  #0  0x00007f09a81438ca __futex_abstimed_wait_common64 (libpthread.so.0 + 0x158ca)
                                                  #1  0x00007f09a813d574 pthread_cond_timedwait@@GLIBC_2.3.2 (libpthread.so.0 + 0xf574)
                                                  #2  0x00007f09a912c000 _ZN14QWaitCondition4waitEP6QMutex14QDeadlineTimer (libQt5Core.so.5 + 0xd4000)
                                                  #3  0x00007f09a91294a8 n/a (libQt5Core.so.5 + 0xd14a8)
                                                  #4  0x00007f09a9125fef n/a (libQt5Core.so.5 + 0xcdfef)
                                                  #5  0x00007f09a8137259 start_thread (libpthread.so.0 + 0x9259)
                                                  #6  0x00007f09a8d725e3 __clone (libc.so.6 + 0xfe5e3)
Comment 3 Mariusz Libera 2021-07-31 15:16:44 UTC
Happens to me too. Unmounting external USB HDD either from Dolphin or the plasmoid crashes Plasma. It does not crash when unmounting a pendrive.

Operating System: Arch Linux
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.13.6-arch1-1 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz
Memory: 7.6 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Comment 4 joey.joey586 2021-08-02 02:57:28 UTC
Same here. Plasma crashes when unmounting my 1TB USB HDD through either Dolphin or the plasmoid

Operating System: Arch Linux
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.10.54-1-lts (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-7200U CPU @ 2.50GHz
Memory: 11.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620
Comment 5 Leonardo Izzi 2021-08-19 16:55:18 UTC
Created attachment 140847 [details]
New crash information added by DrKonqi

plasmashell (5.22.4) using Qt 5.15.2

I was unmounting an external HDD from Dolphin and suddently Plasma crashed.

-- Backtrace (Reduced):
#6  std::__atomic_base<QThreadData*>::load (__m=std::memory_order_relaxed, this=<error reading variable: Cannot access memory at address 0x8>) at /usr/include/c++/11/bits/atomic_base.h:836
#7  std::atomic<QThreadData*>::load (__m=std::memory_order_relaxed, this=<error reading variable: Cannot access memory at address 0x8>) at /usr/include/c++/11/atomic:570
#8  QAtomicOps<QThreadData*>::loadRelaxed<QThreadData*> (_q_value=<error reading variable: Cannot access memory at address 0x8>) at /usr/include/qt5/QtCore/qatomic_cxx11.h:239
#9  QBasicAtomicPointer<QThreadData>::loadRelaxed (this=<error reading variable: Cannot access memory at address 0x8>) at /usr/include/qt5/QtCore/qbasicatomic.h:248
#10 QQmlNotifierEndpoint::connect (this=this@entry=0x564684666320, source=0x5646845ab670, sourceSignal=46, engine=0x0, doNotify=doNotify@entry=true) at /usr/src/debug/libqt5-qtdeclarative-5.15.2+kde29-1.2.x86_64/src/qml/qml/qqmlnotifier.cpp:122
Comment 6 Nate Graham 2021-08-31 18:09:28 UTC
Memory corruption somewhere...
Comment 7 Nate Graham 2021-08-31 19:46:31 UTC

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