Bug 426395 - Unwanted drive mounting prompt at startup, and systemsettings not responding when accessing "Removable devices"
Summary: Unwanted drive mounting prompt at startup, and systemsettings not responding ...
Status: RESOLVED WORKSFORME
Alias: None
Product: systemsettings
Classification: Applications
Component: kcm_deviceautomounter (other bugs)
Version First Reported In: 5.19.5
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Torrie Fischer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-11 07:25 UTC by Octave Larose
Modified: 2023-10-14 03:46 UTC (History)
2 users (show)

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


Attachments
The prompt I see when I boot up my machine (43.87 KB, image/jpeg)
2020-09-11 07:25 UTC, Octave Larose
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Octave Larose 2020-09-11 07:25:18 UTC
Created attachment 131555 [details]
The prompt I see when I boot up my machine

SUMMARY
I use a dual boot setup and mounted my Windows drive a few weeks back to fetch a document on it. I may have forgotten to unmount it before turning off my PC, I forgot.
After this, every time I've started my Plasma session, a prompt has asked me to enter my password so that I can successfully mount the drive. However, even when I enter it, I don't believe it gets mounted at all, and it shouldn't want to mount it in the first place.
I say it's a systemsettings bug because I assume I'm supposed to be able to change this from the "Removable devices" in the "Removable storage" tab in my system settings, but whenever I try accessing it, systemsettings uses 100% of my CPU and the app stops responding.

STEPS TO REPRODUCE
1. Mount a drive (maybe only a Microsoft basic data one)
2. Reboot
3. Get drive mounting prompt at startup
4. systemsettings stops responding when accessing the "Removable devices" page

OBSERVED RESULT
A needless prompt at startup to mount a drive

EXPECTED RESULT
Not seeing this prompt, and/or systemsettings allowing me to access the "Removable devices" page

SOFTWARE/OS VERSIONS
Operating System: Arch Linux
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.73.0
Qt Version: 5.15.0
Kernel Version: 5.8.7-arch1-1
OS Type: 64-bit
Processors: 4 × Intel® Core™ i7-7500U CPU @ 2.70GHz
Memory: 7.7 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 620

ADDITIONAL INFORMATION
Comment 1 2wxsy58236r3 2020-09-12 07:08:47 UTC
Do you have any backtrace available? Any error messages if you run `systemsettings5` in a terminal?

Steps to get backtrace:
1. `gdb systemsettings5`
2. At the GDB prompt, enter `run`
3. Access the "Removable devices" page (Reproduce the freeze)
4. Switch to GDB terminal and press CTRL+Z
5. At the GDB prompt, enter `thread apply all backtrace`, then press Enter repeatedly until there is no further output.

