[Digikam-devel] [Bug 210580] digiKam crashes on PPC Linux when changing thumbnail size

Vlado Plaga rechner at vlado-do.de
Thu Oct 15 11:52:27 BST 2009


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





--- Comment #4 from Vlado Plaga <rechner vlado-do de>  2009-10-15 12:52:24 ---
Ok, I tried the current SVN version. It runs and crashes on my computer like
the previous betas. The version digikam reports is:

Version 1.0.0-beta6 (rev.: 1035472)
Using KDE 4.3.1 (KDE 4.3.1)

Gilles: I did a "diff -r" with "libs/3rdparty/libpgf" from beta4 and the svn
checkout, but they seem to be identical. I don't really understand the debug
information I attached, but libpgf sounds like a good candidate for searching
for the bug. I looked into libpgf/Decoder.cpp and there are some blocks with
"#ifdef __BIGENDIAN__" which are relevant on my PPC computer (
http://en.wikipedia.org/wiki/Endianness ). Endianness has been the source of
other bugs before, like in a recent PHP version:
http://bugs.php.net/bug.php?id=48276

I'm once again including the kcrash output, although I don't think it contains
a lot of new information.

But before that there's one side issue: I followed the instructions on the
digiKam website for checking out and compiling the svn version:
http://www.digikam.org/drupal/download?q=download/KDE4

There is a broken link in the last paragraph on that page:

"see here for KDE4.2: [Kubuntu howto]"
http://wiki.kde.org/tiki-index.php?page=Digikam+Compilation+on+Kubuntu+Intrepid

Why does it say "see here for KDE4.2" anyway? Are the instructions on the
digiKam website for a newer or an older release?

Maybe the paragraph should be changed to something like "see [KDE TechBase] for
more detailed instructions when using Ubuntu 9.04"?
http://techbase.kde.org/Projects/Digikam/Compilation_on_Kubuntu

KCrash output:

Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x48e42e40 (LWP 23276))]

Thread 15 (Thread 0x4ae433e0 (LWP 23277)):
#0  0x0fc9c1ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x480cbe2c in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQtCore.so.4
#2  0x10399a68 in Digikam::ScanController::run (this=0x107af9c8) at
/home/vlado/src/svn/graphics/digikam/digikam/scancontroller.cpp:499
#3  0x480ca948 in ?? () from /usr/lib/libQtCore.so.4
#4  0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#5  0x0feee6b0 in clone () from /lib/libc.so.6

Thread 14 (Thread 0x50e183e0 (LWP 23279)):
#0  0x0fc99228 in pthread_mutex_lock () from /lib/libpthread.so.0
#1  0x0f939250 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#2  0x0f9396cc in ?? () from /lib/libglib-2.0.so.0
#3  0x0f939c48 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x48221d0c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#5  0x481e9ebc in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#6  0x481ea458 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#7  0x480c6574 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x0e216264 in Digikam::ImageFilterModelWorker::Thread::run
(this=0x10908d08) at
/home/vlado/src/svn/graphics/digikam/libs/models/imagefiltermodelthreads.h:66
#9  0x480ca948 in ?? () from /usr/lib/libQtCore.so.4
#10 0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#11 0x0feee6b0 in clone () from /lib/libc.so.6

Thread 13 (Thread 0x519ff3e0 (LWP 23280)):
#0  0x0fee1dbc in poll () from /lib/libc.so.6
#1  0x0f94a4b4 in g_poll () from /lib/libglib-2.0.so.0
#2  0x0f9398dc in ?? () from /lib/libglib-2.0.so.0
#3  0x0f939c48 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x48221d0c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#5  0x481e9ebc in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#6  0x481ea458 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#7  0x480c6574 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x0e216264 in Digikam::ImageFilterModelWorker::Thread::run
(this=0x112587b0) at
/home/vlado/src/svn/graphics/digikam/libs/models/imagefiltermodelthreads.h:66
#9  0x480ca948 in ?? () from /usr/lib/libQtCore.so.4
#10 0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#11 0x0feee6b0 in clone () from /lib/libc.so.6

