Bug 390674 - plasmashell freeze as long as you have gnome-disks running after doing a sudo from it
Summary: plasmashell freeze as long as you have gnome-disks running after doing a sudo...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.12.3
Platform: Arch Linux Linux
: NOR minor
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-02-18 11:07 UTC by kolorafa
Modified: 2020-12-30 04:34 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kolorafa 2018-02-18 11:07:57 UTC
After getting the sudo prompt the plasmashell freezes until i close gnome-disks

https://youtu.be/036pSziFekM

I forgot to run dolphin in english for the video. I can redo if that would help.

Example:
Iso file > open with > writting images to disk > gnome-disks select disk > proceed > sudo prompt > plasmafreze and stays until gnome-disks running

Other apps and stuff working without problems. Plasmashells recovers and handles all queued events after unfreeze.

kernel: 4.15.3-2-ARCH
plasmashell: 5.12.1

This error exists for some time, I remember to hit it also in previous versions (i think 5.10 or earlier)
Comment 1 Patrick Silva 2018-02-18 12:59:53 UTC
plasma freezes on my Arch Linux when I use "restore disk image" feature from "hamburguer" menu to create a bootable pendrive.
Plasma unfreezes immediately when Gnome-disks is closed.
Comment 2 jeremy9856 2018-03-08 12:02:44 UTC
Plasma freeze here too when I restore an ISO to an usb drive in Gnome Disks.
I'm on Kubuntu with Plasma 5.12.3.
Comment 3 David Edmundson 2018-03-08 13:21:30 UTC
When you have a freeze, from a terminal can you run:

sudo gdb --pidof `plasmashell`

then when it loads type "thread apply all bt"

and paste the output here.
Comment 4 Patrick Silva 2018-03-08 13:54:52 UTC
now plasma freezes immediately when gnome-disks is opened here.

Thread 13 (Thread 0x7f88137fe700 (LWP 3666)):
#0  0x00007f88de2293bd in pthread_cond_wait@@GLIBC_2.3.2 ()
    at /usr/lib/libpthread.so.0
#1  0x00007f88df07002c in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/libQt5Core.so.5
#2  0x00007f8824f3142f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#3  0x00007f8824f36479 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007f8824f30924 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007f8824f364d2 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007f8824f30924 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007f8824f33c83 in ThreadWeaver::Thread::run() ()
    at /usr/lib/libKF5ThreadWeaver.so.5
#8  0x00007f88df06eb4d in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f88de22308c in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f88de976e7f in clone () at /usr/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 12 (Thread 0x7f8811ab3700 (LWP 3663)):
#0  0x00007f88de2293bd in pthread_cond_wait@@GLIBC_2.3.2 ()
    at /usr/lib/libpthread.so.0
#1  0x00007f88df07002c in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/libQt5Core.so.5
#2  0x00007f8824f3142f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#3  0x00007f8824f36479 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007f8824f30924 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007f8824f364d2 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007f8824f30924 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007f8824f364d2 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#8  0x00007f8824f30924 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#9  0x00007f8824f33c83 in ThreadWeaver::Thread::run() ()
    at /usr/lib/libKF5ThreadWeaver.so.5
---Type <return> to continue, or q <return> to quit---
#10 0x00007f88df06eb4d in  () at /usr/lib/libQt5Core.so.5
#11 0x00007f88de22308c in start_thread () at /usr/lib/libpthread.so.0
#12 0x00007f88de976e7f in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f8813fff700 (LWP 3662)):
#0  0x00007f88de2293bd in pthread_cond_wait@@GLIBC_2.3.2 ()
    at /usr/lib/libpthread.so.0
#1  0x00007f88df07002c in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/libQt5Core.so.5
#2  0x00007f8824f3142f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#3  0x00007f8824f36479 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007f8824f30924 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007f8824f364d2 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007f8824f30924 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007f8824f33c83 in ThreadWeaver::Thread::run() ()
    at /usr/lib/libKF5ThreadWeaver.so.5
---Type <return> to continue, or q <return> to quit---
#8  0x00007f88df06eb4d in  () at /usr/lib/libQt5Core.so.5
#9  0x00007f88de22308c in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007f88de976e7f in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f8818a61700 (LWP 3661)):
#0  0x00007f88de2293bd in pthread_cond_wait@@GLIBC_2.3.2 ()
    at /usr/lib/libpthread.so.0
