[digikam] [Bug 367640] Crash when decoding Canon 550D RAW file using VNG interpolation with libraw 0.18

2016-11-01 Thread bugzilla_noreply
https://bugs.kde.org/show_bug.cgi?id=367640

caulier.gil...@gmail.com changed:

   What|Removed |Added

  Latest Commit||http://commits.kde.org/digi
   ||kam/2c67e6ffd23d8e7fda2704e
   ||875378b7f2da20905
   Version Fixed In||5.3.0
 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #10 from caulier.gil...@gmail.com ---
Git commit 2c67e6ffd23d8e7fda2704e875378b7f2da20905 by Gilles Caulier.
Committed on 01/11/2016 at 17:00.
Pushed by cgilles into branch 'master'.

Internal Libraw updated to 0.18-beta1 with 78 cameras added,
floating point DNG support, decode exotic DNG formats e.g. 8-bit DNG,
and more metadata parsed while decoding as white balance presets,
DNG colordata, vendor specific metadata.

See Libraw announcement for details :
http://www.libraw.org/news/libraw-0-18-beta1
Related: bug 368862, bug 328321, bug 257737, bug 347010

FIXED-IN: 5.3.0

M  +5-0NEWS
M  +1-5libs/rawengine/libraw/COPYRIGHT
M  +230  -235  libs/rawengine/libraw/Changelog.txt
M  +0-0libs/rawengine/libraw/LICENSE.CDDL
M  +0-0libs/rawengine/libraw/LICENSE.LGPL
M  +4-5libs/rawengine/libraw/README
A  +34   -0libs/rawengine/libraw/README.DNGSDK.txt
M  +1-4libs/rawengine/libraw/internal/aahd_demosaic.cpp
M  +1682 -1038 libs/rawengine/libraw/internal/dcraw_common.cpp
M  +1-4libs/rawengine/libraw/internal/dcraw_fileio.cpp
M  +3-6libs/rawengine/libraw/internal/defines.h
M  +1-10   libs/rawengine/libraw/internal/demosaic_packs.cpp
M  +1-4libs/rawengine/libraw/internal/dht_demosaic.cpp
M  +16   -6libs/rawengine/libraw/internal/libraw_internal_funcs.h
M  +1080 -551  libs/rawengine/libraw/internal/libraw_x3f.cpp
M  +1-3libs/rawengine/libraw/internal/var_defines.h
M  +1-10   libs/rawengine/libraw/internal/wf_filtering.cpp
M  +29   -21   libs/rawengine/libraw/libraw/libraw.h
M  +1-4libs/rawengine/libraw/libraw/libraw_alloc.h
M  +10   -32   libs/rawengine/libraw/libraw/libraw_const.h
M  +5-8libs/rawengine/libraw/libraw/libraw_datastream.h
M  +2-6libs/rawengine/libraw/libraw/libraw_internal.h
M  +67   -28   libs/rawengine/libraw/libraw/libraw_types.h
M  +3-6libs/rawengine/libraw/libraw/libraw_version.h
M  +1-5libs/rawengine/libraw/samples/4channels.cpp
M  +51   -10   libs/rawengine/libraw/samples/dcraw_emu.cpp
M  +1-5libs/rawengine/libraw/samples/dcraw_half.c
M  +1-4libs/rawengine/libraw/samples/half_mt.c
M  +1-4libs/rawengine/libraw/samples/half_mt_win32.c
M  +1-4libs/rawengine/libraw/samples/mem_image.cpp
M  +1-5libs/rawengine/libraw/samples/multirender_test.cpp
M  +1-6libs/rawengine/libraw/samples/postprocessing_benchmark.cpp
M  +124  -20   libs/rawengine/libraw/samples/raw-identify.cpp
M  +16   -5libs/rawengine/libraw/samples/simple_dcraw.cpp
M  +2-5libs/rawengine/libraw/samples/unprocessed_raw.cpp
M  +38   -3libs/rawengine/libraw/src/libraw_c_api.cpp
M  +458  -100  libs/rawengine/libraw/src/libraw_cxx.cpp
M  +1-4libs/rawengine/libraw/src/libraw_datastream.cpp
A  +811  -0libs/rawengine/libraw/src/libraw_xtrans_compressed.cpp
[License: UNKNOWN]  *

The files marked with a * at the end have a non valid license. Please read:
http://techbase.kde.org/Policies/Licensing_Policy and use the headers which are
listed at that page.


http://commits.kde.org/digikam/2c67e6ffd23d8e7fda2704e875378b7f2da20905

-- 
You are receiving this mail because:
You are watching all bug changes.

[digikam] [Bug 367640] Crash when decoding Canon 550D RAW file using VNG interpolation with libraw 0.18

