Bug 471182

Summary: Dolphin crashes when an encrypted storage device is mounted but dolphin has not been used previously
Product: [Applications] dolphin Reporter: Patrick McDonough <patrick.dev>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kamiretto, kfm-devel, nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 23.04.2   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Patrick McDonough 2023-06-18 08:01:26 UTC
Application: dolphin (23.04.2)

Qt Version: 5.15.10
Frameworks Version: 5.107.0
Operating System: Linux 5.19.0-45-generic x86_64
Windowing System: Wayland
Distribution: KDE neon 5.27
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
On a clean installation of KDE Neon (neon-user-20230615-1514.iso), when mounting an encrypted drive and proceeding to open Dolphin for the first time, Dolphin throws an error and dies. The relevent error is:

kf.solid.frontend.devicemanager: Couldn't get StorageAccess for ""/home/patrick/.cache/thumbnails/"" - File doesn't exist

Unmount and removing the encrypted drive before opening Dolphin a second time does not resolve the issue.

Manually creating the thumbnail directory through the CLI does resolve the issue.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007ff1194aee44 in Solid::StorageAccess::isEncrypted() const () from /lib/x86_64-linux-gnu/libKF5Solid.so.5
#5  0x00007ff1198b751b in ?? () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#6  0x00007ff1198b7646 in ?? () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#7  0x00007ff1198bc4d5 in KIO::PreviewJob::slotResult(KJob*) () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
#8  0x00007ff1178f4854 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ff118e08130 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#10 0x00007ff118e0de3b in ?? () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
#11 0x00007ff1178f4854 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007ff11961ce1a in KIO::SlaveInterface::error(int, QString const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#13 0x00007ff11961f007 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#14 0x00007ff11961d57d in KIO::SlaveInterface::dispatch() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#15 0x00007ff1196219b2 in KIO::Slave::gotInput() () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#16 0x00007ff1178f4854 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ff1178ea2fe in QObject::event(QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ff11856c763 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Widgets.so.5
#19 0x00007ff1178bcdda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#20 0x00007ff1178bfec7 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#21 0x00007ff117916c07 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#22 0x00007ff115651d3b in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ff1156a7258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007ff11564f3e3 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007ff117916258 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#26 0x00007ff1178bb6fb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#27 0x00007ff1178c3c94 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#28 0x000055d956aadb35 in ?? ()
#29 0x00007ff116e29d90 in __libc_start_call_main (main=main@entry=0x55d956aa7c80, argc=argc@entry=1, argv=argv@entry=0x7fffcf9b6bc8) at ../sysdeps/nptl/libc_start_call_main.h:58
#30 0x00007ff116e29e40 in __libc_start_main_impl (main=0x55d956aa7c80, argc=1, argv=0x7fffcf9b6bc8, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffcf9b6bb8) at ../csu/libc-start.c:392
#31 0x000055d956aae3e5 in ?? ()
[Inferior 1 (process 6813) detached]

The reporter indicates this bug may be a duplicate of or related to bug 470845.

Reported using DrKonqi
Comment 1 brvsky 2023-06-19 13:43:23 UTC
Created attachment 159772 [details]
New crash information added by DrKonqi

dolphin (23.04.2) using Qt 5.15.10

Each time i trying to use Dolphin crash occurs. It is segmentation fault.
"Dr Konqi
Dolphin Closed Unxecpetedly"

-- Backtrace (Reduced):
#4  0x00007ff6e15c5e44 in Solid::StorageAccess::isEncrypted() const () from /lib/x86_64-linux-gnu/libKF5Solid.so.5
[...]
#7  0x00007ff6e19d34d5 in KIO::PreviewJob::slotResult(KJob*) () from /lib/x86_64-linux-gnu/libKF5KIOWidgets.so.5
[...]
#9  0x00007ff6e0f1f130 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib/x86_64-linux-gnu/libKF5CoreAddons.so.5
[...]
#12 0x00007ff6e1733e1a in KIO::SlaveInterface::error(int, QString const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
#13 0x00007ff6e1736007 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib/x86_64-linux-gnu/libKF5KIOCore.so.5
Comment 2 brvsky 2023-06-19 13:50:30 UTC
I just want to add the problem not occured on KDE Neon 20230202
Comment 3 Nicolas Fella 2023-06-21 18:15:00 UTC

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