Project

General

Profile

Bug #11923

Unable to load white balance

Added by JP vdm 6 months ago. Updated 6 months ago.

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

0%

Affected Version:
git master branch
System:
all
bitness:
64-bit
hardware architecture:
amd64/x86

Description

This error occurs only for some NEF files from Nikon 1 since version 2.4.0 under Linux (Archlinux, Fedora, Unbuntu). I have uploaded file
https://raw.pixls.us/getfile.php/2210/nice/Nikon%20-%201%20V1%20-%2012bit%20compressed%20(Lossy%20(type%202))%20(3:2).NEF
This error also occurs in the past for version 2.0.6 but was corrected after.
Console message:
[rawspeed] (DSC_4274.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


Related issues

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

History

#1 Updated by Roman Lebedev 6 months ago

  • Duplicates Bug #11581: Huffmantable is broken. added

#2 Updated by Roman Lebedev 6 months ago

  • Status changed from New to Duplicate
  • Affected Version changed from 2.4.0 to git master branch
  • System changed from Fedora/RHEL to all

Please note that we don't have a working sample from that camera under CC0.
So please also contribute there some sample that does load fine.

#3 Updated by St├ęphane Gourichon 6 months ago

Summary: this is a blocker bug, as indeed file cannot be edited in the darkroom.

Reproduced here with the sample NEF mentioned by OP.
darktable 2.4.0 from http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu on Ubuntu 16.04 AMD64.

Entering darkroom half-fails: center panel does not refresh, but modules on the right do appear and can be expanded/collapsed, their settings changed and so on, settings are shown in history on the left, saved in xmp. User has no feedback about effect of modules. E.g. zone module works but does not show grey areas from photo in its panel, only darktable logo.

White balance module shows : temp 25000k, red 2.000 green 1.000 blue 2.500, and preset list only offers "camera", "camera neutral" and "spot".

As soon as one edit is made, lighttable ever shows a skull for that image.

Never had this in any previous or currant darktable version with my ~100k Nikon NEF files (mostly D60, D5200, never Nikon 1).

Hope this helps.

#4 Updated by JP vdm 6 months ago

Roman Lebedev wrote:

Please note that we don't have a working sample from that camera under CC0.
So please also contribute there some sample that does load fine.

Provided file works with DT 2.2.5 , I shall provide a similar file (NEF Nikon 1 V1) working with 2.4.0

#5 Updated by Roman Lebedev 6 months ago

St├ęphane Gourichon wrote:

Summary: this is a blocker bug, as indeed file cannot be edited in the darkroom.

Yes, i'm aware, i will get to this soon.

Reproduced here with the sample NEF mentioned by OP.
darktable 2.4.0 from http://ppa.launchpad.net/pmjdebruijn/darktable-release/ubuntu on Ubuntu 16.04 AMD64.

Entering darkroom half-fails: center panel does not refresh, but modules on the right do appear and can be expanded/collapsed, their settings changed and so on, settings are shown in history on the left, saved in xmp. User has no feedback about effect of modules. E.g. zone module works but does not show grey areas from photo in its panel, only darktable logo.

White balance module shows : temp 25000k, red 2.000 green 1.000 blue 2.500, and preset list only offers "camera", "camera neutral" and "spot".

As soon as one edit is made, lighttable ever shows a skull for that image.

What actually happens is that the decoding fails, but darkroom is dumb, and does not differentiate between "loading failed" and "image is still loading", so it is in this hanged state.

Never had this in any previous or currant darktable version with my ~100k Nikon NEF files (mostly D60, D5200, never Nikon 1).

Yeah, this is quite rare.

Hope this helps.

JP vdm wrote:

Roman Lebedev wrote:

Please note that we don't have a working sample from that camera under CC0.
So please also contribute there some sample that does load fine.

Provided file works with DT 2.2.5 , I shall provide a similar file (NEF Nikon 1 V1) working with 2.4.0

That would be awesome :)

#6 Updated by Roman Lebedev 6 months ago

JP vdm wrote:

Roman Lebedev wrote:

Please note that we don't have a working sample from that camera under CC0.
So please also contribute there some sample that does load fine.

Provided file works with DT 2.2.5 , I shall provide a similar file (NEF Nikon 1 V1) working with 2.4.0

Please do note that there are some guidelines on the RPU, in particular,

We are looking for shots that are:
  Landscape orientation

#7 Updated by JP vdm 6 months ago

Roman Lebedev wrote:

Please note that we don't have a working sample from that camera under CC0.
So please also contribute there some sample that does load fine.

Now done.

https://raw.pixls.us/getfile.php/2217/nice/Nikon%20-%201%20V1%20-%2012bit%20compressed%20(Lossy%20(type%202))%20(3:2).NEF

#8 Updated by Roman Lebedev 6 months ago

JP vdm wrote:

Roman Lebedev wrote:

Please note that we don't have a working sample from that camera under CC0.
So please also contribute there some sample that does load fine.

Now done.

https://raw.pixls.us/getfile.php/2217/nice/Nikon%20-%201%20V1%20-%2012bit%20compressed%20(Lossy%20(type%202))%20(3:2).NEF

Yep, thanks!

#9 Updated by Roman Lebedev 6 months ago

  • Target version changed from Future to 2.6.0

#10 Updated by Roman Lebedev 2 months ago

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

#11 Updated by Roman Lebedev 2 months ago

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

Also available in: Atom PDF