2016-09-19 Thread Colin Walls via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=367640

Colin Walls  changed:

   What|Removed |Added

 CC||bafco...@btinternet.com

--- Comment #9 from Colin Walls  ---
Exactly the same error importing a Nikon NEF from a D7200.

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 367640] Crash when decoding Canon 550D RAW file using VNG interpolation with libraw 0.18

2016-08-23 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=367640

--- Comment #8 from Maik Qualmann  ---
OK, yes is also to reproduce here. One should already used VNG interpolation...

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 367640] Crash when decoding Canon 550D RAW file using VNG interpolation with libraw 0.18

2016-08-23 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=367640

caulier.gil...@gmail.com changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED

--- Comment #7 from caulier.gil...@gmail.com ---
digikam.rawengine: LibRaw progress:  Interpolating  pass  0  of  3
digikam.rawengine: LibRaw progress:  Interpolating  pass  1  of  3
digikam.rawengine: LibRaw progress:  Interpolating  pass  2  of  3
VNG interpolation...
*** Error in `/usr/bin/digikam': free(): corrupted unsorted chunks:
0x7fff04049b20 ***

Thread 47 "Thread (pooled)" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffeebfff700 (LWP 16782)]
LibRaw::vng_interpolate (this=this@entry=0x7ffeebfa54d0) at
/home/gilles/Devel/5.x/core/libs/rawengine/libraw/internal/dcraw_common.cpp:4681
4681*ip++ = weight;
(gdb) bt
#0  0x76c23ef5 in LibRaw::vng_interpolate()
(this=this@entry=0x7ffeebfa54d0) at
/home/gilles/Devel/5.x/core/libs/rawengine/libraw/internal/dcraw_common.cpp:4681
#1  0x76bfc268 in LibRaw::dcraw_process() (this=0x7ffeebfa54d0) at
/home/gilles/Devel/5.x/core/libs/rawengine/libraw/src/libraw_cxx.cpp:4143
#2  0x76793ad1 in
RawEngine::DRawDecoder::Private::loadFromLibraw(QString const&, QByteArray&,
int&, int&, int&) (this=0x7fff04014c60, filePath=..., imageData=...,
width=@0x7ffeebffe15c: 0, height=@0x7ffeebffe158: 0, rgbmax=@0x7ffeebffe154: 0)
at /home/gilles/Devel/5.x/core/libs/rawengine/drawdecoder_p.cpp:516
#3  0x767916ff in RawEngine::DRawDecoder::decodeRAWImage(QString
const&, RawEngine::DRawDecoderSettings const&, QByteArray&, int&, int&, int&)
(this=0x7ffeebffe490, filePath=..., DRawDecoderSettings=..., imageData=...,
width=@0x7ffeebffe15c: 0, height=@0x7ffeebffe158: 0, rgbmax=@0x7ffeebffe154: 0)
at /home/gilles/Devel/5.x/core/libs/rawengine/drawdecoder.cpp:473
#4  0x76515af8 in Digikam::RAWLoader::load(QString const&,
Digikam::DImgLoaderObserver*) (this=0x7ffeebffe490, filePath=...,
observer=0x34530e0) at
/home/gilles/Devel/5.x/core/libs/dimg/loaders/rawloader.cpp:113
#5  0x76687285 in Digikam::DImg::load(QString const&, int,
Digikam::DImgLoaderObserver*, Digikam::DRawDecoding const&)
(this=0x7ffeebffead0, filePath=..., loadFlagsInt=63, observer=0x34530e0,
rawDecodingSettings=...)
at /home/gilles/Devel/5.x/core/libs/dimg/dimg.cpp:497
#6  0x7668656d in Digikam::DImg::load(QString const&,
Digikam::DImgLoaderObserver*, Digikam::DRawDecoding const&)
(this=0x7ffeebffead0, filePath=..., observer=0x34530e0,
rawDecodingSettings=...)
at /home/gilles/Devel/5.x/core/libs/dimg/dimg.cpp:369
#7  0x76685843 in Digikam::DImg::DImg(QString const&,
Digikam::DImgLoaderObserver*, Digikam::DRawDecoding const&)
(this=0x7ffeebffead0, filePath=..., observer=0x34530e0,
rawDecodingSettings=...)
at /home/gilles/Devel/5.x/core/libs/dimg/dimg.cpp:107
#8  0x76740144 in Digikam::LoadingTask::execute() (this=0x34530d0) at
/home/gilles/Devel/5.x/core/libs/threadimageio/loadsavetask.cpp:49
#9  0x76730f80 in Digikam::LoadSaveThread::run() (this=0x26c55e0) at
/home/gilles/Devel/5.x/core/libs/threadimageio/loadsavethread.cpp:133
#10 0x76774e22 in Digikam::DynamicThread::DynamicThreadPriv::run()
(this=0x2839f30) at
/home/gilles/Devel/5.x/core/libs/threads/dynamicthread.cpp:183
#11 0x7fffea55ebe3 in QThreadPoolThread::run() () at /lib64/libQt5Core.so.5
#12 0x7fffea562649 in QThreadPrivate::start(void*) () at
/lib64/libQt5Core.so.5
#13 0x7530566d in start_thread () at /lib64/libpthread.so.0
#14 0x7fffe53c8ded in clone () at /lib64/libc.so.6
(gdb)

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 367640] Crash when decoding Canon 550D RAW file using VNG interpolation with libraw 0.18

2016-08-23 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=367640

--- Comment #6 from caulier.gil...@gmail.com ---
Crash reproducible here :

digikam.rawengine: "/mnt/data/IMG_5249.CR2"
digikam.rawengine: 
-- RAW DECODING SETTINGS 
-- autoBrightness:  true
-- sixteenBitsImage:true
-- brightness:  1
-- RAWQuality:  1
-- inputColorSpace: 0
-- outputColorSpace:1
-- RGBInterpolate4Colors:   false
-- DontStretchPixels:   false
-- unclipColors:0
-- whiteBalance:3
-- customWhiteBalance:  6500
-- customWhiteBalanceGreen: 1
-- halfSizeColorImage:  false
-- enableBlackPoint:false
-- blackPoint:  0
-- enableWhitePoint:false
-- whitePoint:  0
-- NoiseReductionType:  0
-- NoiseReductionThreshold: 0
-- enableCACorrection:  false
-- caMultiplier:0, 0
-- medianFilterPasses:  0
-- inputProfile:""
-- outputProfile:   ""
-- deadPixelMap:""
-- whiteBalanceArea:QRect(0,0 0x0)
-- dcbIterations:   -1
-- dcbEnhanceFl:false
-- eeciRefine:  false
-- esMedPasses: 0
-- NRChrominanceThreshold:  0
-- expoCorrection:  false
-- expoCorrectionShift: 0.994
-- expoCorrectionHighlight: 0
-

digikam.rawengine: LibRaw progress:  Reading metadata  pass  1  of  2
digikam.rawengine: LibRaw progress:  Reading RAW data  pass  0  of  2
digikam.rawengine: LibRaw progress:  Reading RAW data  pass  1  of  2
digikam.rawengine: Disabling LibRaw highlights adjustments
digikam.rawengine: LibRaw progress:  Scaling colors  pass  0  of  2
Scaling with darkness 0, saturation 13783, and
multipliers 2.383604 1.00 1.391007 1.00
digikam.rawengine: LibRaw progress:  Scaling colors  pass  1  of  2
digikam.rawengine: LibRaw progress:  Pre-interpolating  pass  0  of  2
digikam.rawengine: LibRaw progress:  Pre-interpolating  pass  1  of  2
Bilinear interpolation...
digikam.rawengine: LibRaw progress:  Interpolating  pass  0  of  3
digikam.rawengine: LibRaw progress:  Interpolating  pass  1  of  3
digikam.rawengine: LibRaw progress:  Interpolating  pass  2  of  3
VNG interpolation...
*** Error in `digikam': free(): corrupted unsorted chunks: 0x7fe0f8048a00
***
KCrash: Application 'digikam' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0
Unable to start Dr. Konqi
[gilles@localhost data]$

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 367640] Crash when decoding Canon 550D RAW file using VNG interpolation with libraw 0.18

2016-08-23 Thread Maik Qualmann via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=367640

Maik Qualmann  changed:

   What|Removed |Added

 CC||metzping...@gmail.com

--- Comment #5 from Maik Qualmann  ---
I can not reproduce the crash. Parallelized demosaicing is here "yes".

Maik

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 367640] Crash when decoding Canon 550D RAW file using VNG interpolation with libraw 0.18

2016-08-21 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=367640

--- Comment #4 from caulier.gil...@gmail.com ---
Question : Do you use OpenMP to compile digiKam. Look in Help/Components Info
dialog for details. The info is "parallelized demosaicing = 

Gilles Caulier

-- 
You are receiving this mail because:
You are watching all bug changes.


[digikam] [Bug 367640] Crash when decoding Canon 550D RAW file using VNG interpolation with libraw 0.18

2016-08-21 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=367640

caulier.gil...@gmail.com changed:

   What|Removed |Added

Summary|Crash when decoding Canon   |Crash when decoding Canon
   |RAW file using VNG  |550D RAW file using VNG
   |interpolation with libraw   |interpolation with libraw
   |0.18|0.18

-- 
You are receiving this mail because:
You are watching all bug changes.