Bug 496279

Summary: Impossibilité de détruire un fichier en le mettant à la corbeille !
Product: [Frameworks and Libraries] frameworks-kio Reporter: Diego <dcn2free>
Component: TrashAssignee: KIO Bugs <kio-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kdelibs-bugs, nate
Priority: NOR Keywords: drkonqi
Version: 6.7.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Diego 2024-11-14 19:13:47 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: X11
Distribution: KDE neon 6.2
DrKonqi: 6.2.3 [CoredumpBackend]

-- Information about the crash:
Un matin après une mise à jour de différentes applications il ne m'était plus possible de mettre des fichiers à la corbeille et j'obtenais un message qui doit se trouver dans les fichiers joints

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 3754]
[New LWP 4037]
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 0x71fffe914d00 (LWP 3754))]

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/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 0x71fffe914d00 (LWP 3754))]

Thread 2 (Thread 0x71fffd8006c0 (LWP 4037)):
#0  0x000072000371b4cd in __GI___poll (fds=0x5bcd59b54340, nfds=2, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007200031ae66e in g_main_context_poll_unlocked (priority=2147483647, n_fds=2, fds=0x5bcd59b54340, timeout=<optimized out>, context=0x71fff8000c90) at ../../../glib/gmain.c:4521
#2  g_main_context_iterate_unlocked.isra.0 (context=context@entry=0x71fff8000c90, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4212
#3  0x000072000314ea53 in g_main_context_iteration (context=0x71fff8000c90, may_block=1) at ../../../glib/gmain.c:4282
#4  0x0000720003c6f4ff in QEventDispatcherGlib::processEvents (this=0x71fff8000ba0, flags=...) at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/kernel/qeventdispatcher_glib.cpp:396
#5  0x0000720003ec89bb in QEventLoop::exec (this=0x71fffd7ff800, flags=...) at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qflags.h:34
#6  0x0000720003dcb7d7 in QThread::exec (this=this@entry=0x7200032f4280 <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  0x00007200032d698d in QDBusConnectionManager::run (this=0x7200032f4280 <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  0x0000720003d85e47 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=0x7200032f4280 <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 0x000072000369ca94 in start_thread (arg=<optimized out>) at ./nptl/pthread_create.c:447
#12 0x0000720003729c3c in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:78

Thread 1 (Thread 0x71fffe914d00 (LWP 3754)):
[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  0x000072000364526e in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#10 0x00007200036288ff in __GI_abort () at ./stdlib/abort.c:79
#11 0x0000720003eda02c in qAbort () at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qassert.cpp:49
#12 0x0000720003f08df8 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=0x720003c42548 "ASSERT: \"%s\" in file %s, line %d", ap=ap@entry=0x7ffee7b23c78) at /usr/src/qt6-base-6.8.0-0zneon+24.04+noble+release+build17/src/corelib/global/qlogging.cpp:382
#14 0x0000720003f0d5b5 in QMessageLogger::fatal (this=<optimized out>, msg=0x720003c42548 "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 0x0000720003eda120 in qt_assert (assertion=assertion@entry=0x71fffe3de5c6 "QFile::exists(fileInfoPath)", file=file@entry=0x71fffe3ddd60 "./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 0x000071fffe3c629e in TrashSizeCache::getTrashFileInfo (this=this@entry=0x7ffee7b24410, fileName=...) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/trashsizecache.cpp:108
#17 0x000071fffe3d76a5 in TrashSizeCache::add (this=this@entry=0x7ffee7b24410, directoryName=..., directorySize=directorySize@entry=86009401) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/trashsizecache.cpp:55
#18 0x000071fffe3d7ff5 in TrashSizeCache::scanFilesInTrash (this=0x7ffee7b24410, checkDateTime=TrashSizeCache::DonTcheckModificationTime) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/trashsizecache.cpp:205
#19 0x000071fffe3d1f8d in TrashSizeCache::calculateSize (this=0x7ffee7b24410) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/trashsizecache.cpp:135
#20 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
#21 TrashProtocol::fileSystemFreeSpace (this=0x7ffee7b247f0, url=...) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/kioworkers/trash/kio_trash.cpp:642
#22 0x000072000409dabc in KIO::WorkerSlaveBaseBridge::virtual_hook (this=0x5bcd59b95080, 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
#23 0x000072000409ae75 in KIO::SlaveBase::dispatch (this=0x5bcd59b95080, command=95, data=...) at /usr/src/kf6-kio-6.8.0-0zneon+24.04+noble+release+build12/src/core/slavebase.cpp:1352
#24 0x00007200041471d7 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
#25 0x000072000409895d 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
#26 0x000071fffe3cbd1f 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
#27 0x00005bcd584d1569 in main (argc=<optimized out>, argv=0x7ffee7b24b98) 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

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