Bug 500507 - kioworker crashes when trying to delete / trash items
Summary: kioworker crashes when trying to delete / trash items
Status: RESOLVED DUPLICATE of bug 497268
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 6.10.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2025-02-21 06:57 UTC by Adam
Modified: 2025-02-21 21:47 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adam 2025-02-21 06:57:44 UTC
Application: kioworker (6.10.0)

ApplicationNotResponding [ANR]: false
Qt Version: 6.8.2
Frameworks Version: 6.10.0
Operating System: Linux 6.11.0-17-generic x86_64
Windowing System: Wayland
Distribution: KDE neon 6.2
DrKonqi: 6.3.0 [CoredumpBackend]

-- Information about the crash:
When trying to delete items to the trash, I get the error in Dolphin "The process for the trash protocol died unexpectedly", and Dr Koniq shows that the kioworker crashes. This was working fine previously without any updates to the system and seemily just started happening. Navigating to the Trash folder in Dolphin also crashes kioworker, but without the Dolphin error popup

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 6979]
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libproxy.so.1
warning: could not find '.gnu_debugaltlink' file for /lib/x86_64-linux-gnu/libcap.so.2
[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
Cannot QML trace cores :(
/usr/share/drkonqi/gdb/python/gdb_preamble/preamble.py:531: 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 ./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:548: 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(),
[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  0x0000758fe5c4527e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x0000758fe5c288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x0000758fe650c1ac in qAbort () at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qassert.cpp:49
#12 qt_message_fatal<QString&> (message=..., context=...) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qlogging.cpp:2130
#13 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x758fe6242b68 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7fffa69a6dc8) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qlogging.cpp:382
#14 0x0000758fe650d089 in QMessageLogger::fatal (this=this@entry=0x7fffa69a7008, msg=msg@entry=0x758fe6242b68 "ASSERT: \"%s\" in file %s, line %d") at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qlogging.cpp:884
#15 0x0000758fe650d100 in qt_assert (assertion=assertion@entry=0x758fe09c65c6 "QFile::exists(fileInfoPath)", file=file@entry=0x758fe09c5d60 "./src/kioworkers/trash/trashsizecache.cpp", line=line@entry=108) at /usr/src/qt6-base-6.8.2-0zneon+24.04+noble+release+build42/src/corelib/global/qassert.cpp:105
#16 0x0000758fe09ae280 in TrashSizeCache::getTrashFileInfo (this=this@entry=0x7fffa69a75c0, fileName=...) at /usr/src/kf6-kio-6.10.0-0zneon+24.04+noble+release+build24/src/kioworkers/trash/trashsizecache.cpp:108
#17 0x0000758fe09bf575 in TrashSizeCache::add (this=this@entry=0x7fffa69a75c0, directoryName=..., directorySize=directorySize@entry=2105410464) at /usr/src/kf6-kio-6.10.0-0zneon+24.04+noble+release+build24/src/kioworkers/trash/trashsizecache.cpp:55
#18 0x0000758fe09bfec5 in TrashSizeCache::scanFilesInTrash (this=0x7fffa69a75c0, checkDateTime=TrashSizeCache::CheckModificationTime) at /usr/src/kf6-kio-6.10.0-0zneon+24.04+noble+release+build24/src/kioworkers/trash/trashsizecache.cpp:205
#19 0x0000758fe09b749e in TrashSizeCache::calculateSizeAndLatestModDate (this=0x7fffa69a75c0) at /usr/src/kf6-kio-6.10.0-0zneon+24.04+noble+release+build24/src/kioworkers/trash/trashsizecache.cpp:140
#20 TrashImpl::trashUDSEntry (details=..., this=0x7fffa69a7980) at /usr/src/kf6-kio-6.10.0-0zneon+24.04+noble+release+build24/src/kioworkers/trash/trashimpl.cpp:1034
#21 TrashProtocol::stat (this=0x7fffa69a7960, url=...) at /usr/src/kf6-kio-6.10.0-0zneon+24.04+noble+release+build24/src/kioworkers/trash/kio_trash.cpp:320
#22 0x0000758fe669de37 in KIO::WorkerSlaveBaseBridge::stat (this=0x5b27795ba480, url=...) at /usr/src/kf6-kio-6.10.0-0zneon+24.04+noble+release+build24/src/core/workerbase_p.h:111
#23 0x0000758fe669ceb5 in KIO::SlaveBase::dispatch (this=0x5b27795ba480, command=69, data=...) at /usr/src/kf6-kio-6.10.0-0zneon+24.04+noble+release+build24/src/core/slavebase.cpp:1221
#24 0x0000758fe6745e17 in KIO::SlaveBase::dispatchLoop() [clone .constprop.0] (this=<optimized out>) at /usr/src/kf6-kio-6.10.0-0zneon+24.04+noble+release+build24/src/core/slavebase.cpp:363
#25 0x0000758fe669e66d in KIO::WorkerBase::dispatchLoop (this=<optimized out>) at /usr/src/kf6-kio-6.10.0-0zneon+24.04+noble+release+build24/src/core/workerbase.cpp:27
#26 0x0000758fe09b3c0f in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/kf6-kio-6.10.0-0zneon+24.04+noble+release+build24/src/kioworkers/trash/kio_trash.cpp:51
#27 0x00005b274f026569 in main (argc=<optimized out>, argv=0x7fffa69a7d08) at /usr/src/kf6-kio-6.10.0-0zneon+24.04+noble+release+build24/src/kioworker/kioworker.cpp:144

Reported using DrKonqi
Comment 1 Adam 2025-02-21 07:14:33 UTC
It appears I resolved this issue by removing everything in these two folders:

adam@loki:~/.local/share/Trash$ rm -r files/
adam@loki:~/.local/share/Trash$ rm -r info/

Unfortunately I did not have the foresight to mark down the contents of these to directories. If this happens in the future, I'll ensure I do that and provide that information again (redacting PII)
Comment 2 Nate Graham 2025-02-21 21:47:08 UTC
*** This bug has been marked as a duplicate of bug 497268 ***