[Digikam-devel] [digikam] [Bug 319731] digikam crashes when trying to decode Panasonic Raw (.rw2)

Gilles Caulier caulier.gilles at gmail.com
Fri May 24 17:23:15 BST 2013


https://bugs.kde.org/show_bug.cgi?id=319731

--- Comment #9 from Gilles Caulier <caulier.gilles at gmail.com> ---
Alex,

Crash is fully reproducible here with a RW2 file in same conditions and
settings :

digikam(12615)/KDCRAW KDcrawIface::KDcraw::Private::progressCallback: LibRaw
progress:  Clearing zero values  pass  0  of  2
digikam(12615)/KDCRAW KDcrawIface::KDcraw::Private::progressCallback: LibRaw
progress:  Clearing zero values  pass  1  of  2
digikam(12615)/KDCRAW KDcrawIface::KDcraw::Private::progressCallback: LibRaw
progress:  Scaling colors  pass  0  of  2
Scaling with darkness 0, saturation 4080, and
multipliers 1,832700 1,000000 1,760456 1,000000
digikam(12615)/KDCRAW KDcrawIface::KDcraw::Private::progressCallback: LibRaw
progress:  Scaling colors  pass  1  of  2
digikam(12615)/KDCRAW KDcrawIface::KDcraw::Private::progressCallback: LibRaw
progress:  Pre-interpolating  pass  0  of  2
digikam(12615)/KDCRAW KDcrawIface::KDcraw::Private::progressCallback: LibRaw
progress:  Pre-interpolating  pass  1  of  2
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff63fff700 (LWP 12645)]
LibRaw::exp_bef (this=0x7fff63fb0fc0, shift=<optimized out>, smooth=<optimized
out>) at /mnt/devel/GIT/3.x/extra/libkdcraw/libraw/src/libraw_cxx.cpp:2424
2424        C.data_maximum = lut[C.data_maximum];
(gdb) bt
#0  LibRaw::exp_bef (this=0x7fff63fb0fc0, shift=<optimized out>,
smooth=<optimized out>) at
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/src/libraw_cxx.cpp:2424
#1  0x00007ffff508336e in LibRaw::dcraw_process (this=0x7fff63fb0fc0) at
/mnt/devel/GIT/3.x/extra/libkdcraw/libraw/src/libraw_cxx.cpp:2611
#2  0x00007ffff50676d5 in KDcrawIface::KDcraw::Private::loadFromLibraw
(this=0x7fff5c0bcd80, filePath=..., imageData=..., width=@0x7fff63ffe3cc:
1072693248, height=@0x7fff63ffe3c8: 0, rgbmax=
    @0x7fff63ffe3c4: 1085891584) at
/mnt/devel/GIT/3.x/extra/libkdcraw/libkdcraw/kdcraw_p.cpp:508
#3  0x00007ffff5064a71 in KDcrawIface::KDcraw::decodeRAWImage
(this=0x7fff63ffe540, filePath=..., rawDecodingSettings=..., imageData=...,
width=@0x7fff63ffe3cc: 1072693248, height=@0x7fff63ffe3c8: 0, rgbmax=
    @0x7fff63ffe3c4: 1085891584) at
/mnt/devel/GIT/3.x/extra/libkdcraw/libkdcraw/kdcraw.cpp:442
#4  0x00007ffff46f98ea in Digikam::RAWLoader::load (this=0x7fff63ffe540,
filePath=..., observer=0x37a6620) at
/mnt/devel/GIT/3.x/core/libs/dimg/loaders/rawloader.cpp:125
#5  0x00007ffff46ba9e4 in Digikam::DImg::load (this=0x7fff63ffeb60,
filePath=..., loadFlagsInt=63, observer=0x37a6620, rawDecodingSettings=...) at
/mnt/devel/GIT/3.x/core/libs/dimg/dimg.cpp:503
#6  0x00007ffff46b9cf7 in Digikam::DImg::load (this=0x7fff63ffeb60,
filePath=..., observer=0x37a6620, rawDecodingSettings=...) at
/mnt/devel/GIT/3.x/core/libs/dimg/dimg.cpp:375
#7  0x00007ffff46b8f93 in Digikam::DImg::DImg (this=0x7fff63ffeb60,
filePath=..., observer=0x37a6620, rawDecodingSettings=...) at
/mnt/devel/GIT/3.x/core/libs/dimg/dimg.cpp:113
#8  0x00007ffff48b9350 in Digikam::LoadingTask::execute (this=0x37a6610) at
/mnt/devel/GIT/3.x/core/libs/threadimageio/loadsavetask.cpp:54
#9  0x00007ffff48a9fcd in Digikam::LoadSaveThread::run (this=0x5a89850) at
/mnt/devel/GIT/3.x/core/libs/threadimageio/loadsavethread.cpp:136
#10 0x00007ffff48e76d6 in Digikam::DynamicThread::DynamicThreadPriv::run
(this=0x5aa6160) at /mnt/devel/GIT/3.x/core/libs/threads/dynamicthread.cpp:186
#11 0x00007fffece7423d in QThreadPoolThread::run() () from
/lib64/libQtCore.so.4
#12 0x00007fffece805ec in QThreadPrivate::start(void*) () from
/lib64/libQtCore.so.4
#13 0x00007fffecbf0d18 in start_thread () from /lib64/libpthread.so.0
#14 0x00007fffeb9737cd in clone () from /lib64/libc.so.6
#15 0x0000000000000000 in ?? ()
(gdb) 

Libraw is last 0.15.0.

In Exposure settings, yes

-- 
You are receiving this mail because:
You are the assignee for the bug.



More information about the Digikam-devel mailing list