Project

General

Profile

Bug #12603

Some Leica DNGs fail to read (corrupt JPEG embeds)

Added by Mikael Puhakka 10 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
02/18/2019
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.4.4
System:
other GNU/Linux
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Affected version: 2.6.0 (installed/built from gentoo portage)

19:21 <LebedevRI> progo: hm, i see why simply padding didn't work. the jpeg blob, after the image, ends with some marker "0x4c", instead of 0xd9 (M_EOI, end of image). i'm guessing dcraw just aborts after decoding the image, does not even look for the next marker

LebedevRI also noted that the bug is identical with this one: https://github.com/darktable-org/rawspeed/issues/144

Because this is not consistent behavior (after having shot & read 1100+ DNGs, these two are the only problematic files so far), card failure is not entirely ruled out.

Attached: two bad ones and one good one for comparison. Also the debug log.

debug.log (80.3 KB) debug.log Mikael Puhakka, 02/18/2019 08:56 PM
5200_good.dng (28.2 MB) 5200_good.dng Mikael Puhakka, 02/18/2019 09:02 PM
5182_bad.dng (26.6 MB) 5182_bad.dng Mikael Puhakka, 02/18/2019 09:07 PM
5201_bad.dng (29.4 MB) 5201_bad.dng Mikael Puhakka, 02/18/2019 09:13 PM

Also available in: Atom PDF

Go to top