Bug 327087

Summary: digiKam freezes, when adding tags
Product: [Applications] digikam Reporter: Axel Krebs <axel.krebs>
Component: Metadata-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: grave CC: caulier.gilles
Priority: NOR    
Version: 3.4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.3.0
Sentry Crash Report:
Attachments: Text file obtained by gdb

Description Axel Krebs 2013-11-03 14:02:15 UTC
when adding tags, digiKam adds these accoring to the settings to the pic or to xml-files.

Earlier versions could handle douzends of subsequently addied tags, even with douzends or even hundreds of pic per tag ("key word").

Now, since digiKam 3.40, I experience "hangers". Even the facts, that some processes should run in parallel, digiKam can not handle thes events properly.

Pics are NEF/jpg from NIKON D800, most of the time with sizes of 45 MB and 20 MB, respective.. 

As digiKAM freezes, regular help system (bug reporting) is not available any more
Several eboot does not seem to change anything.

Reproducible: Always

Steps to Reproduce:
1. start adding tags
2. add a number of tags including several to many pics per tag
3. experience freezing digiKam
Actual Results:  
digiKAM freezes

Expected Results:  
digiKAM shoukld handle those events without any limits- especially fot the background, that it runs 8hopefully) in severel parllel processes.
Comment 1 caulier.gilles 2013-11-03 15:41:09 UTC
Run digiKam in a console and look trace written...

Gilles Caulier
Comment 2 caulier.gilles 2013-11-30 21:55:57 UTC
Axel,

Any feedback here following my previous comment ?

Gilles Caulier
Comment 3 Chabot Daniel 2014-01-17 13:19:33 UTC
Created attachment 84689 [details]
Text file obtained by gdb

I'm french, sorry for my english.
I've just found gdb today and i have a problem, after the crash, and my return to gdb for the command "thread apply all bt", it ask me "return to continue or q return to quit". I have press return several time but it seems there is no end.
The crash arrive after i have open digikam, browse some photo and change folder (or album in french).
Dont be angry with me, it's my first bug report and i'm not sure of wat i do.
Comment 4 caulier.gilles 2014-01-17 13:46:38 UTC
It crash due to an exception to Exiv2 shared library: 

Breakpoint 2, __cxxabiv1::__cxa_throw (obj=0x7fff68078320, tinfo=0x31e168f060 <typeinfo for Exiv2::BasicError<char>>, dest=0x3540485d80 <Exiv2::BasicError<char>::~BasicError()>)
    at ../../../../libstdc++-v3/libsupc++/eh_throw.cc:62
62	{

Please report this problem to Exiv2 bugzilla.

Thanks in advance

Gilles Caulier
Comment 5 caulier.gilles 2021-05-05 10:24:14 UTC
Not reproducible with digiKam 7.3.0 and Exiv2 0.27.4