Bug 386499

Summary: plasma crashed after unmounting a usb key
Product: [Frameworks and Libraries] frameworks-solid Reporter: alfakorp <alfacorp>
Component: generalAssignee: Lukáš Tinkl <lukas>
Status: RESOLVED FIXED    
Severity: crash CC: heinz.weiser, kdelibs-bugs, nate, plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.26.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: attachment-19993-0.html

Description alfakorp 2017-11-03 17:10:23 UTC
Application: plasmashell (5.8.6)

Qt Version: 5.6.1
Frameworks Version: 5.26.0
Operating System: Linux 4.4.92-18.36-default x86_64
Distribution: "openSUSE Leap 42.2"

-- Information about the crash:
- What I was doing when the application crashed:
unmounting a USB key using the widget devices notifier. The Device is a SandDisk U3.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2ae895d900 (LWP 2435))]

Thread 9 (Thread 0x7f2a10b9e700 (LWP 3340)):
#0  0x00007f2ad7482fb0 in  () at /usr/lib64/pulseaudio/libpulsecommon-9.0.so
#1  0x00007f2ad748384a in  () at /usr/lib64/pulseaudio/libpulsecommon-9.0.so
#2  0x00007f2ad7aeda14 in pa_mainloop_dispatch () at /usr/lib64/libpulse.so.0
#3  0x00007f2ad7aeddea in pa_mainloop_iterate () at /usr/lib64/libpulse.so.0
#4  0x00007f2ad7aede90 in pa_mainloop_run () at /usr/lib64/libpulse.so.0
#5  0x00007f2ad7afc006 in  () at /usr/lib64/libpulse.so.0
#6  0x00007f2ad7493408 in  () at /usr/lib64/pulseaudio/libpulsecommon-9.0.so
#7  0x00007f2ae1682744 in start_thread () at /lib64/libpthread.so.0
#8  0x00007f2ae1e81aad in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7f2a11edf700 (LWP 3339)):
#0  0x00007f2ae1e7528d in read () at /lib64/libc.so.6
#1  0x00007f2ade581670 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f2ade540e49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f2ade5412a8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f2ade54142c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f2ae278633b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f2ae2733feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f2ae256ef1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f2ae587c9d8 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f2ae25739e9 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f2ae1682744 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f2ae1e81aad in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7f2a24d4e700 (LWP 2910)):
#0  0x00007f2ae1e7528d in read () at /lib64/libc.so.6
#1  0x00007f2ade581670 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f2ade540e49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f2ade5412a8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f2ade54142c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f2ae278633b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f2ae2733feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f2ae256ef1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f2a261778f7 in KCupsConnection::run() () at /usr/lib64/libkcupslib.so
#9  0x00007f2ae25739e9 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f2ae1682744 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f2ae1e81aad in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7f2a3051b700 (LWP 2894)):
#0  0x00007f2ae1e8deff in __libc_enable_asynccancel () at /lib64/libc.so.6
#1  0x00007f2ae1e79202 in poll () at /lib64/libc.so.6
#2  0x00007f2ade541314 in  () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f2ade54142c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f2ae278633b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f2ae2733feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f2ae256ef1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#7  0x00007f2ae63ff632 in  () at /usr/lib64/libQt5Quick.so.5
#8  0x00007f2ae25739e9 in  () at /usr/lib64/libQt5Core.so.5
#9  0x00007f2ae1682744 in start_thread () at /lib64/libpthread.so.0
#10 0x00007f2ae1e81aad in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7f2abefb8700 (LWP 2892)):
#0  0x00007f2ae16870bf in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007f2ae804693b in  () at /usr/lib64/libQt5Script.so.5
#2  0x00007f2ae8046969 in  () at /usr/lib64/libQt5Script.so.5
#3  0x00007f2ae1682744 in start_thread () at /lib64/libpthread.so.0
#4  0x00007f2ae1e81aad in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7f2ac4c98700 (LWP 2849)):
#0  0x00007f2ae1e7528d in read () at /lib64/libc.so.6
#1  0x00007f2ade581670 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f2ade540e49 in g_main_context_check () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f2ade5412a8 in  () at /usr/lib64/libglib-2.0.so.0
#4  0x00007f2ade54142c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#5  0x00007f2ae278633b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#6  0x00007f2ae2733feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#7  0x00007f2ae256ef1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#8  0x00007f2ae587c9d8 in  () at /usr/lib64/libQt5Qml.so.5
#9  0x00007f2ae25739e9 in  () at /usr/lib64/libQt5Core.so.5
#10 0x00007f2ae1682744 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f2ae1e81aad in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7f2ac64e4700 (LWP 2538)):
#0  0x00007f2ae1e7920d in poll () at /lib64/libc.so.6
#1  0x00007f2ade541314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f2ade54142c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f2ae278633b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f2ae2733feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f2ae256ef1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f2ae587c9d8 in  () at /usr/lib64/libQt5Qml.so.5
#7  0x00007f2ae25739e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f2ae1682744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f2ae1e81aad in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f2ad5aff700 (LWP 2444)):
#0  0x00007f2ae1e7920d in poll () at /lib64/libc.so.6
#1  0x00007f2ade541314 in  () at /usr/lib64/libglib-2.0.so.0
#2  0x00007f2ade54142c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#3  0x00007f2ae278633b in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#4  0x00007f2ae2733feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#5  0x00007f2ae256ef1a in QThread::exec() () at /usr/lib64/libQt5Core.so.5
#6  0x00007f2ae32ef295 in  () at /usr/lib64/libQt5DBus.so.5
#7  0x00007f2ae25739e9 in  () at /usr/lib64/libQt5Core.so.5
#8  0x00007f2ae1682744 in start_thread () at /lib64/libpthread.so.0
#9  0x00007f2ae1e81aad in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f2ae895d900 (LWP 2435)):
[KCrash Handler]
#6  0x00007f2ae7c33144 in Solid::StorageAccess::filePath() const () at /usr/lib64/libKF5Solid.so.5
#7  0x00007f2a1e94f34d in  () at /usr/lib64/qt5/plugins/plasma/dataengine/plasma_engine_devicenotifications.so
#8  0x00007f2ae27601d3 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#9  0x00007f2ae7c8cb9b in Solid::OpticalDrive::ejectDone(Solid::ErrorType, QVariant, QString const&) () at /usr/lib64/libKF5Solid.so.5
#10 0x00007f2ae7c90d73 in  () at /usr/lib64/libKF5Solid.so.5
#11 0x00007f2ae275fbc1 in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib64/libQt5Core.so.5
#12 0x00007f2ae7c8c0ab in  () at /usr/lib64/libKF5Solid.so.5
#13 0x00007f2ae7c76fe1 in  () at /usr/lib64/libKF5Solid.so.5
#14 0x00007f2ae7c8ff7f in  () at /usr/lib64/libKF5Solid.so.5
#15 0x00007f2ae7c94c83 in  () at /usr/lib64/libKF5Solid.so.5
#16 0x00007f2ae32fa5cc in  () at /usr/lib64/libQt5DBus.so.5
#17 0x00007f2ae2761176 in QObject::event(QEvent*) () at /usr/lib64/libQt5Core.so.5
#18 0x00007f2ae36bee3c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#19 0x00007f2ae36c349a in QApplication::notify(QObject*, QEvent*) () at /usr/lib64/libQt5Widgets.so.5
#20 0x00007f2ae2735fd5 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib64/libQt5Core.so.5
#21 0x00007f2ae2737dba in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib64/libQt5Core.so.5
#22 0x00007f2ae2786c93 in  () at /usr/lib64/libQt5Core.so.5
#23 0x00007f2ade541134 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#24 0x00007f2ade541388 in  () at /usr/lib64/libglib-2.0.so.0
#25 0x00007f2ade54142c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#26 0x00007f2ae278631c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#27 0x00007f2ae2733feb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#28 0x00007f2ae273bed6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#29 0x000000000041ee0f in  ()
#30 0x00007f2ae1db86e5 in __libc_start_main () at /lib64/libc.so.6
#31 0x000000000041f079 in _start ()