Thread 12 (Thread 0x523ff3e0 (LWP 23281)):
[KCrash Handler]
#5  0x0e55213c in CDecoder::BitplaneDecode (this=0x820000e4, bufferSize=8192)
at /home/vlado/src/svn/graphics/digikam/libs/3rdparty/libpgf/Decoder.cpp:591
#6  0x0e551ae4 in CDecoder::DecodeBuffer (this=0x57ccf370) at
/home/vlado/src/svn/graphics/digikam/libs/3rdparty/libpgf/Decoder.cpp:455
#7  0x0e5517ec in CDecoder::DequantizeValue (this=0x57ccf370, band=0x50f8623c,
bandPos=0, quantParam=0) at
/home/vlado/src/svn/graphics/digikam/libs/3rdparty/libpgf/Decoder.cpp:395
#8  0x0e550b7c in CDecoder::Partition (this=0x57ccf370, band=0x50f8623c,
quantParam=0, width=64, height=43, startPos=0, pitch=64)
    at
/home/vlado/src/svn/graphics/digikam/libs/3rdparty/libpgf/Decoder.cpp:212
#9  0x0e563ab4 in CSubband::PlaceTile (this=0x50f8623c, decoder=@0x57ccf370,
quantParam=0, tile=false, tileX=0, tileY=0) at
/home/vlado/src/svn/graphics/digikam/libs/3rdparty/libpgf/Subband.cpp:226
#10 0x0e5574b0 in CPGFImage::Read (this=0x523fe428, level=0, cb=0, data=0x0) at
/home/vlado/src/svn/graphics/digikam/libs/3rdparty/libpgf/PGFimage.cpp:286
#11 0x0e567174 in Digikam::readPGFImageData (data=@0x523fe9c0, img=@0x523fe9c4)
at /home/vlado/src/svn/graphics/digikam/libs/threadimageio/pgfutils.cpp:65
#12 0x0e52fb98 in Digikam::ThumbnailCreator::loadFromDatabase (this=0x11032d18,
info=@0x523fead8) at
/home/vlado/src/svn/graphics/digikam/libs/threadimageio/thumbnailcreator.cpp:587
#13 0x0e52d178 in Digikam::ThumbnailCreator::load (this=0x11032d18,
path=@0x12091ca8) at
/home/vlado/src/svn/graphics/digikam/libs/threadimageio/thumbnailcreator.cpp:185
#14 0x0e53bc7c in Digikam::ThumbnailLoadingTask::execute (this=0x12091c98) at
/home/vlado/src/svn/graphics/digikam/libs/threadimageio/thumbnailtask.cpp:130
#15 0x0e50d088 in Digikam::LoadSaveThread::run (this=0x11292e08) at
/home/vlado/src/svn/graphics/digikam/libs/threadimageio/loadsavethread.cpp:135
#16 0x480ca948 in ?? () from /usr/lib/libQtCore.so.4
#17 0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#18 0x0feee6b0 in clone () from /lib/libc.so.6

Thread 11 (Thread 0x52dff3e0 (LWP 23282)):
#0  0x0fee1dbc in poll () from /lib/libc.so.6
#1  0x0f94a4b4 in g_poll () from /lib/libglib-2.0.so.0
#2  0x0f9398dc in ?? () from /lib/libglib-2.0.so.0
#3  0x0f939c48 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x48221d0c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#5  0x481e9ebc in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#6  0x481ea458 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#7  0x480c6574 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x1038c890 in Digikam::MetadataManagerWorker::Thread::run (this=0x10fd3050)
at
/home/vlado/src/svn/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:143
#9  0x480ca948 in ?? () from /usr/lib/libQtCore.so.4
#10 0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#11 0x0feee6b0 in clone () from /lib/libc.so.6

Thread 10 (Thread 0x537ff3e0 (LWP 23283)):
#0  0x0fee1dbc in poll () from /lib/libc.so.6
#1  0x0f94a4b4 in g_poll () from /lib/libglib-2.0.so.0
#2  0x0f9398dc in ?? () from /lib/libglib-2.0.so.0
#3  0x0f939c48 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x48221d0c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#5  0x481e9ebc in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#6  0x481ea458 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#7  0x480c6574 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x1038c890 in Digikam::MetadataManagerWorker::Thread::run (this=0x108e5e88)
at
/home/vlado/src/svn/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:143
#9  0x480ca948 in ?? () from /usr/lib/libQtCore.so.4
#10 0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#11 0x0feee6b0 in clone () from /lib/libc.so.6

