Project

General

Profile

Bug #12186

Unable to open some DNG-Files created by Pentax-K7

Added by Paul Vasak 12 months ago. Updated 12 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
-
Start date:
05/06/2018
Due date:
% Done:

0%

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

Description

This may be related to Bug #11957
I'm running darktable on Gentoo.
I have set my Pentax cameras to store pictures as DNG and until now there hasn't been a problem.
Recently I am unable to open some of the DNG-Files, ORF- and PEF-Files seem to work fine though.
Inside dt I get an error-message saying "unable to read white balance" or "unknown file format" or "file doesn't exist" and on console it reads

[rawspeed] (IMGP2345.dng) void rawspeed::AbstractParallelizedDecompressor::startThreading(rawspeed::uint32) const, line 112: Too many errors encountered. Giving up. First Error:
void rawspeed::BitStream<Tag, Cache>::fillSafe() [with Tag = rawspeed::JPEGBitPumpTag; Cache = rawspeed::BitStreamCacheRightInLeftOut], line 128: Buffer overflow read in BitStream
[temperature] failed to read camera white balance information from `IMGP2345.dng'!
allocation failed???

The same file opens in RawTherapee without problems
Strangely this doesn't even affect all of my K3-Files and I'm unable to spot the difference (apparently I didn't even update the camera firmware).
I am attaching two DNG-Files named working.dng (opens in dt as expected) and notworking.dng (throwing the above mentioned errors when tried to open in dt, but opening without problem in RawTherapee.
Maybe someone can have a look into this issue.

Thank you

notworking.dng (11.3 MB) Paul Vasak, 05/06/2018 04:00 PM

working.DNG (13.9 MB) Paul Vasak, 05/06/2018 04:00 PM


Related issues

Related to darktable - Bug #11581: Huffmantable is broken. New 05/19/2018

History

#1 Updated by Roman Lebedev 12 months ago

  • Related to Bug #11581: Huffmantable is broken. added

#2 Updated by Paul Vasak 12 months ago

Downgraded to 2.2.5 and both of the attached dng-files open without any problem

Also available in: Atom PDF