Bug 435085

Summary: Some DNG files created with Adobe DNG Converter cause program to abort - Update to DNG SDK 1.5
Product: [Applications] digikam Reporter: Ted Cash <ted>
Component: Metadata-RawAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 7.2.0   
Target Milestone: ---   
Platform: Microsoft Windows   
OS: Microsoft Windows   
Latest Commit: Version Fixed In: 7.3.0
Sentry Crash Report:

Description Ted Cash 2021-03-28 21:33:27 UTC
SUMMARY
Scanning some DNG photos causes program to exit immediately.

STEPS TO REPRODUCE
1. Scan files to Add Collection
2. Program exits if certain .DNG files are present
3. All .DNG files were created with Adobe DNG Converter.  Most files created do not produce a problem.
4. I have about 10 files that will cause the program to crash every time.  Lightroom sees no problem with these files.

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 10 Pro 21H1
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
I am attaching one file that causes the program to crash.  I have several others if that would be helpful.
Comment 1 caulier.gilles 2021-03-29 04:30:46 UTC
Please share a DNG file to try to reproduce the dysfunction. Use cloud web service as GDrive for example.

Thanks in advance

Gilles Caulier
Comment 2 caulier.gilles 2021-05-07 05:14:07 UTC
Ted, 

We needs DNG samples created with Adobe Tool to identify the problem. 

Please use a cloud storage web service to share DNG. 

Thanks in advance. 

Gilles Caulier
Comment 3 caulier.gilles 2021-05-11 03:53:23 UTC
Ted,

Please repond to my previous comment. We need shared file samples to test.

Thanks in advance

Gilles Caulier
Comment 4 caulier.gilles 2021-05-11 03:59:23 UTC
Git commit 2e4f528a1b5c0fbba8916f3a471b081f912cbf4e by Gilles Caulier.
Committed on 11/05/2021 at 03:54.
Pushed by cgilles into branch 'master'.

Internal DNG SDK 1.15 have been updated to digiKam 7.3.0. Link internal libraw with this DNG SDK to improve DNG decoding images.
Related: bug 330920, bug 418645, bug 431689

M  +2    -2    core/libs/rawengine/CMakeLists.txt
M  +3    -1    core/tests/rawengine/CMakeLists.txt

https://invent.kde.org/graphics/digikam/commit/2e4f528a1b5c0fbba8916f3a471b081f912cbf4e
Comment 5 caulier.gilles 2021-05-11 05:34:21 UTC
Ted,

If you cannot share defect DNG files, at least give us which camera model you use exactly ?

Best

Gilles Caulier
Comment 6 caulier.gilles 2021-05-13 03:20:30 UTC
Using last 2021 Adobe DNG Converter for MacOS, i generated plenty of DNG files from my huge RAW files collection used for testing digiKam. RAW files type come from many camera with different Raw format (NEF, CR2, CR3, ARW, ORF, etc...)

All can be handle by digiKam 7.3.0 after upgrading DNG SDK to 1.5 and libraw to 20210504 snapshot.

I close this file now. Reopen if necessary.

Gilles Caulier