https://bugs.kde.org/show_bug.cgi?id=518251

            Bug ID: 518251
           Summary: Kio crashes when trying to delete files to trash
    Classification: Frameworks and Libraries
           Product: frameworks-kio
      Version First unspecified
       Reported In:
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Trash
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]
  Target Milestone: ---

SUMMARY
kio_trash crashes when trying to move files to trash. It appears to mostly
happen on files with larger file sizes. Removing items from the trash will
(temporarily) fix the issue, suggesting there's some file size limit to the
trash (looks to be around 50 GB?)

STEPS TO REPRODUCE
1. Have close to 50 GB in trash
2. Press delete on a file in Dolphin: it says the trash protocol crashed

OBSERVED RESULT
Result in logs:

kioworker[43603]: ASSERT: "value < maximalPlusOne" in file
/usr/include/x86_64-linux-gnu/qt6/QtCore/qnumeric.h, line 516
dolphin[43603]: KCrash: Application 'kioworker' crashing...
crashRecursionCounter = 2
systemd-coredump[43976]: [šŸ”•] Process 43603 (kioworker) of user 1000 dumped
core.

                                         Module libgomp.so.1 from deb
gcc-14-14.2.0-4ubuntu2~24.04.1.amd64
                                         Module libudev.so.1 from deb
systemd-255.4-1ubuntu8.14.amd64
                                         Module libgcc_s.so.1 from deb
gcc-14-14.2.0-4ubuntu2~24.04.1.amd64
                                         Module libzstd.so.1 from deb
libzstd-1.5.5+dfsg2-2build1.1.amd64
                                         Module libsystemd.so.0 from deb
systemd-255.4-1ubuntu8.14.amd64
                                         Module libstdc++.so.6 from deb
gcc-14-14.2.0-4ubuntu2~24.04.1.amd64
                                         Stack trace of thread 43603:
                                         #0  0x000077a05229eb2c
__pthread_kill_implementation (libc.so.6 + 0x9eb2c)
                                         #1  0x000077a05224527e __GI_raise
(libc.so.6 + 0x4527e)
                                         #2  0x000077a05357cf57
_ZN6KCrash19defaultCrashHandlerEi (libKF6Crash.so.6 + 0x7f57)
                                         #3  0x000077a052245330 __restore_rt
(libc.so.6 + 0x45330)
                                         #4  0x000077a05229eb2c
__pthread_kill_implementation (libc.so.6 + 0x9eb2c)
                                         #5  0x000077a05224527e __GI_raise
(libc.so.6 + 0x4527e)
                                         #6  0x000077a0522288ff __GI_abort
(libc.so.6 + 0x288ff)
                                         #7  0x000077a052f61a31 n/a
(libQt6Core.so.6 + 0x561a31)
                                         #8  0x000077a052f63310
_ZNK14QMessageLogger5fatalEPKcz (libQt6Core.so.6 + 0x563310)
                                         #9  0x000077a052f4dc11
_Z9qt_assertPKcS0_i (libQt6Core.so.6 + 0x54dc11)
                                         #10 0x000077a04d396520 n/a
(kio_trash.so + 0x25520)
                                         #11 0x000077a04d39390c n/a
(kio_trash.so + 0x2290c)
                                         #12 0x000077a04d392f11 n/a
(kio_trash.so + 0x21f11)
                                         #13 0x000077a04d38d941 n/a
(kio_trash.so + 0x1c941)
                                         #14 0x000077a04d37fc09 n/a
(kio_trash.so + 0xec09)
                                         #15 0x000077a04d37ec4f n/a
(kio_trash.so + 0xdc4f)
                                         #16 0x000077a053307494 n/a
(libKF6KIOCore.so.6 + 0x107494)
                                         #17 0x000077a0532fddd2 n/a
(libKF6KIOCore.so.6 + 0xfddd2)
                                         #18 0x000077a0532f870d n/a
(libKF6KIOCore.so.6 + 0xf870d)
                                         #19 0x000077a053304d36
_ZN3KIO10WorkerBase12dispatchLoopEv (libKF6KIOCore.so.6 + 0x104d36)
                                         #20 0x000077a04d37d93b kdemain
(kio_trash.so + 0xc93b)
                                         #21 0x00005ad6c679399b n/a (kioworker
+ 0x199b)
                                         #22 0x000077a05222a1ca
__libc_start_call_main (libc.so.6 + 0x2a1ca)
                                         #23 0x000077a05222a28b
__libc_start_main_impl (libc.so.6 + 0x2a28b)
                                         #24 0x00005ad6c67933c5 n/a (kioworker
+ 0x13c5)
                                         ELF object binary architecture: AMD
x86-64
kioworker[43986]: couldn't stat  "fileitrytodelete" , relevant trashinfo file
will be removed

drkonqi-coredump-launcher[43987]: KCrash metadata not marked complete. Please
file a bug at bugs.kde.org giving as much detail about the crash as possible
and maybe include the file
"~/.cache/kcrash-metadata/kioworker.f5944245f5a94dafadb500a035e129ae.44817.ini

File:
~/.cache/kcrash-metadata/kioworker.f5944245f5a94dafadb500a035e129ae.44817.ini:
[KCrash]
exe=/usr/lib/x86_64-linux-gnu/libexec/kf6/kioworker
qtversion=6.10.2
kdeframeworksversion=6.24.0
appname=kioworker
apppath=/usr/lib/x86_64-linux-gnu/libexec/kf6
signal=6
pid=44817
appversion=6.24.0
programname=
[email protected]
[KCrashComplete]
Complete=1


EXPECTED RESULT
Either move the file to trash or give a warning trash has reached its limit.
Don't crash.


SOFTWARE/OS VERSIONS
Operating System: KDE neon User Edition
KDE Plasma Version: 6.6.3
KDE Frameworks Version: 6.24.0
Qt Version: 6.10.2
Kernel Version: 6.17.0-19-generic (64-bit)
Graphics Platform: Wayland
Processors: 8 Ɨ 11th Gen IntelĀ® Coreā„¢ i7-1185G7 @ 3.00GHz
Memory: 16 GiB of RAM (15.4 GiB usable)
Graphics Processor: IntelĀ® IrisĀ® Xe Graphics

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to