[Digikam-devel] [Bug 201302] New: Crash due to memory access problem on Mac OS X
rishi.j.sanyal at gmail.com
rishi.j.sanyal at gmail.com
Fri Jul 24 00:39:27 BST 2009
https://bugs.kde.org/show_bug.cgi?id=201302
Summary: Crash due to memory access problem on Mac OS X
Product: digikam
Version: 1.0.0-beta2
Platform: Fink Packages
OS/Version: other
Status: UNCONFIRMED
Severity: crash
Priority: NOR
Component: general
AssignedTo: digikam-devel at kde.org
ReportedBy: rishi.j.sanyal at gmail.com
Version: 1.0.0-beta2 (using KDE 4.2.0)
Compiler: gcc 4.0.1
OS: OS X
Installed from: Mac OS X (Fink) Packages
After Gilles worked out all the kinks with compiling on Mac OS X, I can
successfully compile most, if not all, recent SVN versions of digiKam. However,
unless one has installed version 4.2.0 (not 4.2.4) of all KDE components using
MacPorts, digiKam & dngconverter will never launch due to something wrong with
"kdelibs. Your core libs are corrupted." (I'm quoting Gilles there!).
Luckily, I went back to a backup of my OS that had an older Darwin Ports
installation. This allowed me to install version 4.2.0 of all KDE stuff on OS
X.
Now, dngconverter works fine. digiKam works fine for a little bit, until it
crashes while trying to load some thumbnails or an image. Here is the relevant
backtrace:
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x16290000
[Switching to process 35637 thread 0x5a1b]
0x01513420 in CDecoder::DecodeBuffer (this=0x1626f000) at
/Users/Rishi/compile/digikam-1.0.0-beta2/libs/3rdparty/libpgf/Decoder.cpp:446
446 m_codeBuffer[i] = __VAL(m_codeBuffer[i]);
(gdb) bt
#0 0x01513420 in CDecoder::DecodeBuffer (this=0x1626f000) at
/Users/Rishi/compile/digikam-1.0.0-beta2/libs/3rdparty/libpgf/Decoder.cpp:446
#1 0x015134ee in CDecoder::DequantizeValue (this=0x1626f000, band=0x15ba6654,
bandPos=0, quantParam=0) at
/Users/Rishi/compile/digikam-1.0.0-beta2/libs/3rdparty/libpgf/Decoder.cpp:395
#2 0x01513b3d in CDecoder::Partition (this=0x1626f000, band=0x15ba6654,
quantParam=0, width=64, height=47, startPos=0, pitch=64) at
/Users/Rishi/compile/digikam-1.0.0-beta2/libs/3rdparty/libpgf/Decoder.cpp:212
#3 0x0151eec0 in CSubband::PlaceTile (this=0x15ba6654, decoder=@0x1626f000,
quantParam=0, tile=false, tileX=0, tileY=0) at
/Users/Rishi/compile/digikam-1.0.0-beta2/libs/3rdparty/libpgf/Subband.cpp:226
#4 0x01517064 in CPGFImage::Read (this=0xb02c2638, level=0, cb=0, data=0x0) at
/Users/Rishi/compile/digikam-1.0.0-beta2/libs/3rdparty/libpgf/PGFimage.cpp:286
#5 0x01520fa2 in Digikam::readPGFImageData (data=@0xb02c2bf4, img=@0xb02c2bd4)
at /Users/Rishi/compile/digikam-1.0.0-beta2/libs/threadimageio/pgfutils.cpp:68
#6 0x014f9370 in Digikam::ThumbnailCreator::loadFromDatabase (this=0x1523c900,
info=@0xb02c2cd8) at
/Users/Rishi/compile/digikam-1.0.0-beta2/libs/threadimageio/thumbnailcreator.cpp:573
#7 0x014fbac1 in Digikam::ThumbnailCreator::load (this=0x1523c900,
path=@0x15ba837c) at
/Users/Rishi/compile/digikam-1.0.0-beta2/libs/threadimageio/thumbnailcreator.cpp:182
#8 0x01501953 in Digikam::ThumbnailLoadingTask::execute (this=0x15ba8370) at
/Users/Rishi/compile/digikam-1.0.0-beta2/libs/threadimageio/thumbnailtask.cpp:135
#9 0x014e76f4 in Digikam::LoadSaveThread::run (this=0x1523be20) at
/Users/Rishi/compile/digikam-1.0.0-beta2/libs/threadimageio/loadsavethread.cpp:139
#10 0x03639d0b in QThreadPrivate::start ()
#11 0x910b5155 in _pthread_start ()
#12 0x910b5012 in thread_start ()
Current language: auto; currently c++
(gdb)
If you're having trouble reading the error messages above, take a look at this
.txt file of the error messages here:
http://staff.washington.edu/rjsanyal/Photography/digiKam/digiKam_1.0.0-beta2_ErrorOnMacOSX.txt
Any ideas?
Many thanks in advance,
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