[Digikam-devel] [Bug 273765] replacing pgf files with an open digikam lead to reproducible crash
Marcel Wiesweg
marcel.wiesweg at gmx.de
Sun Jun 19 15:43:36 BST 2011
https://bugs.kde.org/show_bug.cgi?id=273765
--- Comment #40 from Marcel Wiesweg <marcel wiesweg gmx de> 2011-06-19 16:43:34 ---
Yes, I can fully reproduce. See these error messages on the console:
digikam(5323)/digikam (core) Digikam::readPGFImageData: Error running libpgf (
2 )!
digikam(5323)/digikam (core) Digikam::ThumbnailCreator::loadFromDatabase:
Cannot load PGF thumb from DB
This means the data is loaded from the db, but libpgf fails to load the data
with error code 2. Apparently this happens only with every second or third
image.
Backtrace of the thrown exception:
#0 0x00007fffef9d7d90 in __cxa_throw () from /usr/lib64/libstdc++.so.6
#1 0x00007ffff4aa9912 in CPGFMemoryStream::Read (this=0x7fffcbe98460,
count=0x7fffcbe97cfc, buffPtr=<value optimized out>)
at
/home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/libs/3rdparty/libpgf/PGFstream.cpp:157
#2 0x00007ffff4aa06f3 in CDecoder::ReadMacroBlock (this=0x7fffd021d430,
block=0x7fffd0450370)
at
/home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/libs/3rdparty/libpgf/Decoder.cpp:461
#3 0x00007ffff4aa14d0 in CDecoder::DecodeBuffer (this=0x7fffd021d430)
at
/home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/libs/3rdparty/libpgf/Decoder.cpp:571
#4 0x00007ffff4aa169a in CDecoder::DequantizeValue (this=0x7fffd021d430,
band=<value optimized out>,
bandPos=<value optimized out>, quantParam=<value optimized out>)
at
/home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/libs/3rdparty/libpgf/Decoder.cpp:429
#5 0x00007ffff4aa1b87 in CDecoder::Partition (this=0x7fffd021d430,
band=0x7fffd056a7b8, quantParam=3, width=<value optimized out>,
height=<value optimized out>, startPos=0, pitch=42)
at
/home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/libs/3rdparty/libpgf/Decoder.cpp:249
#6 0x00007ffff4aaa1f6 in CSubband::PlaceTile (this=0x7fffd056a7b8,
decoder=..., quantParam=3, tile=false, tileX=0, tileY=0)
at
/home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/libs/3rdparty/libpgf/Subband.cpp:230
#7 0x00007ffff4aa92b9 in CPGFImage::Read (this=0x7fffcbe97f30, level=0, cb=0,
data=0x0)
at
/home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/libs/3rdparty/libpgf/PGFimage.cpp:408
#8 0x00007ffff4aab93f in Digikam::readPGFImageData (data=<value optimized
out>, img=...)
at
/home/marcel/freshmeat/multimedia/kde4/src/extragear/graphics/digikam/core/libs/threadimageio/pgfutils.cpp:71
--
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