Bug 470845

Summary: Dolphin crashes in Solid::StorageAccess::isEncrypted when generating thumbnails
Product: [Frameworks and Libraries] frameworks-kio Reporter: Charles Menser <charles.menser>
Component: generalAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: axtlos, billings90, bs7qd15ew, camille, dje039, fanzhuyifan, fsouza.bruno, glyn.stuckey, hectorhenry, i4lqi147, kalebeapsoares, kde.pope, kde, kde, kdelibs-bugs, kfm-devel, konrad.koziol, lilnpc, matrais, nicolas.fella, nooremf, ostap.tymchenko, patrick.auernig, patrick.dev, tbjong2000
Priority: VHI Keywords: drkonqi
Version: 5.107.0   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In: 5.108.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Charles Menser 2023-06-09 19:59:43 UTC
Application: dolphin (23.04.1)

Qt Version: 5.15.9
Frameworks Version: 5.107.0
Operating System: Linux 6.4.0-0.rc5.41.fc39.x86_64 x86_64
Windowing System: Wayland
Distribution: Fedora Linux 39 (Workstation Edition Prerelease)
DrKonqi: 5.27.5 [KCrashBackend]

-- Information about the crash:
Using Fedora Rawhide on a clean install, attempting to launch Dolphin, clicking on the taskbar icon it crashes every time.

The crash can be reproduced every time.

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

[KCrash Handler]
#4  0x00007feda7ec0a74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007feda82744e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007feda82779b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007feda64e86c1 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007feda783dfc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
#9  0x00007feda7843bab in KJob::finishJob(bool) () from /lib64/libKF5CoreAddons.so.5
#10 0x00007feda64e86c1 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#11 0x00007feda80159d7 in KIO::SlaveInterface::error(int, QString const&) () from /lib64/libKF5KIOCore.so.5
#12 0x00007feda801aafe in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /lib64/libKF5KIOCore.so.5
#13 0x00007feda80157fb in KIO::SlaveInterface::dispatch() () from /lib64/libKF5KIOCore.so.5
#14 0x00007feda8018121 in KIO::Slave::gotInput() () from /lib64/libKF5KIOCore.so.5
#15 0x00007feda64e86c1 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#16 0x00007feda64df7ab in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#17 0x00007feda71aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007feda64b3db8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#19 0x00007feda64b7265 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#20 0x00007feda6506e3f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#21 0x00007feda43133ac in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#22 0x00007feda4371448 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#23 0x00007feda4310a33 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#24 0x00007feda6506929 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#25 0x00007feda64b277b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#26 0x00007feda64baa0b in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#27 0x000055a7fb208185 in main ()
[Inferior 1 (process 4027) detached]

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-06-10 12:28:27 UTC
Thanks for the report!

Unfortunately the backtrace is missing debug symbols, which makes it less usable to us.

Please follow https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl (and enable debuginfod if asked) to get a new backtrace and paste that here.

Please also run "solid-hardware5 list details" in a terminal and paste the output here
Comment 2 Nicolas Fella 2023-06-10 12:29:29 UTC
Likely caused by https://invent.kde.org/frameworks/kio/-/merge_requests/1287
Comment 3 Nicolas Fella 2023-06-10 12:38:37 UTC
I was able to reproduce it

