Bug 187015

Summary: Libraw breaks RW2 file handling
Product: [Applications] digikam Reporter: Matthias Welwarsky <matze>
Component: Plugin-DImg-RAWAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, lexa
Priority: NOR    
Version: 0.10.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description Matthias Welwarsky 2009-03-12 23:26:27 UTC
Version:            (using KDE 4.2.1)
OS:                Linux
Installed from:    Ubuntu Packages

libraw 0.6.16 imported into kdegraphics with svn revision 936988 breaks RW2 file development, the decoded image has false colors in highlight regions that look like results of integer overflow.
Comment 1 caulier.gilles 2009-03-13 06:26:57 UTC
Matthias,

libraw 0.6.16 in KDE 4.2 branch? are you sure :

http://websvn.kde.org/branches/KDE/4.2/kdegraphics/libs/libkdcraw/libraw/libraw/libraw_version.h?revision=936988&view=markup

Gilles Caulier
Comment 2 Alex Tutubalin 2009-03-13 06:52:41 UTC
At least, there is no LibRaw 0.6.16 :)

Lates version in 0.6 branch is 0.6.14. I think, Gilles has mistyped in announce.
Comment 3 Alex Tutubalin 2009-03-13 06:54:16 UTC
Also, I need sample RW2 file to play with.
Comment 4 Matthias Welwarsky 2009-03-13 08:31:13 UTC
Whoops, sorry, my bad.
I misread the svn log, I thought it was 0.6.16
But the svn revision is correct. If I revert it, all is fine again.

Alex, where can I upload a sample? Can bugzilla handle such big attachements?
Comment 5 Alex Tutubalin 2009-03-13 09:04:57 UTC
Unfortunately, I've no ftp server with open upload.

You can use some of 'file sharing' services, such as rapidshare or megaupload.com
Just send me link to personal mail (or post it here)
Comment 6 Alex Tutubalin 2009-03-13 16:58:55 UTC
I was able to reproduce the problem on my samples. You don't need to send me yours :)

Working on fix now.
Comment 7 Alex Tutubalin 2009-03-13 19:55:08 UTC
This bug fixed in LibRaw 0.6.15.
Comment 8 caulier.gilles 2009-03-13 21:23:34 UTC
SVN commit 939097 by cgilles:

libkdcraw from KDE4.2 branch : update internal libraw to 0.6.15
BUG: 187015


 M  +6 -0      NEWS  
 M  +41 -21    libraw/internal/dcraw_common.cpp  
 M  +2 -2      libraw/internal/defines.h  
 M  +7 -7      libraw/internal/foveon.cpp  
 M  +1 -0      libraw/internal/libraw_internal_funcs.h  
 M  +1 -1      libraw/libraw/libraw_version.h  


WebSVN link: http://websvn.kde.org/?view=rev&revision=939097
Comment 9 Matthias Welwarsky 2009-03-14 09:37:15 UTC
yes, its fixed.
Comment 10 caulier.gilles 2019-12-23 17:34:47 UTC
Not reproducible with digiKam 7.0.0-beta1.