Bug 368794 - digiKam crashes with lossy dng image
Summary: digiKam crashes with lossy dng image
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-DImg-RAW (show other bugs)
Version: 5.1.0
Platform: Microsoft Windows Microsoft Windows
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-09-14 09:39 UTC by herb
Modified: 2020-08-12 08:17 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In: 5.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description herb 2016-09-14 09:39:49 UTC
Hello, 
Im am working with digikam 5.1.0 on a windows XP system.

Digikam and also ShowFoto (5.1.0) both crash when I try to open a lossy dng image.
As long as I work with the embedded preview/thumbnail image only, everything is fine.

But with access to the "image data" itself both crash. 
I cannot decide whether this happens with all lossy dng images or only with this specific one, which I found in internet and downloaded for some specific dcraw tests some years ago.

Reproducible: Always

Steps to Reproduce:
1.Try to edit the lossy dng image.
2.
3.

Actual Results:  
DigiKam and ShowFoto crash.
I do not see any error report on screen.

Expected Results:  
As far as I know is dcraw able to work with lossy dng images.
So digikam should atleast give en error message, in case of it is not able to work with lossy dng files.

I can send the lossy dng file which has a size of about 17 MB.
Where should I send it to?

Thanks in advance.
Best Regards
Herb
Comment 1 caulier.gilles 2016-09-14 10:27:07 UTC
Share a DNG sample file through a cloud service to test 

Gilles Caulier
Comment 2 herb 2016-09-14 15:44:22 UTC
Please download the file from dropbox:
https://www.dropbox.com/s/3zkbnz6pa59415z/Bug_368794_lossy.zip?dl=0

Best regards
Herb
Comment 3 Maik Qualmann 2016-09-14 18:27:00 UTC
Do not crash here on Linux, only an error message from Exiv2 in the console. I check it again on Windows. Do you use determine settings for the DNG import?

Maik
Comment 4 herb 2016-09-21 11:22:08 UTC
Hello,

Sorry for my late reply and sorry, but it is not clear to me for which setting(s) you ask.

On the other hand the following additional information:
Putting the *.dng image on light-table forces the XP-system to send a report about the crash in libdigikamcore.dll at 0x0018a9d0.

Maybe that helps a liitle bit.
Best regards
Herb
Comment 5 caulier.gilles 2016-09-21 11:38:37 UTC
>forces the XP-system to send a report about the crash

You use Windows XP ? digiKam is not compiled to support this old system. Only Win 7 and later are supported.

Gilles Caulier
Comment 6 caulier.gilles 2016-09-24 17:22:30 UTC
herb,

Do you seen my previous comment ?

Gilles Caulier
Comment 7 herb 2016-09-24 18:20:56 UTC
Hello,

thanks for your comments.
It is new to me, that digiKam is not compiled to run on Win XP.
digiKam 5.1.0 and also 5.2.0 run without "big problems" on XP. But I am aware to be a newby.

On one hand I am sure that the crash I have reported is not a XP specific problem.
On the other hand I am looking for an oppurtunity to test e.g. on a Win7 system. I am sorry, but this will take a while.

Best regards
Herb
Comment 8 herb 2016-10-05 11:14:31 UTC
Hello,

Sorry for the big delay, but it took more time than expected to get a running Win 7 system.

On this Win 7 system I installed digiKam 5.2.0 and repeated all steps done on my previous XP system.
The crash on XP caused by the lossy *.dng file could NOT be reproduced. All is fine.

So please close this bug report.
Sorry for making so much noise, but I really did not know that didiKam does not run on XP.

Best regards
Herb