Application: Dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  0x00007f8e9651756e in Solid::StorageAccess::d_func (this=0x0) at /home/nico/kde/src/solid/src/solid/devices/frontend/storageaccess.h:37
#6  0x00007f8e965174fc in Solid::StorageAccess::isEncrypted (this=0x0) at /home/nico/kde/src/solid/src/solid/devices/frontend/storageaccess.cpp:77
#7  0x00007f8e96ac4146 in KIO::PreviewJobPrivate::canBeCached (this=0x15cf9d0, path=...) at /home/nico/kde/src/kio/src/widgets/previewjob.cpp:832
#8  0x00007f8e96ac497e in KIO::PreviewJobPrivate::createThumbnail (this=0x15cf9d0, pixPath=...) at /home/nico/kde/src/kio/src/widgets/previewjob.cpp:875
#9  0x00007f8e96ac2c26 in KIO::PreviewJob::slotResult (this=0x164a860, job=0x1ca52a0) at /home/nico/kde/src/kio/src/widgets/previewjob.cpp:648
#10 0x00007f8e9595c717 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<KJob*>, void, void (KCompositeJob::*)(KJob*)>::call (f=&virtual KCompositeJob::slotResult(KJob*), o=0x164a860, arg=0x7fff28be1700) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#11 0x00007f8e9595c2f4 in QtPrivate::FunctionPointer<void (KCompositeJob::*)(KJob*)>::call<QtPrivate::List<KJob*>, void> (f=&virtual KCompositeJob::slotResult(KJob*), o=0x164a860, arg=0x7fff28be1700) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#12 0x00007f8e9595bead in QtPrivate::QSlotObject<void (KCompositeJob::*)(KJob*), QtPrivate::List<KJob*>, void>::impl (which=1, this_=0x11368e0, r=0x164a860, a=0x7fff28be1700, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#13 0x00007f8e942e8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#14 0x00007f8e9595f700 in KJob::result (this=0x1ca52a0, _t1=0x1ca52a0, _t2=...) at /home/nico/kde/build/kcoreaddons/src/lib/KF5CoreAddons_autogen/include/moc_kjob.cpp:633
#15 0x00007f8e9595ce45 in KJob::finishJob (this=0x1ca52a0, emitResult=true) at /home/nico/kde/src/kcoreaddons/src/lib/jobs/kjob.cpp:98
#16 0x00007f8e9595da01 in KJob::emitResult (this=0x1ca52a0) at /home/nico/kde/src/kcoreaddons/src/lib/jobs/kjob.cpp:338
#17 0x00007f8e966ed4df in KIO::SimpleJob::slotFinished (this=0x1ca52a0) at /home/nico/kde/src/kio/src/core/simplejob.cpp:236
#18 0x00007f8e966f0c8f in KIO::StatJob::slotFinished (this=0x1ca52a0) at /home/nico/kde/src/kio/src/core/statjob.cpp:205
#19 0x00007f8e966ed5f9 in KIO::SimpleJob::slotError (this=0x1ca52a0, err=111, errorText=...) at /home/nico/kde/src/kio/src/core/simplejob.cpp:249
#20 0x00007f8e966efc45 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<int, QString const&>, void, void (KIO::SimpleJob::*)(int, QString const&)>::call (f=(void (KIO::SimpleJob::*)(KIO::SimpleJob * const, int, const QString &)) 0x7f8e966ed4f2 <KIO::SimpleJob::slotError(int, QString const&)>, o=0x1ca52a0, arg=0x7fff28be1af0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#21 0x00007f8e966efaa3 in QtPrivate::FunctionPointer<void (KIO::SimpleJob::*)(int, QString const&)>::call<QtPrivate::List<int, QString const&>, void> (f=(void (KIO::SimpleJob::*)(KIO::SimpleJob * const, int, const QString &)) 0x7f8e966ed4f2 <KIO::SimpleJob::slotError(int, QString const&)>, o=0x1ca52a0, arg=0x7fff28be1af0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#22 0x00007f8e966ef7ed in QtPrivate::QSlotObject<void (KIO::SimpleJob::*)(int, QString const&), QtPrivate::List<int, QString const&>, void>::impl (which=1, this_=0x1c8ad50, r=0x1ca52a0, a=0x7fff28be1af0, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#23 0x00007f8e942e8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#24 0x00007f8e966cdf8b in KIO::SlaveInterface::error (this=0x1454440, _t1=111, _t2=...) at /home/nico/kde/build/kio/src/core/KF5KIOCore_autogen/include/moc_slaveinterface.cpp:452
#25 0x00007f8e966cb93e in KIO::SlaveInterface::dispatch (this=0x1454440, _cmd=102, rawdata=...) at /home/nico/kde/src/kio/src/core/slaveinterface.cpp:181
#26 0x00007f8e966cb3de in KIO::SlaveInterface::dispatch (this=0x1454440) at /home/nico/kde/src/kio/src/core/slaveinterface.cpp:78
#27 0x00007f8e966cfe9b in KIO::Slave::gotInput (this=0x1454440) at /home/nico/kde/src/kio/src/core/slave.cpp:354
#28 0x00007f8e966d1a80 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, void (KIO::Slave::*)()>::call(void (KIO::Slave::*)(), KIO::Slave*, void**) (f=(void (KIO::Slave::*)(KIO::Slave * const)) 0x7f8e966cfe48 <KIO::Slave::gotInput()>, o=0x1454440, arg=0x7fff28be1f10) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:152
#29 0x00007f8e966d1a12 in QtPrivate::FunctionPointer<void (KIO::Slave::*)()>::call<QtPrivate::List<>, void>(void (KIO::Slave::*)(), KIO::Slave*, void**) (f=(void (KIO::Slave::*)(KIO::Slave * const)) 0x7f8e966cfe48 <KIO::Slave::gotInput()>, o=0x1454440, arg=0x7fff28be1f10) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:185
#30 0x00007f8e966d197d in QtPrivate::QSlotObject<void (KIO::Slave::*)(), QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) (which=1, this_=0x15e4d30, r=0x1454440, a=0x7fff28be1f10, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:418
#31 0x00007f8e942e8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#32 0x00007f8e966589ef in KIO::Connection::readyRead (this=0x164e640) at /home/nico/kde/build/kio/src/core/KF5KIOCore_autogen/include/moc_connection_p.cpp:131
#33 0x00007f8e96657b6d in KIO::ConnectionPrivate::dequeue (this=0x143b430) at /home/nico/kde/src/kio/src/core/connection.cpp:31
#34 0x00007f8e96657b8d in operator() (__closure=0x1a357e0) at /home/nico/kde/src/kio/src/core/connection.cpp:40
#35 0x00007f8e96659194 in QtPrivate::FunctorCall<QtPrivate::IndexesList<>, QtPrivate::List<>, void, KIO::ConnectionPrivate::commandReceived(const KIO::Task&)::<lambda()> >::call(struct {...} &, void **) (f=..., arg=0x1c5e1a8) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:146
#36 0x00007f8e966590cd in QtPrivate::Functor<KIO::ConnectionPrivate::commandReceived(const KIO::Task&)::<lambda()>, 0>::call<QtPrivate::List<>, void>(struct {...} &, void *, void **) (f=..., arg=0x1c5e1a8) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:256
#37 0x00007f8e96658e74 in QtPrivate::QFunctorSlotObject<KIO::ConnectionPrivate::commandReceived(const KIO::Task&)::<lambda()>, 0, QtPrivate::List<>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=1, this_=0x1a357d0, r=0x164e640, a=0x1c5e1a8, ret=0x0) at /usr/include/qt5/QtCore/qobjectdefs_impl.h:443
#38 0x00007f8e942df73b in QObject::event(QEvent*) () from /lib64/libQt5Core.so.5
#39 0x00007f8e94faeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#40 0x00007f8e942b3d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#41 0x00007f8e942b71f5 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /lib64/libQt5Core.so.5
#42 0x00007f8e94306e2f in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5Core.so.5
#43 0x00007f8e91b1339c in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#44 0x00007f8e91b71438 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#45 0x00007f8e91b10a23 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#46 0x00007f8e94306919 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#47 0x00007f8e942b270b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#48 0x00007f8e942ba99b in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#49 0x000000000044b732 in main (argc=1, argv=0x7fff28be2d38) at /home/nico/kde/src/dolphin/src/main.cpp:255
[Inferior 1 (process 538890) detached]
Comment 4 Bug Janitor Service 2023-06-10 12:49:52 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kio/-/merge_requests/1310
Comment 5 Christoph Cullmann 2023-06-11 20:55:50 UTC
Git commit 3fdcb7bcdae3a3dc95ce5b3d15740802450b129e by Christoph Cullmann, on behalf of Nicolas Fella.
Committed on 11/06/2023 at 20:29.
Pushed by cullmann into branch 'master'.