#1  0x00007f88df07002c in QWaitCondition::wait(QMutex*, unsigned long) ()
    at /usr/lib/libQt5Core.so.5
#2  0x00007f8824f3142f in ThreadWeaver::Weaver::takeFirstAvailableJobOrSuspendOrWait(ThreadWeaver::Thread*, bool, bool, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#3  0x00007f8824f36479 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#4  0x00007f8824f30924 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#5  0x00007f8824f364d2 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#6  0x00007f8824f30924 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#7  0x00007f8824f364d2 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#8  0x00007f8824f30924 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, boo---Type <return> to continue, or q <return> to quit---
l) () at /usr/lib/libKF5ThreadWeaver.so.5
#9  0x00007f8824f364d2 in  () at /usr/lib/libKF5ThreadWeaver.so.5
#10 0x00007f8824f30924 in ThreadWeaver::Weaver::applyForWork(ThreadWeaver::Thread*, bool) () at /usr/lib/libKF5ThreadWeaver.so.5
#11 0x00007f8824f33c83 in ThreadWeaver::Thread::run() ()
    at /usr/lib/libKF5ThreadWeaver.so.5
#12 0x00007f88df06eb4d in  () at /usr/lib/libQt5Core.so.5
#13 0x00007f88de22308c in start_thread () at /usr/lib/libpthread.so.0
#14 0x00007f88de976e7f in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f88028d6700 (LWP 2284)):
#0  0x00007f88de96c97b in poll () at /usr/lib/libc.so.6
#1  0x00007f88d9204ff3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f88d920510e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f88df2b82f1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f88df25a3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#5  0x00007f88df0697ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#6  0x00007f88df06eb4d in  () at /usr/lib/libQt5Core.so.5
#7  0x00007f88de22308c in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f88de976e7f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f8819262700 (LWP 2275)):
#0  0x00007f88de96c97b in poll () at /usr/lib/libc.so.6
#1  0x00007f88d9204ff3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f88d920510e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f88d9205162 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f88d922d26a in  () at /usr/lib/libglib-2.0.so.0
#5  0x00007f88de22308c in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f88de976e7f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f882cc73700 (LWP 2270)):
#0  0x00007f88de96c97b in poll () at /usr/lib/libc.so.6
#1  0x00007f88d9204ff3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f88d920510e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f88df2b82f1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#4  0x00007f88df25a3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#5  0x00007f88df0697ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f88e2e3e50b in  () at /usr/lib/libQt5Quick.so.5
#7  0x00007f88df06eb4d in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f88de22308c in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f88de976e7f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f88bb39c700 (LWP 2268)):
#0  0x00007f88de2293bd in pthread_cond_wait@@GLIBC_2.3.2 ()
    at /usr/lib/libpthread.so.0
#1  0x00007f88e4b9bf77 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f88e4b9bfb9 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f88de22308c in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f88de976e7f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f88c5322700 (LWP 2261)):
#0  0x00007f88de96c97b in poll () at /usr/lib/libc.so.6
#1  0x00007f88d9204ff3 in  () at /usr/lib/libglib-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#2  0x00007f88d920510e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f88df2b82f1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f88df25a3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#5  0x00007f88df0697ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f88e2280379 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f88df06eb4d in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f88de22308c in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f88de976e7f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f88c6db9700 (LWP 2186)):
#0  0x00007f88de96c97b in poll () at /usr/lib/libc.so.6
#1  0x00007f88d9204ff3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f88d920510e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f88df2b82f1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f88df25a3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#5  0x00007f88df0697ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f88e2280379 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f88df06eb4d in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f88de22308c in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f88de976e7f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f88cc87b700 (LWP 2157)):
#0  0x00007f88de96c97b in poll () at /usr/lib/libc.so.6
#1  0x00007f88d9204ff3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f88d920510e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f88df2b82f1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f88df25a3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#5  0x00007f88df0697ae in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f88df6db416 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f88df06eb4d in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f88de22308c in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f88de976e7f in clone () at /usr/lib/libc.so.6
---Type <return> to continue, or q <return> to quit---

