[Digikam-devel] [Bug 201302] Crash due to memory access problem on Mac OS X

rishi.j.sanyal at gmail.com rishi.j.sanyal at gmail.com
Wed Jul 29 00:11:27 BST 2009


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





--- Comment #12 from  <rishi j sanyal gmail com>  2009-07-29 01:11:18 ---
Gilles,

I did what you suggested, uninstalled libmarblewidget, made sure that digiKam
compiled without it, then recompiled and ran the software. Unfortunately, it
crashes right away. Here's the relevant backtrace, again pointing to libpgf:

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x13b6b000
[Switching to process 88240 thread 0x5a07]
0x0155bfe0 in CDecoder::DecodeBuffer (this=0x13b4a000) at
/Users/Rishi/compile/digikam/graphics/digikam/libs/3rdparty/libpgf/Decoder.cpp:446
446            m_codeBuffer[i] = __VAL(m_codeBuffer[i]);
(gdb) bt
#0  0x0155bfe0 in CDecoder::DecodeBuffer (this=0x13b4a000) at
/Users/Rishi/compile/digikam/graphics/digikam/libs/3rdparty/libpgf/Decoder.cpp:446
#1  0x0155c0ae in CDecoder::DequantizeValue (this=0x13b4a000, band=0x1baddb04,
bandPos=0, quantParam=0) at
/Users/Rishi/compile/digikam/graphics/digikam/libs/3rdparty/libpgf/Decoder.cpp:395
#2  0x0155c6fd in CDecoder::Partition (this=0x13b4a000, band=0x1baddb04,
quantParam=0, width=64, height=43, startPos=0, pitch=64) at
/Users/Rishi/compile/digikam/graphics/digikam/libs/3rdparty/libpgf/Decoder.cpp:212
#3  0x01567a80 in CSubband::PlaceTile (this=0x1baddb04, decoder=@0x13b4a000,
quantParam=0, tile=false, tileX=0, tileY=0) at
/Users/Rishi/compile/digikam/graphics/digikam/libs/3rdparty/libpgf/Subband.cpp:226
#4  0x0155fc24 in CPGFImage::Read (this=0xb0240638, level=0, cb=0, data=0x0) at
/Users/Rishi/compile/digikam/graphics/digikam/libs/3rdparty/libpgf/PGFimage.cpp:286
#5  0x01569b62 in Digikam::readPGFImageData (data=@0xb0240bf4, img=@0xb0240bd4)
at
/Users/Rishi/compile/digikam/graphics/digikam/libs/threadimageio/pgfutils.cpp:68
#6  0x01541fd4 in Digikam::ThumbnailCreator::loadFromDatabase (this=0x14e3cda0,
info=@0xb0240cd8) at
/Users/Rishi/compile/digikam/graphics/digikam/libs/threadimageio/thumbnailcreator.cpp:573
#7  0x01544711 in Digikam::ThumbnailCreator::load (this=0x14e3cda0,
path=@0x1bac1aec) at
/Users/Rishi/compile/digikam/graphics/digikam/libs/threadimageio/thumbnailcreator.cpp:182
#8  0x0154a513 in Digikam::ThumbnailLoadingTask::execute (this=0x1bac1ae0) at
/Users/Rishi/compile/digikam/graphics/digikam/libs/threadimageio/thumbnailtask.cpp:135
#9  0x01530404 in Digikam::LoadSaveThread::run (this=0x14e3c960) at
/Users/Rishi/compile/digikam/graphics/digikam/libs/threadimageio/loadsavethread.cpp:139
#10 0x03377d0b in QThreadPrivate::start ()
#11 0x92226155 in _pthread_start ()
#12 0x92226012 in thread_start ()
Current language:  auto; currently c++
(gdb) 

I can do valgrind if you want me to... Let me know.

Thanks,
Rishi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Digikam-devel mailing list