[digikam] [Bug 376661] When importing ~200,000 video files Digikam crashes in about 2-5 seconds of starting.

Poz bugzilla_noreply at kde.org
Wed Feb 22 05:12:36 GMT 2017


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

--- Comment #9 from Poz <pozniakdp at gmail.com> ---
Still running the 5.5.0pre
Okay so I went to the https://www.digikam.org/contrib and tryed a few things
with limited success, I will try more tomorrow.
First, the gdb in windows, not working well. I type in 'catch throw', and get
back 'Catchpoint 1 (throw)', seems good. Then I type in 'run' and get back:
-
Starting program:
No executable specified, use `target exec'.
-
Not sure what to do here??

Second thing I tried is the third party debug tool from system internals:
https://technet.microsoft.com/en-us/sysinternals/bb896647.aspx
Looks like some bad stuff happening for about 10.2 seconds before it crashes:
00000009        1.02899146      [17040] digikam.general: Trying to load
Embedded preview with libraw    
00000010        1.02921200      [17040] digikam.rawengine: Failed to load
embedded RAW preview  
00000011        1.02923596      [17040] digikam.general: Trying to load half
preview with libraw        
00000012        1.02927971      [17040] digikam.general: Trying to load
Embedded preview with Exiv2     
00000013        1.04443121      [17040] digikam.dimg: "Removed file path and
name"  : QIMAGE file identified    
00000014        1.04464126      [17040] digikam.dimg.qimage: Can not load "
"Removed file path and name" " using DImg::QImageLoader!    
00000015        1.04492271      [17040] digikam.general: mimetype =  ""  ext = 
"MOV"   
00000016        1.04507148      [17040] digikam.general: Cannot create
thumbnail for  "Removed file path and name"      
00000017        1.04512084      [17040] digikam.general: Thumbnail is null for 
"Removed file path and name"

I removed the file path and name for privacy reasons.
this repeats for various videos until crash, takes about 2/10ths of a second
per loop? (looks like from that snipit I gave you). video file types are
various, avi, flv, mov, mp4, and more, the example above is just mov. 

This happens before the loops start when I hit refresh:
00000005        0.91890234      [17040] digikam.general: Using  8  CPU core to
run threads      
00000006        0.91933465      [17040] digikam.general: Action Thread run  1 
new jobs 
00000007        0.93396312      [17040] digikam.general: Cancel Main Thread     
00000008        0.93400776      [17040] digikam.general: One job is done

I will try to get more info tomorrow.

Also two other questions, I turned off the album sync when it starts because it
was crashing. How do I start it artificially, I thought that is what refresh
does, not apparently refresh only updates the thumbnails. 
Also is it possible to do the FUZZY search on the thumb nails to file potential
duplicates? This is my real intent. I want to cut that 200,000 videos down to
100,000. 
If not, is this a future feature? Can it be one? High demand I think.

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


More information about the Digikam-devel mailing list