Bug 305446

Summary: digiKam crashes after editing and tagging an image, then saving the changed image.
Product: [Applications] digikam Reporter: Oliver
Component: Tags-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.6.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Attachments: digikam crash report

Description Oliver 2012-08-19 16:57:06 UTC
digikam 2.60 crashed nearly every time when I edit an image, than add a tag and try to move to the next image. digikam asks if I want to save the edited image, I answer "Yes", the image gets saved and digikam crashes.

I get absolutely no crashes when I do not tag the image before saving it. Applying the tag later in the album viewer works fine.

Reproducible: Always

Steps to Reproduce:
1. edit an image, e.g. apply 'local contrast'
2. tag the image
3. advance to next image saying 'yes' when asked if the changed image should be saved
Actual Results:  
digikam crashes nearly every time. The edited image gets saved correctly. The problem doesn't occur when I do not tag it before saving it.

Expected Results:  
Image is saved and next image is opened for editing

segmentation fault, see attached crash report with debug information
Comment 1 Oliver 2012-08-19 16:58:12 UTC
Created attachment 73308 [details]
digikam crash report
Comment 2 caulier.gilles 2012-08-20 06:08:09 UTC

*** This bug has been marked as a duplicate of bug 298953 ***
Comment 3 Oliver 2012-08-20 18:12:34 UTC
Not sure if this really is a duplicate as editing and saving without tagging works fine here, no crashes at all. With tagging before saving the image it crashes nearly every time. But then, I'm not a developer.
Comment 4 caulier.gilles 2022-01-22 16:50:05 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=298953