Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 456734

Summary: darktable-1.1.3 LibRaw warning, LibRaw update needed/desirable?
Product: Gentoo Linux Reporter: mjbjr
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED UPSTREAM    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description mjbjr 2013-02-11 07:20:44 UTC
* QA Notice: Package triggers severe warnings which indicate that it
  *            may exhibit random runtime failures.
  *
/var/tmp/portage/media-gfx/darktable-1.1.3/work/darktable-1.1.3/src/external/LibRaw/src/libraw_cxx.cpp:844:87: 
warning: array subscript is above array bounds


I posted to the LibRaw community on G+ and got this response:

Jose Carlos Garcia Sogo 10:31
 Reply
"Libraw is an external lib, actually the one that runs under dcraw. It is bundled in darktable to assure the version we are running. So, basically, this bug should be filled there so it us solved in the proper place. Also, we are using mostly rawspeed as the raw decoding library, and we are only using Libraw as a fallback. 

Anyway, thanks for the bug report."


So, I posted the warning to the LibRaw community and got this response
from Alex Tutubalin, the Libraw author:

Alex Tutubalin <lexa@lexa.ru>
11:00 PM (18 minutes ago)

Hi,

thank you for report.

Darktable 1.1.3 uses (old) LibRaw 0.14.7. Consider switching to LibRaw 0.15 (currently in beta).
Comment 1 mjbjr 2013-02-11 07:47:05 UTC
In an additional email Alex writes:

Alex Tutubalin <lexa@lexa.ru>
11:18 PM (26 minutes ago)

Hi,

LibRaw 0.15 is *very* stable. I use it in my RawDigger software (www.rawdigger.com) and in another program (currently in private testing, so no disclosure).
The only *unstable* thing is ABI and possible internals change. It may change in next several LibRaw 0.15 releases, so it is named 'beta'.
From darktable side this is not a problem, because darktable uses 'own' copy of LibRaw, so no binary compatibility with libraw.so is needed.
Comment 2 Tim Harder gentoo-dev 2013-02-11 09:34:34 UTC
It would have been nice to note and follow the instructions of the next few lines seen below that are shown after that QA notice. Next time please open a bug upstream, thanks.

* Please do not file a Gentoo bug and instead report the above QA
* issues directly to the upstream developers of this software.
* Homepage: http://www.darktable.org/