Bug 496264 - Kioworker asserts when putting file(s) into trash
Summary: Kioworker asserts when putting file(s) into trash
Status: REPORTED
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: Trash (show other bugs)
Version: 6.7.0
Platform: Neon Linux
: NOR crash
Target Milestone: ---
Assignee: KIO Bugs
URL:
Keywords: drkonqi
: 496279 (view as bug list)
Depends on:
Blocks:
 
Reported: 2024-11-14 13:20 UTC by m.wege
Modified: 2024-11-14 19:22 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report: https://crash-reports.kde.org/organizations/kde/issues/93920/events/5636a4238c8b45908a70e15408b9f100/


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description m.wege 2024-11-14 13:20:04 UTC
Application: kioworker (6.8.0)

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

-- Information about the crash:
Kioworker crashes when putting file(s) into trash from Dolphin

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 195534]
[New LWP 195536]
Downloading separate debug info for /lib/x86_64-linux-gnu/libmount.so.1...
Downloading separate debug info for /lib/x86_64-linux-gnu/libblkid.so.1...
[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 0x7b2278660d00 (LWP 195534))]

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.0-0zneon+24.04+noble+release+build17/src/corelib/thread/qthread_unix.cpp...
Downloading source file /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/dbus/qdbusconnectionmanager.cpp...
Downloading source file /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qflags.h...
Downloading source file /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/kernel/qeventdispatcher_glib.cpp...
Downloading source file /usr/src/glib2.0-2.80.0-6ubuntu3.1/debian/build/deb/../../../glib/gmain.c...
Download failed: Invalid argument.  Continuing without source file ./io/../sysdeps/unix/sysv/linux/poll.c.
Downloading source file /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworker/kioworker.cpp...
Downloading source file /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/kio_trash.cpp...
Downloading source file /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/core/workerbase.cpp...
Downloading source file /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/core/slavebase.cpp...
Downloading source file /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/core/workerbase_p.h...
Downloading source file /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/trashimpl.cpp...
Downloading source file /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/trashsizecache.cpp...
Downloading source file /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qassert.cpp...
Downloading source file /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/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 0x7b2278660d00 (LWP 195534))]

Thread 2 (Thread 0x7b22776006c0 (LWP 195536)):
#0  0x00007b227d11b4cd in __GI___poll (fds=0x579c4bf30040, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007b227c57366e in g_main_context_poll_unlocked (priority=2147483647, n_fds=2, fds=0x579c4bf30040, timeout=<optimized out>, context=0x7b2270000c90) at ../../../glib/gmain.c:4521
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x7b2270000c90, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4212
#3  0x00007b227c513a53 in g_main_context_iteration (context=0x7b2270000c90, may_block=1) at ../../../glib/gmain.c:4282
#4  0x00007b227d66f4ff in QEventDispatcherGlib::processEvents (this=0x7b2270000ba0, flags=...) at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#5  0x00007b227d8c89bb in QEventLoop::exec (this=0x7b22775ff800, flags=...) at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qflags.h:34
#6  0x00007b227d7cb7d7 in QThread::exec (this=this@entry=0x7b227ce7e280 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qflags.h:74
#7  0x00007b227ce6098d in QDBusConnectionManager::run (this=0x7b227ce7e280 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/dbus/qdbusconnectionmanager.cpp:144
#8  0x00007b227d785e47 in operator() (__closure=<optimized out>) at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/thread/qthread_unix.cpp:335
#9  (anonymous namespace)::terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> > (t=...) at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/thread/qthread_unix.cpp:263
#10 QThreadPrivate::start (arg=0x7b227ce7e280 <QGlobalStatic<QtGlobalStatic::Holder<(anonymous namespace)::Q_QGS__q_manager> >::instance()::holder>) at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/thread/qthread_unix.cpp:294
#11 0x00007b227d09ca94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#12 0x00007b227d129c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x7b2278660d00 (LWP 195534)):
[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  0x00007b227d04526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007b227d0288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x00007b227d8da02c in qAbort () at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qassert.cpp:49
#12 0x00007b227d908df8 in qt_message_fatal<QString&> (message=..., context=...) at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qlogging.cpp:2089
#13 qt_message(QtMsgType, const QMessageLogContext &, const char *, typedef __va_list_tag __va_list_tag *) (msgType=msgType@entry=QtFatalMsg, context=..., msg=msg@entry=0x7b227d642548 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7ffd295c9d08) at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qlogging.cpp:382
#14 0x00007b227d90d5b5 in QMessageLogger::fatal (this=<optimized out>, msg=0x7b227d642548 "ASSERT: \"%s\" in file %s, line %d") at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qlogging.cpp:884
#15 0x00007b227d8da120 in qt_assert (assertion=assertion@entry=0x7b22786585c6 "QFile::exists(fileInfoPath)", file=file@entry=0x7b2278657d60 "./src/kioworkers/trash/trashsizecache.cpp", line=line@entry=108) at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qassert.cpp:105
#16 0x00007b227864029e in TrashSizeCache::getTrashFileInfo (this=this@entry=0x7ffd295ca2c0, fileName=...) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/trashsizecache.cpp:108
#17 0x00007b2278651f94 in TrashSizeCache::scanFilesInTrash (this=0x7ffd295ca2c0, checkDateTime=TrashSizeCache::DonTcheckModificationTime) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/trashsizecache.cpp:188
#18 0x00007b227864bf8d in TrashSizeCache::calculateSize (this=0x7ffd295ca2c0) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/trashsizecache.cpp:135
#19 TrashImpl::trashSpaceInfo (info=<synthetic pointer>..., path=..., this=<optimized out>) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/trashimpl.cpp:763
#20 TrashProtocol::fileSystemFreeSpace (this=0x7ffd295ca6a0, url=...) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/kio_trash.cpp:642
#21 0x00007b227dc5cabc in KIO::WorkerSlaveBaseBridge::virtual_hook (this=0x579c4bf3fe20, id=<optimized out>, data=<optimized out>) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/core/workerbase_p.h:195
#22 0x00007b227dc59e75 in KIO::SlaveBase::dispatch (this=0x579c4bf3fe20, command=95, data=...) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/core/slavebase.cpp:1352
#23 0x00007b227dd061d7 in KIO::SlaveBase::dispatchLoop() [clone .constprop.0] (this=<optimized out>) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/core/slavebase.cpp:363
#24 0x00007b227dc5795d in KIO::WorkerBase::dispatchLoop (this=<optimized out>) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/core/workerbase.cpp:27
#25 0x00007b2278645d1f in kdemain (argc=<optimized out>, argv=<optimized out>) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/kio_trash.cpp:51
#26 0x0000579c4b0ef569 in main (argc=<optimized out>, argv=0x7ffd295caa48) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/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 1 Nate Graham 2024-11-14 19:22:03 UTC
*** Bug 496279 has been marked as a duplicate of this bug. ***