Thread 2 (Thread 0x7f88cec63700 (LWP 2152)):
#0  0x00007f88de96c97b in poll () at /usr/lib/libc.so.6
#1  0x00007f88e3a918e0 in  () at /usr/lib/libxcb.so.1
#2  0x00007f88e3a93679 in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007f88d13eb82a in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007f88df06eb4d in  () at /usr/lib/libQt5Core.so.5
#5  0x00007f88de22308c in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007f88de976e7f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f88e54d2800 (LWP 2136)):
#0  0x00007f88de8fee50 in malloc_consolidate () at /usr/lib/libc.so.6
#1  0x00007f88de901a58 in _int_malloc () at /usr/lib/libc.so.6
#2  0x00007f88de90347a in malloc () at /usr/lib/libc.so.6
#3  0x00007f88df070364 in QArrayData::allocate(unsigned long, unsigned long, unsigned long, QFlags<QArrayData::AllocationOption>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f88e1a91e16 in  () at /usr/lib/libKF5Service.so.5
#5  0x00007f88e1a92c0e in  () at /usr/lib/libKF5Service.so.5
#6  0x00007f88e1a8eac7 in  () at /usr/lib/libKF5Service.so.5
---Type <return> to continue, or q <return> to quit---
#7  0x00007f88e1a8ebe4 in KService::KService(QDataStream&, int) ()
    at /usr/lib/libKF5Service.so.5
#8  0x00007f88e1a96fb7 in KServiceFactory::createEntry(int) const ()
    at /usr/lib/libKF5Service.so.5
#9  0x00007f88e1a97ffb in KServiceFactory::serviceOffers(int, int) ()
    at /usr/lib/libKF5Service.so.5
#10 0x00007f88e1aab3d9 in KServiceTypeTrader::defaultOffers(QString const&, QString const&) const () at /usr/lib/libKF5Service.so.5
#11 0x00007f88e1aabcea in KServiceTypeTrader::query(QString const&, QString const&) const () at /usr/lib/libKF5Service.so.5
#12 0x00007f8822c818c3 in TaskManager::windowUrlFromMetadata(QString const&, unsigned int, QExplicitlySharedDataPointer<KSharedConfig>, QString const&) ()
    at /usr/lib/libtaskmanager.so.6
#13 0x00007f8822c8fa49 in TaskManager::XWindowTasksModel::Private::windowUrl(unsigned long long) () at /usr/lib/libtaskmanager.so.6
#14 0x00007f8822c8fd31 in TaskManager::XWindowTasksModel::Private::appData(unsigned long long) () at /usr/lib/libtaskmanager.so.6
#15 0x00007f8822c925b1 in TaskManager::XWindowTasksModel::data(QModelIndex const&, int) const () at /usr/lib/libtaskmanager.so.6
---Type <return> to continue, or q <return> to quit---
#16 0x00007f88df203ef8 in QAbstractProxyModel::data(QModelIndex const&, int) const ()
    at /usr/lib/libQt5Core.so.5
#17 0x00007f882633112b in KConcatenateRowsProxyModel::data(QModelIndex const&, int) const () at /usr/lib/libKF5ItemModels.so.5
#18 0x00007f88df21b739 in QSortFilterProxyModel::data(QModelIndex const&, int) const () at /usr/lib/libQt5Core.so.5
#19 0x00007f8822c6d15b in TaskManager::TaskGroupingProxyModel::data(QModelIndex const&, int) const () at /usr/lib/libtaskmanager.so.6
#20 0x00007f8822c6fe38 in  () at /usr/lib/libtaskmanager.so.6
#21 0x00007f88df222732 in  () at /usr/lib/libQt5Core.so.5
#22 0x00007f88df224a40 in  () at /usr/lib/libQt5Core.so.5
#23 0x00007f88df28c6c6 in QMetaObject::activate(QObject*, int, int, void**) ()
    at /usr/lib/libQt5Core.so.5
#24 0x00007f88df1f4ccd in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
#25 0x00007f8822c6a4b6 in TaskManager::TaskGroupingProxyModel::Private::sourceDataChanged(QModelIndex, QModelIndex, QVector<int> const&) () at /usr/lib/libtaskmanager.so.6
#26 0x00007f8822c6e06e in  () at /usr/lib/libtaskmanager.so.6
#27 0x00007f88df28c6c6 in QMetaObject::activate(QObject*, int, int, void**) ()
---Type <return> to continue, or q <return> to quit---
    at /usr/lib/libQt5Core.so.5
