Failed to read camera white balance information from xxx.NEF on some pics from Nikon1 J1
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).