Reported using DrKonqi
Comment 1 Christoph Feck 2017-11-24 01:31:24 UTC
*** Bug 384248 has been marked as a duplicate of this bug. ***
Comment 2 Nate Graham 2020-11-25 00:01:34 UTC
KCrash Handler]
#6  0x00007f2ae7c33144 in Solid::StorageAccess::filePath() const () at /usr/lib64/libKF5Solid.so.5
#7  0x00007f2a1e94f34d in  () at /usr/lib64/qt5/plugins/plasma/dataengine/plasma_engine_devicenotifications.so

Are you able to reproduce this issue in the latest Plasma version?
Comment 3 Heinz 2020-11-25 06:36:08 UTC
Created attachment 133627 [details]
attachment-19993-0.html

Sorry, no I'm not able to reproduce this issue.



-------- Weitergeleitete Nachricht --------

Datum: Wed, 25 Nov 2020 00:01:34 +0000
Betreff: [frameworks-solid] [Bug 386499] plasma crashed after unmounting a usb
key
An: heinz.weiser@hotmail.de
Reply-to: bug-control@kde.org
Von: Nate Graham <bugzilla_noreply@kde.org>
https://bugs.kde.org/show_bug.cgi?id=386499

Nate Graham <nate@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Product|plasmashell                 |frameworks-solid
             Status|REPORTED                    |NEEDSINFO
                 CC|                            |kdelibs-bugs@kde.org,
                   |                            |nate@kde.org
   Target Milestone|1.0                         |---
          Component|Device Notifier             |general
           Assignee|plasma-bugs@kde.org         |lukas@kde.org
         Resolution|---                         |WAITINGFORINFO
            Version|5.8.6                       |5.26.0

--- Comment #2 from Nate Graham <nate@kde.org> ---
KCrash Handler]
#6  0x00007f2ae7c33144 in Solid::StorageAccess::filePath() const () at
/usr/lib64/libKF5Solid.so.5
#7  0x00007f2a1e94f34d in  () at
/usr/lib64/qt5/plugins/plasma/dataengine/plasma_engine_devicenotifications.so

Are you able to reproduce this issue in the latest Plasma version?
Comment 4 Nate Graham 2020-11-28 04:14:46 UTC
Great, thanks!