(Reference: https://community.kde.org/Dolphin/FAQ/Freeze)
Comment 2 Octave Larose 2020-09-12 08:04:54 UTC
(gdb) thread apply all backtrace

Thread 13 (Thread 0x7fffc4fb2640 (LWP 2599)):
#0  0x00007ffff63bc46f in poll () at /usr/lib/libc.so.6
#1  0x00007ffff4676168 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff4627221 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff6977311 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ffff691d11c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5                                                                        
#5  0x00007ffff6738c32 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ffff5a17789 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007ffff6739e0f in  () at /usr/lib/libQt5Core.so.5
#8  0x00007ffff507a3e9 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ffff63c7293 in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7fffc6ffd640 (LWP 2598)):
#0  0x00007ffff63bc46f in poll () at /usr/lib/libc.so.6
#1  0x00007ffff4676168 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff4627221 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff6977311 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ffff691d11c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5                                                                        
#5  0x00007ffff6738c32 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ffff5a17789 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007ffff6739e0f in  () at /usr/lib/libQt5Core.so.5
#8  0x00007ffff507a3e9 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ffff63c7293 in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7fffc77fe640 (LWP 2597)):
#0  0x00007ffff50809c8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffff673fe08 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5                                                                                  
#2  0x00007ffff673e084 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ffff6739e0f in  () at /usr/lib/libQt5Core.so.5
#4  0x00007ffff507a3e9 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007ffff63c7293 in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7fffc7fff640 (LWP 2596)):
#0  0x00007ffff50809c8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffff673fe08 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5                                                                                  
#2  0x00007ffff673e084 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ffff6739e0f in  () at /usr/lib/libQt5Core.so.5
#4  0x00007ffff507a3e9 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007ffff63c7293 in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7fffdcadb640 (LWP 2595)):
#0  0x00007ffff50809c8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffff673fe08 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5                                                                                  
#2  0x00007ffff673e084 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ffff6739e0f in  () at /usr/lib/libQt5Core.so.5
#4  0x00007ffff507a3e9 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007ffff63c7293 in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7fffdd2dc640 (LWP 2594)):
#0  0x00007ffff50809c8 in pthread_cond_timedwait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007ffff673fe08 in QWaitCondition::wait(QMutex*, QDeadlineTimer) () at /usr/lib/libQt5Core.so.5                                                                                  
#2  0x00007ffff673e084 in  () at /usr/lib/libQt5Core.so.5
#3  0x00007ffff6739e0f in  () at /usr/lib/libQt5Core.so.5
#4  0x00007ffff507a3e9 in start_thread () at /usr/lib/libpthread.so.0
#5  0x00007ffff63c7293 in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7fffdebe4640 (LWP 2593)):
#0  0x00007ffff50806a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fffea2e3e3c in  () at /usr/lib/dri/iris_dri.so
#2  0x00007fffea2e2838 in  () at /usr/lib/dri/iris_dri.so
#3  0x00007ffff507a3e9 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffff63c7293 in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7fffe8a19640 (LWP 2592)):
#0  0x00007ffff50806a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fffea2e3e3c in  () at /usr/lib/dri/iris_dri.so
#2  0x00007fffea2e2838 in  () at /usr/lib/dri/iris_dri.so
#3  0x00007ffff507a3e9 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffff63c7293 in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7fffe921a640 (LWP 2591)):
#0  0x00007ffff50806a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fffea2e3e3c in  () at /usr/lib/dri/iris_dri.so
#2  0x00007fffea2e2838 in  () at /usr/lib/dri/iris_dri.so
#3  0x00007ffff507a3e9 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffff63c7293 in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7fffe9a1b640 (LWP 2590)):
#0  0x00007ffff50806a2 in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007fffea2e3e3c in  () at /usr/lib/dri/iris_dri.so
#2  0x00007fffea2e2838 in  () at /usr/lib/dri/iris_dri.so
#3  0x00007ffff507a3e9 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007ffff63c7293 in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7ffff0a1b640 (LWP 2589)):
#0  0x00007ffff63bc46f in poll () at /usr/lib/libc.so.6
#1  0x00007ffff4676168 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007ffff4627221 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007ffff6977311 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007ffff691d11c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5                                                                        
#5  0x00007ffff6738c32 in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007ffff6bd3098 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007ffff6739e0f in  () at /usr/lib/libQt5Core.so.5
#8  0x00007ffff507a3e9 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007ffff63c7293 in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7ffff18f9640 (LWP 2588)):
#0  0x00007ffff63bc46f in poll () at /usr/lib/libc.so.6
#1  0x00007ffff503963b in  () at /usr/lib/libxcb.so.1
#2  0x00007ffff503b37b in xcb_wait_for_event () at /usr/lib/libxcb.so.1
#3  0x00007ffff1b29c51 in  () at /usr/lib/libQt5XcbQpa.so.5
#4  0x00007ffff6739e0f in  () at /usr/lib/libQt5Core.so.5
#5  0x00007ffff507a3e9 in start_thread () at /usr/lib/libpthread.so.0
#6  0x00007ffff63c7293 in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7ffff1f742c0 (LWP 2583)):
#0  0x00007ffff63b7efc in read () at /usr/lib/libc.so.6
#1  0x00007ffff687a6d6 in  () at /usr/lib/libQt5Core.so.5
#2  0x00007ffff6845bcc in QFileDevice::readData(char*, long long) () at /usr/lib/libQt5Core.so.5                                                                                        
#3  0x00007ffff684ea32 in QIODevicePrivate::read(char*, long long, bool) () at /usr/lib/libQt5Core.so.5                                                                                 
#4  0x00007ffff684f447 in QIODevice::readAll() () at /usr/lib/libQt5Core.so.5
#5  0x00007ffff7b08aad in  () at /usr/lib/libKF5ConfigCore.so.5
#6  0x00007ffff7af4cf5 in  () at /usr/lib/libKF5ConfigCore.so.5
#7  0x00007ffff7b10192 in KCoreConfigSkeleton::load() () at /usr/lib/libKF5ConfigCore.so.5
#8  0x00007fffaf99c872 in  () at /usr/lib/qt/plugins/libkcm_device_automounter.so
#9  0x00007fffaf99d12f in  () at /usr/lib/qt/plugins/libkcm_device_automounter.so
#10 0x00007fffaf99d4e1 in  () at /usr/lib/qt/plugins/libkcm_device_automounter.so
#11 0x00007fffaf998849 in  () at /usr/lib/qt/plugins/libkcm_device_automounter.so
#12 0x00007fffaf99ad6d in  () at /usr/lib/qt/plugins/libkcm_device_automounter.so
#13 0x00007ffff7a88ab5 in KPluginFactory::create(char const*, QWidget*, QObject*, QList<QVariant> const&, QString const&) () at /usr/lib/libKF5CoreAddons.so.5
#14 0x00007ffff7f520e2 in  () at /usr/lib/libKF5KCMUtils.so.5
#15 0x00007ffff7f51052 in KCModuleLoader::loadModule(KCModuleInfo const&, KCModuleLoader::ErrorReporting, QWidget*, QStringList const&) () at /usr/lib/libKF5KCMUtils.so.5
#16 0x00007ffff7f59034 in  () at /usr/lib/libKF5KCMUtils.so.5
#17 0x00007ffff7f5949b in KCModuleProxy::realModule() const () at /usr/lib/libKF5KCMUtils.so.5                                                                                          
#18 0x00007ffff7f90376 in ModuleView::updatePageIconHeader(KPageWidgetItem*, bool) () at /usr/lib/libsystemsettingsview.so.3                                                            
#19 0x00007ffff7f91336 in ModuleView::addModule(KCModuleInfo*, QStringList const&) () at /usr/lib/libsystemsettingsview.so.3                                                            
#20 0x00007ffff7f91804 in ModuleView::loadModule(QModelIndex const&, QStringList const&) () at /usr/lib/libsystemsettingsview.so.3
#21 0x00007fffdd79e9a3 in  () at /usr/lib/qt/plugins/systemsettings_sidebar_mode.so
#22 0x00007fffdd79c82e in  () at /usr/lib/qt/plugins/systemsettings_sidebar_mode.so
#23 0x00007fffdd79cd53 in  () at /usr/lib/qt/plugins/systemsettings_sidebar_mode.so
#24 0x00007ffff59b970e in  () at /usr/lib/libQt5Qml.so.5
#25 0x00007ffff589fcdf in  () at /usr/lib/libQt5Qml.so.5
#26 0x00007ffff58a1b7a in QV4::QObjectMethod::callInternal(QV4::Value const*, QV4::Value const*, int) const () at /usr/lib/libQt5Qml.so.5
#27 0x00007ffff58bda97 in  () at /usr/lib/libQt5Qml.so.5
#28 0x00007ffff58c05ef in  () at /usr/lib/libQt5Qml.so.5
#29 0x00007ffff585a9ce in QV4::Function::call(QV4::Value const*, QV4::Value const*, int, QV4::ExecutionContext const*) () at /usr/lib/libQt5Qml.so.5
#30 0x00007ffff59d6ad6 in QQmlJavaScriptExpression::evaluate(QV4::CallData*, bool*) () at /usr/lib/libQt5Qml.so.5                                                                       
#31 0x00007ffff5988bfd in QQmlBoundSignalExpression::evaluate(void**) () at /usr/lib/libQt5Qml.so.5
#32 0x00007ffff59890e1 in  () at /usr/lib/libQt5Qml.so.5
#33 0x00007ffff59b91ad in QQmlNotifier::emitNotify(QQmlNotifierEndpoint*, void**) () at /usr/lib/libQt5Qml.so.5
#34 0x00007ffff6955585 in  () at /usr/lib/libQt5Core.so.5
#35 0x00007ffff0d35712 in QQuickAbstractButtonPrivate::handleRelease(QPointF const&) () at /usr/lib/libQt5QuickTemplates2.so.5
#36 0x00007ffff0d52fb1 in QQuickControl::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5QuickTemplates2.so.5
#37 0x00007ffff5dac988 in QQuickItem::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#38 0x00007ffff746e702 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#39 0x00007ffff691e79a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#40 0x00007ffff5dc8d68 in QQuickWindowPrivate::deliverMouseEvent(QQuickPointerMouseEvent*) () at /usr/lib/libQt5Quick.so.5
#41 0x00007ffff5dca11c in QQuickWindowPrivate::deliverPointerEvent(QQuickPointerEvent*) () at /usr/lib/libQt5Quick.so.5
#42 0x00007ffff6d88955 in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#43 0x00007ffff746e702 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#44 0x00007ffff691e79a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#45 0x00007ffff60e61da in QQuickWidget::mouseReleaseEvent(QMouseEvent*) () at /usr/lib/libQt5QuickWidgets.so.5
#46 0x00007ffff74afc7e in QWidget::event(QEvent*) () at /usr/lib/libQt5Widgets.so.5
#47 0x00007ffff746e702 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#48 0x00007ffff7475977 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#49 0x00007ffff691e79a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#50 0x00007ffff747485e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () at /usr/lib/libQt5Widgets.so.5
#51 0x00007ffff74c83b2 in  () at /usr/lib/libQt5Widgets.so.5
#52 0x00007ffff74cb78f in  () at /usr/lib/libQt5Widgets.so.5
#53 0x00007ffff746e702 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#54 0x00007ffff691e79a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#55 0x00007ffff6d7c37c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#56 0x00007ffff6d51b4c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#57 0x00007ffff1b2ac8c in  () at /usr/lib/libQt5XcbQpa.so.5
#58 0x00007ffff462843c in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#59 0x00007ffff46761d9 in  () at /usr/lib/libglib-2.0.so.0
#60 0x00007ffff4627221 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#61 0x00007ffff6977311 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#62 0x00007ffff691d11c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#63 0x00007ffff69255a4 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#64 0x0000555555560806 in  ()
#65 0x00007ffff62ef152 in __libc_start_main () at /usr/lib/libc.so.6
#66 0x00005555555614ae in _start ()


Sure thing, here's the backtrace.
Comment 3 Nate Graham 2023-09-14 19:45:31 UTC
Thank you for the bug report. Unfortunately we were not able to get to it yet. Can we ask you to please check if this is still an issue in Plasma 5.27? Thanks a lot!
Comment 4 Bug Janitor Service 2023-09-29 03:46:13 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 5 Bug Janitor Service 2023-10-14 03:46:07 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!