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

TraceyC <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CONFIRMED                   |REPORTED
            Summary|Images that are too big     |Images that are too big
                   |make the kernel terminate   |make the kernel OOM killer
                   |Dolphin                     |terminate Dolphin and then
                   |                            |kioworker crashes in
     Ever confirmed|1                           |0

--- Comment #9 from TraceyC <[email protected]> ---
Hi - just a heads up, our bug triaging procedures
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging#If_you_can_reproduce_the_bug
are to mark as bug as "Confirmed" if it has been able to be reproduced by folks
doing triage or development work, or if there is a large number of distinct
user reports coming in for the same issue. I'm setting this back to REPORTED.

(In reply to acidoglutamminico from comment #8)

> Im was not able to replicate dolphin crashing while running in gdb, but it
> happened again earlier while just using it normally. I can replicate
> kioworker crashing pretty reliably, but maybe should be a different bug
> report?

Let's keep this in the same report for now. If the developers want to split
this up, they'll let you know.

It looks like what's happening is:
1. Dolphin is killed by the oom killer due to memory being exhausted when you
open a folder containing tiff files over about 1.4GB
2. kioworker crashes in the TiffHandler



I'm not able to reproduce the OOM or crash with Plasma 6.7.5 and 32GB of RAM.
It does indeed seem that your system does run out of memory, hence the OOM
killer.
With that said, there should be a more graceful way to handle this
1. On the Dolphin side, guard against OOM situations from thumbnails / files
2. kioworker shouldn't crash

Relevant part of the backtrace

                Stack trace of thread 12276:
                #0  0x00007ffff747bccc __pthread_kill_implementation (libc.so.6
+ 0x74ccc)
                #1  0x00007ffff7420e8e raise (libc.so.6 + 0x19e8e)
                #2  0x00007ffff7d750d4 _ZN6KCrash19defaultCrashHandlerEi
(libKF6Crash.so.6 + 0x50d4)
                #3  0x00007ffff7420fb0 __restore_rt (libc.so.6 + 0x19fb0)
                #4  0x00007ffff729daeb inflate_fast_avx2 (libz.so.1 + 0x17aeb)
                #5  0x00007ffff7290882 inflate (libz.so.1 + 0xa882)
                #6  0x00007fffdd94ad13 ZIPDecode (libtiff.so.6 + 0x52d13)
                #7  0x00007fffdd944e25 PredictorDecodeRow (libtiff.so.6 +
0x4ce25)
                #8  0x00007fffdd94fb7e TIFFReadScanline (libtiff.so.6 +
0x57b7e)
                #9  0x00007fffdf12d321 _ZN12QTiffHandler4readEP6QImage
(libqtiff.so + 0x3321)
                #10 0x00007ffff4ead452 _ZN12QImageReader4readEP6QImage
(libQt6Gui.so.6 + 0xad452)
                #11 0x00007ffff1c92e1b
_ZN12ImageCreator6createERKN3KIO16ThumbnailRequestE (imagethumbnail.so + 0xe1b)
                #12 0x00007ffff7faa319
_ZN17ThumbnailProtocol15createThumbnailEP24ThumbCreatorWithMetadataRK7QStringiiR6QImage
(thumbnail.so + 0x6319)
                #13 0x00007ffff7fb1231 _ZN17ThumbnailProtocol3getERK4QUrl
(thumbnail.so + 0xd231)
                #14 0x00007ffff7e66336
_ZN3KIO21WorkerSlaveBaseBridge3getERK4QUrl (libKF6KIOCore.so.6 + 0x61336)
                #15 0x00007ffff7e61538
_ZN3KIO9SlaveBase8dispatchEiRK10QByteArray (libKF6KIOCore.so.6 + 0x5c538)
                #16 0x00007ffff7e61ca6 _ZN3KIO9SlaveBase12dispatchLoopEv
(libKF6KIOCore.so.6 + 0x5cca6)
                #17 0x00007ffff7fabbd6 kdemain (thumbnail.so + 0x7bd6)
                #18 0x0000555555554860 main (kioworker + 0x860)
                #19 0x00007ffff740a681 __libc_start_call_main (libc.so.6 +
0x3681)
                #20 0x00007ffff740a798 __libc_start_main@@GLIBC_2.34 (libc.so.6
+ 0x3798)
                #21 0x0000555555554bb5 _start (kioworker + 0xbb5)

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

Reply via email to