Project

General

Profile

Bug #11899

Failed to read camera white balance information from xxx.NEF on some pics from Nikon1 J1

Added by Mirek Kratochvil about 1 year ago. Updated about 1 year ago.

Status:
Duplicate
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
01/01/2018
Due date:
% Done:

0%

Affected Version:
2.4.0
System:
Debian
bitness:
64-bit
hardware architecture:
amd64/x86

Description

Hello,

I've come across this issue with several of NEFs I have (no generic pattern that would connect them, though, except they are all pretty dark).

Darktable complains about not being able to retrieve camera white balance from the picture. Work-arounding it (setting WB manually) doesn't work, the image never shows up in the darkroom (instead a "broken" lighttable is shown). Also, after opening the affected NEF, metadata of several other NEFs around seem to get broken a bit (they get different strings for Manufacturer, Model and flags); so it looks a bit like some weird memory corruption.

The log in the console says:

[defaults] found a 64-bit system with 8036460 kb ram and 4 cores (0 atom based)
[rawspeed] (_DSC0250.NEF) rawspeed::RawImage rawspeed::RawDecoder::decodeRaw(), line 284: void rawspeed::BitStream<Tag, Cache>::fillSafe() [with Tag = rawspeed::MSBBitPumpTag; Cache = rawspeed::BitStreamCacheRightInLeftOut], line 128: Buffer overflow read in BitStream
[temperature] failed to read camera white balance information from `_DSC0250.NEF'!
[temperature] `NIKON CORPORATION NIKON 1 J1' color matrix not found for image

Versions of several deps that I guess might important for this (but probably irrelevant, ask me if there's something I could add. Btw it's Debian Buster.):

libexiv2-14:amd64                     0.25-3.1
libgphoto2-6:amd64                    2.5.16-2
liblensfun1:amd64                     0.3.2-3
libopenexr22:amd64                    2.2.0-11.1 

Attaching one NEF that triggers the problem.

If there's any more information I could provide to help fixing this, please tell me (I have several more NEFs).


Related issues

Duplicates darktable - Bug #12209: [3/3] Regression: nikon lossy after split raw support are completely broken. Fixed 05/19/2018

History

#1 Updated by Mirek Kratochvil about 1 year ago

Btw. just tried latest git version, doesn't help.

#2 Updated by Roman Lebedev about 1 year ago

  • Duplicates Bug #11581: Huffmantable is broken. added

#3 Updated by Roman Lebedev about 1 year ago

  • Status changed from New to Duplicate

#4 Updated by Roman Lebedev about 1 year ago

  • File deleted (_DSC0250.NEF)

#5 Updated by Roman Lebedev about 1 year ago

  • Target version set to 2.6.0

#6 Updated by Roman Lebedev 8 months ago

  • Duplicates Bug #12209: [3/3] Regression: nikon lossy after split raw support are completely broken. added

#7 Updated by Roman Lebedev 8 months ago

  • Duplicates deleted (Bug #11581: Huffmantable is broken.)

Also available in: Atom PDF