#28 0x00007f88df1f4ccd in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
#29 0x00007f88df222d33 in  () at /usr/lib/libQt5Core.so.5
#30 0x00007f88df224a40 in  () at /usr/lib/libQt5Core.so.5
#31 0x00007f88df28c6c6 in QMetaObject::activate(QObject*, int, int, void**) ()
    at /usr/lib/libQt5Core.so.5
#32 0x00007f88df1f4ccd in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
#33 0x00007f8826331e37 in  () at /usr/lib/libKF5ItemModels.so.5
#34 0x00007f88df28c6c6 in QMetaObject::activate(QObject*, int, int, void**) ()
    at /usr/lib/libQt5Core.so.5
#35 0x00007f88df1f4ccd in QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
#36 0x00007f88df217042 in  () at /usr/lib/libQt5Core.so.5
#37 0x00007f88df218d48 in  () at /usr/lib/libQt5Core.so.5
#38 0x00007f88df28c6c6 in QMetaObject::activate(QObject*, int, int, void**) ()
    at /usr/lib/libQt5Core.so.5
#39 0x00007f88df1f4ccd in QAbstractItemModel::dataChanged(QModelIndex const&, QModelInd---Type <return> to continue, or q <return> to quit---
ex const&, QVector<int> const&) () at /usr/lib/libQt5Core.so.5
#40 0x00007f8822c8baf7 in TaskManager::XWindowTasksModel::Private::dataChanged(unsigned long long, QVector<int> const&) () at /usr/lib/libtaskmanager.so.6
#41 0x00007f8822c8f1b3 in TaskManager::XWindowTasksModel::Private::windowChanged(unsigned long long, QFlags<NET::Property>, QFlags<NET::Property2>) ()
    at /usr/lib/libtaskmanager.so.6
#42 0x00007f88df28c7ef in QMetaObject::activate(QObject*, int, int, void**) ()
    at /usr/lib/libQt5Core.so.5
#43 0x00007f88e1d6060c in KWindowSystem::windowChanged(unsigned long long, QFlags<NET::Property>, QFlags<NET::Property2>) () at /usr/lib/libKF5WindowSystem.so.5
#44 0x00007f88c71d9012 in  ()
    at /usr/lib/qt/plugins/kf5/org.kde.kwindowsystem.platforms/KF5WindowSystemX11Plugin.so
#45 0x00007f88df258e0f in QAbstractEventDispatcher::filterNativeEvent(QByteArray const&, void*, long*) () at /usr/lib/libQt5Core.so.5
#46 0x00007f88d13ed3f2 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) ()
    at /usr/lib/libQt5XcbQpa.so.5
#47 0x00007f88d13ee07e in QXcbConnection::processXcbEvents() ()
    at /usr/lib/libQt5XcbQpa.so.5
---Type <return> to continue, or q <return> to quit---
#48 0x00007f88df28d112 in QObject::event(QEvent*) () at /usr/lib/libQt5Core.so.5
#49 0x00007f88e0263fec in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
#50 0x00007f88e026b9c6 in QApplication::notify(QObject*, QEvent*) ()
    at /usr/lib/libQt5Widgets.so.5
#51 0x00007f88df25bda0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
    at /usr/lib/libQt5Core.so.5
#52 0x00007f88df25ea06 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt5Core.so.5
#53 0x00007f88df2b8d04 in  () at /usr/lib/libQt5Core.so.5
#54 0x00007f88d9204e38 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#55 0x00007f88d9205081 in  () at /usr/lib/libglib-2.0.so.0
#56 0x00007f88d920510e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#57 0x00007f88df2b82f1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#58 0x00007f88d1473482 in  () at /usr/lib/libQt5XcbQpa.so.5
#59 0x00007f88df25a3db in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
    at /usr/lib/libQt5Core.so.5
#60 0x00007f88df2637d8 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#61 0x000055cf5e920743 in  ()
#62 0x00007f88de8a1f4a in __libc_start_main () at /usr/lib/libc.so.6
#63 0x000055cf5e920afa in _start ()
Comment 5 David Edmundson 2018-03-08 14:05:47 UTC
That main thread isn't blocked in that trace 

Are you sure it was frozen when you ran that?

Can you run " qdbus org.kde.plasmashell "
 and tell me if that returns something or blocks.