[previewjob] Check whether thumbRootDevice is valid before access

storageAccessFromPath may return an invalid device, e.g. because the thumbnail directory doesn't exist yet

In that case we must not use the device

M  +1    -1    src/gui/previewjob.cpp

https://invent.kde.org/frameworks/kio/-/commit/3fdcb7bcdae3a3dc95ce5b3d15740802450b129e
Comment 6 Nate Graham 2023-06-12 14:59:18 UTC
Git commit daa0b06ae8621f731327b547f268bddc9784001b by Nate Graham, on behalf of Nicolas Fella.
Committed on 12/06/2023 at 14:26.
Pushed by ngraham into branch 'kf5'.

[previewjob] Check whether thumbRootDevice is valid before access

storageAccessFromPath may return an invalid device, e.g. because the thumbnail directory doesn't exist yet

In that case we must not use the device
(cherry picked from commit 3fdcb7bcdae3a3dc95ce5b3d15740802450b129e)

M  +1    -1    src/widgets/previewjob.cpp

https://invent.kde.org/frameworks/kio/-/commit/daa0b06ae8621f731327b547f268bddc9784001b
Comment 7 Nicolas Fella 2023-06-14 20:10:06 UTC
*** Bug 471035 has been marked as a duplicate of this bug. ***
Comment 8 Nicolas Fella 2023-06-14 20:10:55 UTC
*** Bug 471024 has been marked as a duplicate of this bug. ***
Comment 9 Randall Larson 2023-06-17 06:09:37 UTC
Created attachment 159729 [details]
New crash information added by DrKonqi

