[Digikam-devel] [digikam] [Bug 339751] New: large tif files crash thumbnail generator (out of memory / sig11)

Peter Gervai grin at grin.hu
Tue Oct 7 15:00:41 BST 2014


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

            Bug ID: 339751
           Summary: large tif files crash thumbnail generator (out of
                    memory / sig11)
           Product: digikam
           Version: 4.3.0
          Platform: Debian unstable
                OS: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: Thumbnails
          Assignee: digikam-devel at kde.org
          Reporter: grin at grin.hu

I have found bug #314260 which described the problem: a directory contained a
dozen large (20+MB) TIFs (generated by hugin btw) and it crashed digikam at
startup. It was a bitch to figure out the problem since neither console nor
debug contained the exact filenames (nor hashes nor anything useful), so first
I thought it's about the pretty large thumbnails.db. Later it turned out that
digikam crashed by scanning or displaying a subdirectory so I clicked them
one-by-one (hadda be fast, like an action game) until the crasher was found.

digikam(5561)/digikam (core): Cannot allocate buffer of size 2408382400 
was one of the messages which probably mean that digikam wanted to use some
extreme amounts of memory to do whatever thumbnailing. I believe I'd prefer
_not_ to see thumbnails instead of startup crashing so probably some
pre-allocation checks are in high demand.

Reproducible: Always

Steps to Reproduce:
1. 30+ TIFs in 20+MB size thrown in the middle of a large image collection
subdir tree
2. start digikam
3. crash in 5 seconds



I used the Debian package, neither git nor debug version as I don't have right
now the bandwidth to gather all the stuff to compile it.

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list