Bug 403827

Summary: digikam crashes merging multiple tags to new parent
Product: [Applications] digikam Reporter: Steve Franks <stevef48>
Component: Tags-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, metzpinguin, stevef48
Priority: NOR    
Version First Reported In: 6.0.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 7.5.0
Sentry Crash Report:
Attachments: Debug log file
DebugView output after setting tags

Description Steve Franks 2019-02-01 11:21:25 UTC
Created attachment 117774 [details]
Debug log file

SUMMARY
Program Crashes when synchronising metadata

STEPS TO REPRODUCE
1. Move several keyword tags, which have been allocated to images, to a new parent.
2. Click yes to merge tags that already exist under the new parent.
3. 

OBSERVED RESULT
After correctly processing some tags the program crashes.

EXPECTED RESULT
Program continues to allow processing of duplicate tags.

SOFTWARE/OS VERSIONS
Windows: Windows 10 Home
MacOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.49.0
Qt Version: 5.11.2

ADDITIONAL INFORMATION
Dell G3 laptop 16gb RAM 500gb SSD digikam database on SSD, images on USB 3 external disk (3.63TB capacity 2.04TB space)
Comment 1 Maik Qualmann 2019-02-01 11:37:43 UTC
It looks like a crash in Exiv2. Can you test the file "SN857393.jpg", if this is the cause. Write additional tags in this file.

Maik
Comment 2 Steve Franks 2019-02-01 12:25:06 UTC
Created attachment 117775 [details]
DebugView output after setting tags

Another debug report this time after adding keywords to "SN857393.jpg"
Comment 3 Maik Qualmann 2019-02-01 20:56:19 UTC
The image "IMGP0013.JPG" is also defective and can not be read.

Another thing I notice is the wrong use of collection. You add all folders under "Photos" as a single collection. This is wrong, so that you have a separate trash for each folder and therefore very many. A collection would just add the "Photos" folder. I would start with a new database and setup. Normally you have only 1-4 collections, maybe 2 local, one on a USB drive, maybe images on a network drive.

Maik
Comment 4 Steve Franks 2019-02-02 17:07:25 UTC
Thank for your guidance.
I deleted the defective image IMGP0013.jpg as soon as I read the crash report..
I would have just added Photos, but wanted to keep the number of photos down. Is there a way to combine my multiple collections into 1? If not, I'll recreate the database and see what happens.

Would it help if I continued to post crash reports?
Steve
Comment 5 Steve Franks 2019-02-04 11:54:14 UTC
The crash seems to happen if the moved keywords have been applied to a large number of images.
It hasn't happened if there I only move/merge one keyword tag, or several with few images.
Comment 6 caulier.gilles 2020-01-12 22:46:05 UTC
Steve,

We have updated Qt to last 5.14 and KF5 to 5.65 in the bundles.

Can you reproduce the problem with digiKam 7.0.0-beta2 pre release ?

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier
Comment 7 caulier.gilles 2020-08-01 14:21:54 UTC
digiKam 7.0.0 stable release is now published and now available as FlatPak:

https://www.digikam.org/news/2020-07-19-7.0.0_release_announcement/

We need a fresh feedback on this file using this version.

Thanks in advance

Gilles Caulier
Comment 8 caulier.gilles 2021-03-30 06:53:41 UTC
digiKam 7.2.0 official release is published with more than 360 files closed from bugzilla:

https://www.digikam.org/news/2021-03-22-7.2.0_release_announcement/

Can you reproduce the dysfunction with this version ?

Thanks in advance for your feedback

Gilles Caulier
Comment 9 caulier.gilles 2021-05-07 17:21:48 UTC
Steve,

We need a fresh feedback here please...

Gilles Caulier
Comment 10 caulier.gilles 2021-12-15 09:29:51 UTC
Steve,

Stable digiKam 7.4.0 is published. Please check if problem is reproducible.

https://www.digikam.org/download/

Thanks in advance
Comment 11 caulier.gilles 2022-01-13 11:17:14 UTC
No feedback. not reproducible with 7.5.0. Closed