dolphin (23.04.2) using Qt 5.15.10

Crash happens winthin seconds of launch with 100% repro rate.

-- Backtrace (Reduced):
#4  0x00007fba4af43a74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007fba4b2f64e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007fba4b2f99b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007fba494e8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007fba4a8c0fc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
Comment 10 kde.pope 2023-06-17 09:36:52 UTC
Created attachment 159734 [details]
New crash information added by DrKonqi

dolphin (23.04.2) using Qt 5.15.9

Used BleachBit. System froze. Mouse cursor could be moved. Restarted the computer using power button. After starting the system up again, Dolphin closes immedietely after opening, every time. Same for Portal application.

-- Backtrace (Reduced):
#4  0x00007fee25438a74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007fee257eb4e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007fee257ee9b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007fee238e8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007fee24db5fc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
Comment 11 nooremf 2023-06-18 11:57:44 UTC
Created attachment 159758 [details]
New crash information added by DrKonqi

dolphin (23.04.2) using Qt 5.15.8

There might be timeshift package problem. After installing timeshift, the whole system is misbehaving.

-- Backtrace (Reduced):
#4  0x00007fb7dfc66a74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007fb7e00194e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007fb7e001c9b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007fb7de2e84f1 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007fb7df5e3fc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
Comment 12 kde.pope 2023-06-18 19:45:05 UTC
Ran. Dolphin through Terminal. Dolphin crashed again. There was written something about thumbnails folder missing in .config or some other hidden location. Created the missing folder and the problem was solved, Dolphin was working correctly after that.
Comment 13 kde 2023-06-19 07:02:58 UTC
(In reply to kde.pope from comment #12)
> Ran. Dolphin through Terminal. Dolphin crashed again. There was written
> something about thumbnails folder missing in .config or some other hidden
> location. Created the missing folder and the problem was solved, Dolphin was
> working correctly after that.

I can confirm that creating a thumbnail directory "/home/username/.cache/thumbnails/" solves the issue.
Comment 14 Nicolas Fella 2023-06-21 18:15:00 UTC
*** Bug 471182 has been marked as a duplicate of this bug. ***
Comment 15 Nicolas Fella 2023-06-21 18:15:13 UTC
*** Bug 471237 has been marked as a duplicate of this bug. ***
Comment 16 Nicolas Fella 2023-06-21 18:15:38 UTC
*** Bug 471254 has been marked as a duplicate of this bug. ***
Comment 17 Nicolas Fella 2023-06-21 18:16:13 UTC
*** Bug 471087 has been marked as a duplicate of this bug. ***
Comment 18 Glyn Stuckey 2023-06-22 22:03:22 UTC
Created attachment 159841 [details]
New crash information added by DrKonqi

dolphin (23.04.2) using Qt 5.15.10

Trying to open app, home folder shows briefly, then dolphin closes unexpectedly.  App was not customized in any way, Fedora 38 was freshly installed.

-- Backtrace (Reduced):
#4  0x00007f49f92f9a74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007f49f96ac4e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007f49f96af9b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007f49f78e8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f49f8c76fc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
Comment 19 Glyn Stuckey 2023-06-22 22:11:58 UTC
Created attachment 159842 [details]
New crash information added by DrKonqi

dolphin (23.04.2) using Qt 5.15.10

Trying to open Dolphin on Fedora 38.  Had not changed any settings within Dolphin.  Home folder shows briefly, but crashes out.  Happens every time that I try to open Dolphin, rendering it unusable/

-- Backtrace (Reduced):
#4  0x00007f1e7f9c3a74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007f1e7fd764e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007f1e7fd799b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007f1e7dee8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f1e7f340fc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
Comment 20 camille 2023-06-30 02:00:22 UTC
This is still present on a KDE Neon fresh install using Dolphin 23.04.2;
Creating the ~/.cache/thumbnails/ folder fixes it.

How is it resolved though?
Comment 21 Kalebe Alves 2023-07-06 15:04:50 UTC
Created attachment 160101 [details]
New crash information added by DrKonqi

dolphin (23.04.2) using Qt 5.15.10

I was just openning dolphin. This is a newly installed fedora, with practically no file or software installed.
I have no kde customizations currentlly, nor dolphin plugins, like gdrive, or network folders saved.
As a matter of fact, I'm pretty sure this is the first time I try to open dolphin on this installation.

-- Backtrace (Reduced):
#4  0x00007f5554dd3a74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007f55551864e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007f55551899b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007f55532e8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f5554750fc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
Comment 22 Felix Ernst 2023-07-09 21:43:06 UTC
*** Bug 471806 has been marked as a duplicate of this bug. ***
Comment 23 Felix Ernst 2023-07-09 21:44:42 UTC
*** Bug 472009 has been marked as a duplicate of this bug. ***
Comment 24 Lil NPC 2023-07-11 13:26:29 UTC
Created attachment 160235 [details]
New crash information added by DrKonqi

dolphin (23.04.2) using Qt 5.15.10

Dolphin crashes on fresh fedora install. Dolphin opens for a split second and then crashes.

-- Backtrace (Reduced):
#4  0x00007fc8c884ca74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007fc8c8bff4e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007fc8c8c029b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007fc8c6ce8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007fc8c81c9fc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
Comment 25 Lil NPC 2023-07-11 13:41:20 UTC
Created attachment 160236 [details]
New crash information added by DrKonqi

dolphin (23.04.2) using Qt 5.15.10

Fresh install of Fedora 38, dolphin crashes everytime I try to open it. It opens but crashes 1 second later.

-- Backtrace (Reduced):
#4  0x00007f3d4766aa74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007f3d47a1d4e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007f3d47a209b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007f3d45ce8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f3d46fe7fc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
Comment 26 Konrad KozioĊ‚ 2023-07-11 20:48:41 UTC
Created attachment 160238 [details]
New crash information added by DrKonqi

dolphin (23.04.2) using Qt 5.15.10

Fedora 38 fresh install - dolphin crashes fraction of a second after opening and rendering the gui.

-- Backtrace (Reduced):
#4  0x00007f29f682da74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007f29f6be04e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007f29f6be39b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007f29f4ce8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007f29f61aafc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
Comment 27 ostap-tymur-tymchenko 2023-07-14 01:00:32 UTC
Creating the directory /home/USER/.cache/thumbnails/ fixed the issue for me
Comment 28 hectorhenry 2023-07-18 10:59:58 UTC
Created attachment 160353 [details]
New crash information added by DrKonqi

dolphin (23.04.2) using Qt 5.15.10

I'm using the KDE spin of Fedora 38. Before doing the initial system update, Dolphin worked fine without any issues. But after doing an update, it closes immediately after 2 or 3 seconds. Same problem is also occuring for Discover

-- Backtrace (Reduced):
#4  0x00007fe607156a74 in Solid::StorageAccess::isEncrypted() const () from /lib64/libKF5Solid.so.5
#5  0x00007fe6075094e9 in KIO::PreviewJobPrivate::createThumbnail(QString const&) () from /lib64/libKF5KIOWidgets.so.5
#6  0x00007fe60750c9b0 in KIO::PreviewJob::slotResult(KJob*) () from /lib64/libKF5KIOWidgets.so.5
#7  0x00007fe6056e8461 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#8  0x00007fe606ad3fc6 in KJob::result(KJob*, KJob::QPrivateSignal) () from /lib64/libKF5CoreAddons.so.5
Comment 29 fanzhuyifan 2024-02-28 15:29:05 UTC
*** Bug 475401 has been marked as a duplicate of this bug. ***
Comment 30 fanzhuyifan 2024-02-28 15:29:23 UTC
*** Bug 481936 has been marked as a duplicate of this bug. ***