Bug 207392 - crash after rebuild all thumbnails
Summary: crash after rebuild all thumbnails
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Engine (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-14 22:51 UTC by Julien Narboux
Modified: 2017-07-28 15:04 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In: 1.1.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Julien Narboux 2009-09-14 22:51:58 UTC
Version:           svn 12/09/2009 (using KDE 4.2.4)
Installed from:    Compiled From Sources

I encountered a first bug : 
1- I edited a picture in digikam and converted the picture in grayscale.
2- I saved the picture as another name
In digikam, the thumbnail of the original picture was changed into a grayscale picture althoug it should be in color as i didn't change the orginal I just used save as. The original picture was ok only the thumbnail had been damaged.
I decided to update thumbnail using f5 , it did not change anything, the thumbnail was still not in par with the pictures.
Then I decided to use the rebuild all thumbnails command, scanning only for missing thumbnails.
Digikam crashed at the end. I saw the thumbnail flickering in the background of the "rebuild all thumbnails" window just before the crash.


Julien


Application : digiKam (digikam), signal SIGSEGV
[Current thread is 1 (Thread 0xb455db80 (LWP 13618))]

Thread 16 (Thread 0xb2d55b90 (LWP 13623)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb543bb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb54ca3cb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x08360789 in Digikam::ScanController::run (this=0x9b78788) at /home/jnarboux/digikam-versions/graphics/digikam/digikam/scancontroller.cpp:499
#4  0xb54c92c3 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 15 (Thread 0xb1d81b90 (LWP 13793)):
#0  0xb543abc6 in __pthread_mutex_unlock_usercnt () from /lib/i686/libpthread.so.0
#1  0xb4a55549 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0xb4a55de4 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb4a560c8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb55f2577 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb55c3f73 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb55c43cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb54c5f0b in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0xb6f1431d in Digikam::ImageFilterModelWorker::Thread::run (this=0x9bd8b40) at /home/jnarboux/digikam-versions/graphics/digikam/libs/models/imagefiltermodelthreads.h:66
#9  0xb54c92c3 in ?? () from /usr/lib/libQtCore.so.4
#10 0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#11 0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 14 (Thread 0xb1580b90 (LWP 13794)):
#0  0xb4a55cc8 in ?? () from /usr/lib/libglib-2.0.so.0
#1  0xb4a560c8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#2  0xb55f2577 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#3  0xb55c3f73 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#4  0xb55c43cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#5  0xb54c5f0b in QThread::exec () from /usr/lib/libQtCore.so.4
#6  0xb6f1431d in Digikam::ImageFilterModelWorker::Thread::run (this=0x9e8dba8) at /home/jnarboux/digikam-versions/graphics/digikam/libs/models/imagefiltermodelthreads.h:66
#7  0xb54c92c3 in ?? () from /usr/lib/libQtCore.so.4
#8  0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#9  0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 13 (Thread 0xb0d01b90 (LWP 13795)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb543bb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb54ca3cb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7151315 in Digikam::LoadSaveThread::run (this=0xa283a70) at /home/jnarboux/digikam-versions/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#4  0xb54c92c3 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 12 (Thread 0xb0500b90 (LWP 13796)):
#0  0xb499017a in clock_gettime () from /lib/i686/librt.so.1
#1  0xb55f420c in ?? () from /usr/lib/libQtCore.so.4
#2  0xb55f4402 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb55f5ed2 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb55f275b in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4a557a6 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb4a55bc9 in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb4a560c8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb55f2577 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb55c3f73 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb55c43cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb54c5f0b in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0x0835512d in Digikam::MetadataManagerWorker::Thread::run (this=0x9d615f0) at /home/jnarboux/digikam-versions/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:145
#13 0xb54c92c3 in ?? () from /usr/lib/libQtCore.so.4
#14 0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#15 0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 11 (Thread 0xafcffb90 (LWP 13797)):
#0  0xb5439784 in pthread_mutex_lock () from /lib/i686/libpthread.so.0
#1  0xb4a554d9 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0xb4a55de4 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb4a560c8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb55f2577 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb55c3f73 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb55c43cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb54c5f0b in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0x0835512d in Digikam::MetadataManagerWorker::Thread::run (this=0x9bdfa30) at /home/jnarboux/digikam-versions/graphics/build/digikam/digikam/../../../digikam/digikam/metadatamanager_p.h:145
#9  0xb54c92c3 in ?? () from /usr/lib/libQtCore.so.4
#10 0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#11 0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 10 (Thread 0xaf4feb90 (LWP 13798)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb543bb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb54ca3cb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7151315 in Digikam::LoadSaveThread::run (this=0x9c0b430) at /home/jnarboux/digikam-versions/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#4  0xb54c92c3 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 9 (Thread 0xacbadb90 (LWP 13801)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb543bec2 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xad5de9c1 in ?? () from /usr/lib/libxine.so.1
#3  0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#4  0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 8 (Thread 0xabf16b90 (LWP 13802)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb528f0b1 in select () from /lib/i686/libc.so.6
#2  0xad6095b2 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0xad5ecead in ?? () from /usr/lib/libxine.so.1
#4  0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#5  0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 7 (Thread 0xab715b90 (LWP 13803)):
#0  0xb52a45fb in ?? () from /lib/i686/libc.so.6
#1  0xb528c2bd in poll () from /lib/i686/libc.so.6
#2  0xb4a55d8a in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb4a560c8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb55f2577 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#5  0xb55c3f73 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb55c43cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb54c5f0b in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0xad6310d8 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0xb54c92c3 in ?? () from /usr/lib/libQtCore.so.4
#10 0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#11 0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 6 (Thread 0xaaf14b90 (LWP 13804)):
#0  0xac342565 in ?? () from /usr/lib/libpulse.so.0
#1  0xac334311 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#2  0xac335a95 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#3  0xac335b74 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#4  0xac34232e in ?? () from /usr/lib/libpulse.so.0
#5  0xac363e53 in ?? () from /usr/lib/libpulse.so.0
#6  0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 5 (Thread 0xaa4f1b90 (LWP 13805)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb543bb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xad5f092c in ?? () from /usr/lib/libxine.so.1
#3  0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#4  0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 4 (Thread 0xa7353b90 (LWP 13825)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb543bb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb54ca3cb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7151315 in Digikam::LoadSaveThread::run (this=0xc53a6c8) at /home/jnarboux/digikam-versions/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#4  0xb54c92c3 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 3 (Thread 0xa9c75b90 (LWP 4215)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb543bb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb54ca3cb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7151315 in Digikam::LoadSaveThread::run (this=0xe722ed8) at /home/jnarboux/digikam-versions/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#4  0xb54c92c3 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 2 (Thread 0xa941db90 (LWP 4216)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb543bb95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i686/libpthread.so.0
#2  0xb54ca3cb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb7151315 in Digikam::LoadSaveThread::run (this=0xe5d33c0) at /home/jnarboux/digikam-versions/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#4  0xb54c92c3 in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5438315 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb5296d8e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xb455db80 (LWP 13618)):
[KCrash Handler]
#6  0xb5b4dac4 in QImage::setAlphaChannel () from /usr/lib/libQtGui.so.4
#7  0xb5b7b198 in QX11PixmapData::setAlphaChannel () from /usr/lib/libQtGui.so.4
#8  0xb5b6a9a7 in QPixmap::setAlphaChannel () from /usr/lib/libQtGui.so.4
#9  0x0835b56f in Digikam::RatingWidget::applyFading (this=0x9b89e38, pix=@0xbfd8ecc8) at /home/jnarboux/digikam-versions/graphics/digikam/digikam/ratingwidget.cpp:365
#10 0x0835b767 in Digikam::RatingWidget::paintEvent (this=0x9b89e38) at /home/jnarboux/digikam-versions/graphics/digikam/digikam/ratingwidget.cpp:340
#11 0xb5aee82d in QWidget::event () from /usr/lib/libQtGui.so.4
#12 0xb5a9564c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#13 0xb5a9dedb in QApplication::notify () from /usr/lib/libQtGui.so.4
#14 0xb66cad01 in KApplication::notify () from /usr/lib/libkdeui.so.5
#15 0xb55c59ae in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#16 0xb5aa0e1d in QCoreApplication::sendSpontaneousEvent () from /usr/lib/libQtGui.so.4
#17 0xb5af697f in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#18 0xb5af718d in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#19 0xb5af6590 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#20 0xb5af718d in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#21 0xb5af6590 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#22 0xb5af718d in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#23 0xb5af6590 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#24 0xb5af718d in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#25 0xb5af6590 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#26 0xb5af718d in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#27 0xb5af6590 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#28 0xb5af718d in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#29 0xb5af6590 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#30 0xb5af718d in QWidgetPrivate::paintSiblingsRecursive () from /usr/lib/libQtGui.so.4
#31 0xb5af6590 in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#32 0xb5c94976 in ?? () from /usr/lib/libQtGui.so.4
#33 0xb5ae672e in QWidgetPrivate::syncBackingStore () from /usr/lib/libQtGui.so.4
#34 0xb5aeecb0 in QWidget::event () from /usr/lib/libQtGui.so.4
#35 0xb5edee5c in QMainWindow::event () from /usr/lib/libQtGui.so.4
#36 0xb67b0658 in KMainWindow::event () from /usr/lib/libkdeui.so.5
#37 0xb67f6ac2 in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5
#38 0xb5a9564c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#39 0xb5a9dedb in QApplication::notify () from /usr/lib/libQtGui.so.4
#40 0xb66cad01 in KApplication::notify () from /usr/lib/libkdeui.so.5
#41 0xb55c59ae in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#42 0xb55c6665 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#43 0xb55c684c in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#44 0xb55f293d in ?? () from /usr/lib/libQtCore.so.4
#45 0xb4a527ea in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#46 0xb4a55f08 in ?? () from /usr/lib/libglib-2.0.so.0
#47 0xb4a560c8 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#48 0xb55f255a in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#49 0xb5b3a40a in ?? () from /usr/lib/libQtGui.so.4
#50 0xb55c3f73 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#51 0xb55c43cd in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#52 0xb55c6926 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#53 0xb5a954b4 in QApplication::exec () from /usr/lib/libQtGui.so.4
#54 0x083fa211 in main (argc=5, argv=0xbfd90bf4) at /home/jnarboux/digikam-versions/graphics/digikam/digikam/main.cpp:186
Comment 1 Andi Clemens 2009-09-28 17:05:12 UTC
I tried to reproduce this, but for me it is working. Have you experienced this problem again?
Comment 2 Julien Narboux 2009-09-28 17:18:28 UTC
I tried to reproduce but it worked fine. Maybe the bug was caused by the fact that I was using two databases an ide hard drive and another one on usb harddrive.  I never encountered the bug about thumbnails before using the external usb drive, so may be caused by the fact the picture are on a slower hard disk.

Julien
Comment 3 Marcel Wiesweg 2009-10-03 22:33:30 UTC
I dont get a clue from the backtrace. It occurs when alpha blending a rating widget, either in the main icon view or in a thumbbar. No hint as to why there is a crash.
Difficult for me to do anything if not reproducable.
Comment 4 caulier.gilles 2009-12-25 20:13:50 UTC
digiKam 1.0.0 is out since few days...

http://www.digikam.org/drupal/node/491

Please try with this version coming with more than 400 bug-fixes.

Thanks in advance

Gilles Caulier
Comment 5 Julien Narboux 2010-01-06 11:12:44 UTC
Can not reproduce using 1.0.0.