Comment 6 jeremy9856 2018-03-08 14:49:59 UTC
(In reply to David Edmundson from comment #3)
> When you have a freeze, from a terminal can you run:
> 
> sudo gdb --pidof `plasmashell`
> 
> then when it loads type "thread apply all bt"
> 
> and paste the output here.

Well when it freeze and I type sudo gdb --pidof `plasmashell` nothing seem to happen. Does it take a long time ? 

I noticed that plasmashell consume almost 100% cpu as soon as the root password popup appear and that's the moment where is become unresponsive.
Comment 7 David Edmundson 2018-03-08 14:57:05 UTC
So potentially not blocked, but in a loop.
Comment 8 Patrick Silva 2018-03-08 15:41:52 UTC
(In reply to David Edmundson from comment #5)
> That main thread isn't blocked in that trace 
> 
> Are you sure it was frozen when you ran that?
> 
> Can you run " qdbus org.kde.plasmashell "
>  and tell me if that returns something or blocks.

humm, I noticed that plasma is not completelly frozen when gnome-disks is opened, but panel takes some seconds to react to mouse clicks.
When I run gdb while a ISO file is restored I can not run bt command because gdb prompt is not available even that plasma is completelly frozen and unresponsive to mouse clicks during and after ISO restoring process.


" qdbus org.kde.plasmashell " gave me these messages while gnome-disks is restoring the ISO file


/
/DataEngine
/DataEngine/applicationjobs
/DataEngine/applicationjobs/JobWatcher
/FileUndoManager
/MainApplication
/PlasmaShell
/Unity
/klipper
/org
/org/freedesktop
/org/freedesktop/Notifications
/org/kde
/org/kde/osdService
/org/kde/plasmashell
Comment 9 Alexander Mentyu 2018-03-12 14:56:28 UTC
Plasma freezes after start restoring iso into flashdrive, Alt+Tab keys are working, sudo gdb --pidof `plasmashell` command hangs in terminal without any output, plasmashell process eats 100% CPU

Plasma: 5.12.2
Apps: 17.12.2
Frameworks: 5.43.0
Qt: 5.10.1
Kernel: 4.14.25-1-MANJARO
OS: Netrunner Rolling


qdbus org.kde.plasmashell
/
/DataEngine
/DataEngine/applicationjobs
/DataEngine/applicationjobs/JobWatcher
/FileUndoManager
/MainApplication
/PlasmaShell
/Unity
/klipper
/org
/org/freedesktop
/org/freedesktop/Notifications
/org/kde
/org/kde/osdService
/org/kde/plasmashell

when Plasma frozen - output of qdbus org.kde.plasmashell command was just:

/
/DataEngine
/DataEngine/applicationjobs
/DataEngine/applicationjobs/JobWatcher

without subsequent shell prompt
Comment 10 kolorafa 2018-03-18 18:04:15 UTC
same here:
$ qdbus org.kde.plasmashell
/
/DataEngine
/DataEngine/applicationjobs
/DataEngine/applicationjobs/JobWatcher

STUCK AT THIS LINE UNTIL I CLOSED DISKS

/FileUndoManager
/MainApplication
/PlasmaShell
/Unity
/klipper
/org
/org/freedesktop
/org/freedesktop/Notifications
/org/kde
/org/kde/osdService
/org/kde/plasmashell


sudo gdb attach $(pidof plasmashell) -ex cont
ctrl+c > thread apply all bt
https://pastebin.com/dQmY7DqT

btw, my trace is a mess, because I did try to install newest plasmashell from AUR to try "fix" for https://bugs.kde.org/show_bug.cgi?id=390676 but i didn't finish with success.
Comment 11 Patrick Silva 2018-03-24 19:08:11 UTC
I just updated to gnome-disks 3.28 on Arch Linux.
Plasma freezes completely (clicks on panel and desktop have no effect) while gnome-disks restores an ISO file to a pendrive.
Now plasma not even unfreezes when the procedure is completed and gnome-disks closed. I needed to restart my plasma session to use plasma again.
Comment 12 Justin Zobel 2020-11-30 00:57:38 UTC
I've just tested this restoring an ISO to a USB drive and my Plasmas hasn't locked at all.

Can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I've set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved" when you respond, thanks.
Comment 13 Bug Janitor Service 2020-12-15 04:34:03 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 14 Bug Janitor Service 2020-12-30 04:34:24 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!