Bug 510043

Summary: JPEG files getting corrupted with 0kb.
Product: [Applications] digikam Reporter: Duarte Guerreiro <duartwork>
Component: Maintenance-FacesAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: critical CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed/Implemented In: 9.0.0
Sentry Crash Report:
Attachments: Thumbnails green with 0kb file but with face recognitation confirmed!

Description Duarte Guerreiro 2025-09-29 10:07:14 UTC
Created attachment 185356 [details]
Thumbnails green with 0kb file but with face recognitation confirmed!

First of all, I don't have much experience in IT and I really appreciate the hard work of everyone who keeps Digikam running!!!!!!

I was tagging people's faces, but I started noticing that some thumbnails had that green icon indicating that the file could not be processed, until I realized that the files had 0KB. What worried me the most is that the files were of people and files for which I had already confirmed the identification, which means that I would have already seen that image and everything was fine, but now it is corrupted with 0KB.What I could remember is that sometimes the digikam crashes because it's an old i5, but still, corrupting the file is very distressing.
Comment 1 Maik Qualmann 2025-09-29 10:41:23 UTC
I don't think digiKam is the cause.
Are you writing the metadata to the images?

Please check your hard drive for errors and make a backup. I suspect your hard drive is dying.

Maik
Comment 2 caulier.gilles 2025-09-29 11:05:21 UTC
Sounds like the famous Exiv2 bug not able to write the Exif chunk > 64 Kb.

Using XMP sidecar instead to touch image file metadata must fix the problem.

Gilles Caulier
Comment 3 Maik Qualmann 2025-10-08 19:43:49 UTC
Any feedback on this? Do you write metadata to the images?
Have you checked the hard drive for errors?

Maik
Comment 4 caulier.gilles 2025-12-07 06:40:09 UTC
@ Duarte

Any feedback please following last comment from Maik ?

Gilles Caulier
Comment 5 caulier.gilles 2025-12-29 08:57:51 UTC
Not reproducible. Work around is to use ExifTool metadata backend. Closed.