Bug 497950 - "Recent Files" & "Recent Locations" in Dolphin crashes kioworker
Summary: "Recent Files" & "Recent Locations" in Dolphin crashes kioworker
Status: RESOLVED FIXED
Alias: None
Product: kio-extras
Classification: Frameworks and Libraries
Component: Recently Used (show other bugs)
Version: 24.12.0
Platform: Neon Linux
: HI crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2024-12-27 17:51 UTC by Moj
Modified: 2025-01-06 16:33 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In: 24.12.1
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/9801/events/e015529212534a8585f4c0e5d8f77998/


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Moj 2024-12-27 17:51:39 UTC
Application: kioworker (6.9.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.1
Frameworks Version: 6.9.0
Operating System: Linux 6.8.0-51-generic x86_64
Windowing System: Wayland
Distribution: KDE neon 6.2
DrKonqi: 6.2.4 [CoredumpBackend]

-- Information about the crash:
Selecting "Recent Files" and "Recent Locations" in Dolphin causes kioworker to crash. This happens every time either one of them are selected.

The crash can be reproduced every time.

-- Backtrace:
Application: kioworker (kioworker), signal: Aborted
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[New LWP 7836]
[New LWP 7882]
[New LWP 7873]
Downloading separate debug info for /lib/x86_64-linux-gnu/libacl.so.1...
Downloading separate debug info for /lib/x86_64-linux-gnu/libmount.so.1...
Downloading separate debug info for /lib/x86_64-linux-gnu/libglib-2.0.so.0...

warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libglib-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libglib-2.0.so.0...
Downloading separate debug info for /lib/x86_64-linux-gnu/libblkid.so.1...

warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libgobject-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libgobject-2.0.so.0...
Downloading separate debug info for /lib/x86_64-linux-gnu/libcurl-gnutls.so.4...
Downloading separate debug info for /lib/x86_64-linux-gnu/libgio-2.0.so.0...
Downloading separate debug info for /lib/x86_64-linux-gnu/libexpat.so.1...
Downloading separate debug info for /lib/x86_64-linux-gnu/libldap.so.2...
Downloading separate debug info for /lib/x86_64-linux-gnu/liblber.so.2...

warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/liblber.so.2
Downloading separate debug info for /lib/x86_64-linux-gnu/liblber.so.2...

warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libgmodule-2.0.so.0
Downloading separate debug info for /lib/x86_64-linux-gnu/libgmodule-2.0.so.0...
Downloading separate debug info for system-supplied DSO at 0x7ffe37719000...
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/lib/x86_64-linux-gnu/libexec/kf6/kioworker /usr/lib/x86_64-linux-gnu/qt6/plugi'.
Program terminated with signal SIGABRT, Aborted.
Download failed: Invalid argument.  Continuing without source file ./nptl/./nptl/pthread_kill.c.
#0  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44

warning: 44	./nptl/pthread_kill.c: No such file or directory
[Current thread is 1 (Thread 0x7b7dbf1bfcc0 (LWP 7836))]

Cannot QML trace cores :(
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:516: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
  boot_time = datetime.utcfromtimestamp(psutil.boot_time()).strftime('%Y-%m-%dT%H:%M:%S')
Download failed: Invalid argument.  Continuing without source file ./misc/../sysdeps/unix/sysv/linux/x86_64/clone3.S.
Download failed: Invalid argument.  Continuing without source file ./nptl/./nptl/pthread_create.c.
Downloading source file /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/thread/qthread_unix.cpp...
Downloading source file /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/dbus/qdbusconnectionmanager.cpp...
Downloading source file /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/global/qflags.h...
Downloading source file /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qeventdispatcher_glib.cpp...
Download failed: Invalid argument.  Continuing without source file ./io/../sysdeps/unix/sysv/linux/poll.c.
Downloading source file /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/workerthread.cpp...
Downloading source file /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/slavebase.cpp...
Downloading source file /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/connection.cpp...
Downloading source file /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/connectionbackend.cpp...
Downloading source file /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/network/socket/qabstractsocket.cpp...
Downloading source file /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/network/socket/qnativesocketengine.cpp...
Downloading source file /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/network/socket/qnativesocketengine_unix.cpp...
Downloading source file /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qcore_unix.cpp...
Download failed: Invalid argument.  Continuing without source file ./io/../sysdeps/unix/sysv/linux/ppoll.c.
Downloading source file /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/kioworker/kioworker.cpp...
Downloading source file /usr/src/kio-extras-4:24.12.0-0zneon+24.04+noble+release+build12/recentlyused/recentlyused.cpp...
Downloading source file /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/workerbase.cpp...
Downloading source file /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/workerbase_p.h...
Downloading source file /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/udsentry.cpp...
Downloading source file /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/global/qassert.cpp...
Downloading source file /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/global/qlogging.cpp...
Download failed: Invalid argument.  Continuing without source file ./stdlib/./stdlib/abort.c.
Download failed: Invalid argument.  Continuing without source file ./signal/../sysdeps/posix/raise.c.
Download failed: Invalid argument.  Continuing without source file ./nptl/./nptl/pthread_kill.c.
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:533: DeprecationWarning: datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
  'timestamp': datetime.utcnow().isoformat(),
[Current thread is 1 (Thread 0x7b7dbf1bfcc0 (LWP 7836))]

Thread 3 (Thread 0x7b7dbe2006c0 (LWP 7873)):
#0  0x00007b7dc3d1b4cd in __GI___poll (fds=0x62ca2bf831a0, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007b7dc317366e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007b7dc3113a53 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007b7dc42702cf in QEventDispatcherGlib::processEvents (this=0x7b7db8000ba0, flags=...) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qeventdispatcher_glib.cpp:399
#4  0x00007b7dc44c1aeb in QEventLoop::exec (this=0x7b7dbe1ff840, flags=...) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/global/qflags.h:34
#5  0x00007b7dc43c2027 in QThread::exec (this=this@entry=0x7b7dc3a090e0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/global/qflags.h:74
#6  0x00007b7dc39eb9dd in QDBusConnectionManager::run (this=0x7b7dc3a090e0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/dbus/qdbusconnectionmanager.cpp:144
#7  0x00007b7dc4386dfe in operator() (__closure=<optimized out>) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/thread/qthread_unix.cpp:354
#8  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/thread/qthread_unix.cpp:290
#9  QThreadPrivate::start (arg=0x7b7dc3a090e0 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/thread/qthread_unix.cpp:318
#10 0x00007b7dc3c9ca94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#11 0x00007b7dc3d29c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 2 (Thread 0x7b7dbd8006c0 (LWP 7882)):
#0  0x00007b7dc3d1ba00 in __GI_ppoll (fds=fds@entry=0x7b7dbd7ff580, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:42
#1  0x00007b7dc437a899 in ppoll (__ss=<optimized out>, __timeout=<optimized out>, __nfds=<optimized out>, __fds=<optimized out>) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qcore_unix.cpp:100
#2  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7b7dbd7ff580) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qcore_unix.cpp:103
#3  qt_ppoll (timeout_ts=0x0, nfds=1, fds=0x7b7dbd7ff580) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qcore_unix.cpp:100
#4  qt_safe_poll (deadline=..., nfds=<optimized out>, fds=<optimized out>) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qcore_unix.cpp:126
#5  qt_safe_poll (fds=fds@entry=0x7b7dbd7ff580, nfds=nfds@entry=1, deadline=...) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/kernel/qcore_unix.cpp:121
#6  0x00007b7dc3ee2ab2 in QNativeSocketEnginePrivate::nativeSelect (this=<optimized out>, deadline=..., checkRead=<optimized out>, checkWrite=<optimized out>, selectForRead=0x7b7dbd7ff66f, selectForWrite=0x7b7dbd7ff66e) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/network/socket/qnativesocketengine_unix.cpp:1371
#7  0x00007b7dc3fb331c in QNativeSocketEngine::waitForReadOrWrite (this=0x7b7db0002850, readyToRead=0x7b7dbd7ff66f, readyToWrite=<optimized out>, checkRead=true, checkWrite=<optimized out>, deadline=..., timedOut=0x0) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/network/socket/qnativesocketengine.cpp:1084
#8  0x00007b7dc3fb4b5c in QAbstractSocket::waitForReadyRead (this=0x7b7db0002458, msecs=-1) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/network/socket/qabstractsocket.cpp:2168
#9  0x00007b7dc47815f2 in KIO::ConnectionBackend::waitForIncomingTask (this=0x7b7db0001f10, ms=-1) at /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/connectionbackend.cpp:153
#10 0x00007b7dc486964d in KIO::Connection::waitForIncomingTask (ms=-1, this=<optimized out>) at /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/connection.cpp:214
#11 KIO::SlaveBase::dispatchLoop() [clone .constprop.0] (this=<optimized out>) at /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/slavebase.cpp:353
#12 0x00007b7dc48483e0 in KIO::WorkerThread::run (this=0x62ca2c017240) at /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/workerthread.cpp:47
#13 0x00007b7dc4386dfe in operator() (__closure=<optimized out>) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/thread/qthread_unix.cpp:354
#14 (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/thread/qthread_unix.cpp:290
#15 QThreadPrivate::start (arg=0x62ca2c017240) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/thread/qthread_unix.cpp:318
#16 0x00007b7dc3c9ca94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#17 0x00007b7dc3d29c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7b7dbf1bfcc0 (LWP 7836)):
[KCrash Handler]
#6  __pthread_kill_implementation (no_tid=0, signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:44
#7  __pthread_kill_internal (signo=6, threadid=<optimized out>) at ./nptl/pthread_kill.c:78
#8  __GI___pthread_kill (threadid=<optimized out>, signo=signo@entry=6) at ./nptl/pthread_kill.c:89
#9  0x00007b7dc3c4526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007b7dc3c288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x00007b7dc450e0be in qAbort () at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/global/qassert.cpp:49
#12 qt_message_fatal<QString&> (message=..., context=...) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/global/qlogging.cpp:2116
#13 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x7b7dc42424a8 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7ffe376b6be8) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/global/qlogging.cpp:382
#14 0x00007b7dc450ef9b in QMessageLogger::fatal (this=this@entry=0x7ffe376b6e28, msg=msg@entry=0x7b7dc42424a8 "ASSERT: \"%s\" in file %s, line %d") at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/global/qlogging.cpp:884
#15 0x00007b7dc450f012 in qt_assert (assertion=assertion@entry=0x7b7dc4888ce8 "std::find_if(storage.cbegin(), storage.cend(), [udsField](const Field &entry) { return entry.m_index == udsField; }) == storage.cend()", file=file@entry=0x7b7dc488d01b "./src/core/udsentry.cpp", line=line@entry=106) at /usr/src/qt6-base-6.8.1-0zneon+24.04+noble+release+build38/src/corelib/global/qassert.cpp:105
#16 0x00007b7dc47764dc in KIO::UDSEntryPrivate::insert (this=<optimized out>, udsField=<optimized out>, value=<optimized out>) at /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/udsentry.cpp:106
#17 0x00007b7dc48debdd in RecentlyUsed::udsEntryFromResource (lastUpdateTime=<optimized out>, agent=..., mimeType=..., resource=..., row=1, this=<optimized out>) at /usr/src/kio-extras-4:24.12.0-0zneon+24.04+noble+release+build12/recentlyused/recentlyused.cpp:209
#18 RecentlyUsed::listDir (this=0x7ffe376b7580, url=...) at /usr/src/kio-extras-4:24.12.0-0zneon+24.04+noble+release+build12/recentlyused/recentlyused.cpp:250
#19 0x00007b7dc47c45ba in KIO::WorkerSlaveBaseBridge::listDir (this=0x62ca2bfc6720, url=...) at /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/workerbase_p.h:121
#20 0x00007b7dc47c1d35 in KIO::SlaveBase::dispatch (this=0x62ca2bfc6720, command=71, data=...) at /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/slavebase.cpp:1237
#21 0x00007b7dc4869957 in KIO::SlaveBase::dispatchLoop() [clone .constprop.0] (this=<optimized out>) at /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/slavebase.cpp:363
#22 0x00007b7dc47c321d in KIO::WorkerBase::dispatchLoop (this=<optimized out>) at /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/core/workerbase.cpp:27
#23 0x00007b7dc48dff7c in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/kio-extras-4:24.12.0-0zneon+24.04+noble+release+build12/recentlyused/recentlyused.cpp:49
#24 0x000062c9ffb5a569 in main (argc=<optimized out>, argv=0x7ffe376b78f8) at /usr/src/kf6-kio-6.9.0-0zneon+24.04+noble+release+build18/src/kioworker/kioworker.cpp:144

Reported using DrKonqi
This report was filed against 'kde' because the product 'kioworker' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 2 Méven 2025-01-06 11:44:36 UTC
(In reply to Nate Graham from comment #1)
> This is the 9th most common crash in all of KDE on
> https://crash-reports.kde.org/organizations/kde/issues/
> ?query=is%3Aunresolved%20issue.
> priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-
> list&sort=freq&statsPeriod=30d; raising priority.

Should have been fixed with https://invent.kde.org/network/kio-extras/-/merge_requests/385
Comment 3 Méven 2025-01-06 11:45:49 UTC
(In reply to Méven from comment #2)
> (In reply to Nate Graham from comment #1)
> > This is the 9th most common crash in all of KDE on
> > https://crash-reports.kde.org/organizations/kde/issues/
> > ?query=is%3Aunresolved%20issue.
> > priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-
> > list&sort=freq&statsPeriod=30d; raising priority.
> 
> Should have been fixed with
> https://invent.kde.org/network/kio-extras/-/merge_requests/385

Can be backported.
Comment 4 Méven 2025-01-06 13:04:14 UTC
(In reply to Méven from comment #3)
> (In reply to Méven from comment #2)
> > (In reply to Nate Graham from comment #1)
> > > This is the 9th most common crash in all of KDE on
> > > https://crash-reports.kde.org/organizations/kde/issues/
> > > ?query=is%3Aunresolved%20issue.
> > > priority%3A%5Bhigh%2C%20medium%5D&referrer=issue-
> > > list&sort=freq&statsPeriod=30d; raising priority.
> > 
> > Should have been fixed with
> > https://invent.kde.org/network/kio-extras/-/merge_requests/385
> 
> Can be backported.

Was backported https://invent.kde.org/network/kio-extras/-/commit/1e5c0ffdeaa3b2bfdb90439d180ad2d33909ed32

Did neon update kio-extras / KDE Gears since mid-november ?
Comment 5 Méven 2025-01-06 15:18:24 UTC
Fix schedule do be released January 9th.
https://community.kde.org/Schedules/KDE_Gear_24.12_Schedule
Comment 6 Nate Graham 2025-01-06 16:33:26 UTC
Thanks Méven!