Thread 9 (Thread 0x541ff3e0 (LWP 23284)):
#0  0x0fc9c1ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x480cbe2c in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQtCore.so.4
#2  0x0e50cffc in Digikam::LoadSaveThread::run (this=0x10f91e58) at
/home/vlado/src/svn/graphics/digikam/libs/threadimageio/loadsavethread.cpp:132
#3  0x480ca948 in ?? () from /usr/lib/libQtCore.so.4
#4  0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#5  0x0feee6b0 in clone () from /lib/libc.so.6

Thread 8 (Thread 0x55f953e0 (LWP 23285)):
#0  0x0fc9c7e8 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/libpthread.so.0
#1  0x50e46d58 in ?? () from /usr/lib/libxine.so.1
#2  0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#3  0x0feee6b0 in clone () from /lib/libc.so.6

Thread 7 (Thread 0x56a593e0 (LWP 23286)):
#0  0x0fee5628 in select () from /lib/libc.so.6
#1  0x50e77370 in xine_usec_sleep () from /usr/lib/libxine.so.1
#2  0x50e581ac in ?? () from /usr/lib/libxine.so.1
#3  0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#4  0x0feee6b0 in clone () from /lib/libc.so.6

Thread 6 (Thread 0x574593e0 (LWP 23287)):
#0  0x0fc9abe4 in pthread_mutex_unlock () from /lib/libpthread.so.0
#1  0x0f937640 in g_main_context_acquire () from /lib/libglib-2.0.so.0
#2  0x0f93960c in ?? () from /lib/libglib-2.0.so.0
#3  0x0f939c48 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x48221d0c in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#5  0x481e9ebc in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#6  0x481ea458 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#7  0x480c6574 in QThread::exec() () from /usr/lib/libQtCore.so.4
#8  0x0daf49b0 in ?? () from
/usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0x480ca948 in ?? () from /usr/lib/libQtCore.so.4
#10 0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#11 0x0feee6b0 in clone () from /lib/libc.so.6

Thread 5 (Thread 0x5be5a3e0 (LWP 23293)):
#0  0x0fc9c1ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x50e5bf54 in ?? () from /usr/lib/libxine.so.1
#2  0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#3  0x0feee6b0 in clone () from /lib/libc.so.6

Thread 4 (Thread 0x5c85a3e0 (LWP 23294)):
#0  0x0fc9c1ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x480cbe2c in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQtCore.so.4
#2  0x0e50cffc in Digikam::LoadSaveThread::run (this=0x11d79ce8) at
/home/vlado/src/svn/graphics/digikam/libs/threadimageio/loadsavethread.cpp:132
#3  0x480ca948 in ?? () from /usr/lib/libQtCore.so.4
#4  0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#5  0x0feee6b0 in clone () from /lib/libc.so.6

Thread 3 (Thread 0x5d25a3e0 (LWP 23307)):
#0  0x0fc9c1ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x480cbe2c in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQtCore.so.4
#2  0x0e50cffc in Digikam::LoadSaveThread::run (this=0x12094840) at
/home/vlado/src/svn/graphics/digikam/libs/threadimageio/loadsavethread.cpp:132
#3  0x480ca948 in ?? () from /usr/lib/libQtCore.so.4
#4  0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#5  0x0feee6b0 in clone () from /lib/libc.so.6

Thread 2 (Thread 0x588ff3e0 (LWP 23308)):
#0  0x0fc9c1ec in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#1  0x480cbe2c in QWaitCondition::wait(QMutex*, unsigned long) () from
/usr/lib/libQtCore.so.4
#2  0x0e50cffc in Digikam::LoadSaveThread::run (this=0x11e3e258) at
/home/vlado/src/svn/graphics/digikam/libs/threadimageio/loadsavethread.cpp:132
#3  0x480ca948 in ?? () from /usr/lib/libQtCore.so.4
#4  0x0fc95d2c in start_thread () from /lib/libpthread.so.0
#5  0x0feee6b0 in clone () from /lib/libc.so.6

Thread 1 (Thread 0x48e42e40 (LWP 23276)):
#0  0x0fee1dbc in poll () from /lib/libc.so.6
#1  0x0fa97060 in ?? () from /usr/lib/libxcb.so.1
#2  0x0fa97680 in ?? () from /usr/lib/libxcb.so.1
#3  0x0fa97a7c in xcb_writev () from /usr/lib/libxcb.so.1
#4  0x0fb21138 in _XSend () from /usr/lib/libX11.so.6
#5  0x0fb218bc in _XFlush () from /usr/lib/libX11.so.6
#6  0x0faf2468 in XFreeGC () from /usr/lib/libX11.so.6
#7  0x4862d308 in ?? () from /usr/lib/libQtGui.so.4
#8  0x48579270 in QPainter::end() () from /usr/lib/libQtGui.so.4
#9  0x48579418 in QPainter::~QPainter() () from /usr/lib/libQtGui.so.4
#10 0x48866f50 in QFrame::paintEvent(QPaintEvent*) () from
/usr/lib/libQtGui.so.4
#11 0x489179f8 in QAbstractScrollArea::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#12 0x489d11ec in QAbstractItemView::event(QEvent*) () from
/usr/lib/libQtGui.so.4
#13 0x489ed2d4 in QListView::event(QEvent*) () from /usr/lib/libQtGui.so.4
#14 0x48431bf8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#15 0x4843a810 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#16 0x0124addc in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#17 0x481ec2a0 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from
/usr/lib/libQtCore.so.4
#18 0x484a1498 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&,
QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/libQtGui.so.4
#19 0x484a1c04 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#20 0x484a1160 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&,
QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/libQtGui.so.4
#21 0x484a1c04 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#22 0x484a1160 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&,
QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/libQtGui.so.4
#23 0x484a1c04 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#24 0x484a1160 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&,
QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/libQtGui.so.4
#25 0x484a1c04 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#26 0x484a1160 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&,
QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/libQtGui.so.4
#27 0x484a1c04 in QWidgetPrivate::paintSiblingsRecursive(QPaintDevice*,
QList<QObject*> const&, int, QRegion const&, QPoint const&, int, QPainter*,
QWidgetBackingStore*) ()
   from /usr/lib/libQtGui.so.4
#28 0x484a1160 in QWidgetPrivate::drawWidget(QPaintDevice*, QRegion const&,
QPoint const&, int, QPainter*, QWidgetBackingStore*) () from
/usr/lib/libQtGui.so.4
#29 0x48646b1c in ?? () from /usr/lib/libQtGui.so.4
#30 0x4848fbb4 in QWidgetPrivate::syncBackingStore() () from
/usr/lib/libQtGui.so.4
#31 0x484988f8 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4
#32 0x488862dc in QMainWindow::event(QEvent*) () from /usr/lib/libQtGui.so.4
#33 0x0134ea24 in KMainWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#34 0x0139d020 in KXmlGuiWindow::event(QEvent*) () from /usr/lib/libkdeui.so.5
#35 0x48431bf8 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#36 0x4843a810 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib/libQtGui.so.4
#37 0x0124addc in KApplication::notify(QObject*, QEvent*) () from
/usr/lib/libkdeui.so.5
#38 0x481ec2a0 in QCoreApplication::notifyInternal(QObject*, QEvent*) () from
/usr/lib/libQtCore.so.4
#39 0x481ed384 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int,
QThreadData*) () from /usr/lib/libQtCore.so.4
#40 0x481ed620 in QCoreApplication::sendPostedEvents(QObject*, int) () from
/usr/lib/libQtCore.so.4
#41 0x48222288 in ?? () from /usr/lib/libQtCore.so.4
#42 0x0f935110 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#43 0x0f939a98 in ?? () from /lib/libglib-2.0.so.0
#44 0x0f939c48 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#45 0x48221c84 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#46 0x484e2130 in ?? () from /usr/lib/libQtGui.so.4
#47 0x481e9ebc in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/usr/lib/libQtCore.so.4
#48 0x481ea458 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /usr/lib/libQtCore.so.4
#49 0x481ed724 in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4
#50 0x48431980 in QApplication::exec() () from /usr/lib/libQtGui.so.4
#51 0x10447ca0 in main (argc=1, argv=0xbfca9514) at
/home/vlado/src/svn/graphics/digikam/digikam/main.cpp:186

-- 
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