[Digikam-devel] Crash when playing with status bar mime type filter...

Gilles Caulier caulier.gilles at gmail.com
Sun Jun 21 10:58:29 CEST 2009


MArcel,

Look this backtrace :

Application : digiKam (digikam), signal SIGABRT
[Current thread is 1 (Thread 0xb4357ac0 (LWP 17731))]

Thread 16 (Thread 0xb2b2bb90 (LWP 17733)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53a4c45 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i686/libpthread.so.0
#2  0xb541b5eb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x0835a325 in Digikam::ScanController::run (this=0x895b8f8) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/scancontroller.cpp:455
#4  0xb541a4df in ?? () from /usr/lib/libQtCore.so.4
#5  0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 15 (Thread 0xb20c5b90 (LWP 18715)):
#0  0xb55431f9 in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#1  0xb5514903 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#2  0xb5514d51 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#3  0xb541711b in QThread::exec () from /usr/lib/libQtCore.so.4
#4  0xb6e896bf in Digikam::ImageFilterModelWorker::Thread::run
(this=0x8b7c990) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/libs/models/imagefiltermodelthreads.h:66
#5  0xb541a4df in ?? () from /usr/lib/libQtCore.so.4
#6  0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#7  0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 14 (Thread 0xb18c4b90 (LWP 18716)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb51f46e7 in poll () from /lib/i686/libc.so.6
#2  0xb489fb6b in g_poll () from /usr/lib/libglib-2.0.so.0
#3  0xb48921e2 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb48924df in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb55431f7 in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#6  0xb5514903 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#7  0xb5514d51 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#8  0xb541711b in QThread::exec () from /usr/lib/libQtCore.so.4
#9  0xb6e896bf in Digikam::ImageFilterModelWorker::Thread::run
(this=0x898f930) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/libs/models/imagefiltermodelthreads.h:66
#10 0xb541a4df in ?? () from /usr/lib/libQtCore.so.4
#11 0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#12 0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 13 (Thread 0xb1043b90 (LWP 18717)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53a4c45 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i686/libpthread.so.0
#2  0xb541b5eb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb70ad34d in Digikam::LoadSaveThread::run (this=0x8bfc658) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#4  0xb541a4df in ?? () from /usr/lib/libQtCore.so.4
#5  0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 12 (Thread 0xb0842b90 (LWP 18718)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53a4c45 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i686/libpthread.so.0
#2  0xb541b5eb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb70ad34d in Digikam::LoadSaveThread::run (this=0x8c31158) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#4  0xb541a4df in ?? () from /usr/lib/libQtCore.so.4
#5  0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 11 (Thread 0xade69b90 (LWP 18735)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53a4f72 in pthread_cond_timedwait@@GLIBC_2.3.2 () from
/lib/i686/libpthread.so.0
#2  0xae9d8a11 in ?? () from /usr/lib/libxine.so.1
#3  0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#4  0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 10 (Thread 0xad183b90 (LWP 18736)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb51f74c1 in select () from /lib/i686/libc.so.6
#2  0xaea03c42 in xine_usec_sleep () from /usr/lib/libxine.so.1
#3  0xae9e705d in ?? () from /usr/lib/libxine.so.1
#4  0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#5  0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 9 (Thread 0xac982b90 (LWP 18737)):
#0  0xb539f1d3 in __i686.get_pc_thunk.bx () from /lib/i686/libpthread.so.0
#1  0xb53a277e in pthread_mutex_lock () from /lib/i686/libpthread.so.0
#2  0xb48922fc in ?? () from /usr/lib/libglib-2.0.so.0
#3  0xb48924df in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0xb55431f7 in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#5  0xb5514903 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#6  0xb5514d51 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#7  0xb541711b in QThread::exec () from /usr/lib/libQtCore.so.4
#8  0xaea2cdd8 in ?? () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so
#9  0xb541a4df in ?? () from /usr/lib/libQtCore.so.4
#10 0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#11 0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 8 (Thread 0xac181b90 (LWP 18738)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb51f46e7 in poll () from /lib/i686/libc.so.6
#2  0xad632b96 in ?? () from /usr/lib/libpulse.so.0
#3  0xad61fbf0 in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#4  0xad621375 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#5  0xad621454 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#6  0xad63292e in ?? () from /usr/lib/libpulse.so.0
#7  0xad5f33d3 in ?? () from /usr/lib/libpulsecommon-0.9.15.so
#8  0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#9  0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 7 (Thread 0xa793db90 (LWP 18739)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53a4c45 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i686/libpthread.so.0
#2  0xae9eabfb in ?? () from /usr/lib/libxine.so.1
#3  0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#4  0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 6 (Thread 0xa47e1b90 (LWP 18756)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53a4c45 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i686/libpthread.so.0
#2  0xb541b5eb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb70ad34d in Digikam::LoadSaveThread::run (this=0xad4e7a0) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#4  0xb541a4df in ?? () from /usr/lib/libQtCore.so.4
#5  0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 5 (Thread 0xa6847b90 (LWP 18765)):
#0  0xb47bf17a in clock_gettime () from /lib/i686/librt.so.1
#1  0xb5544d8c in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5544f82 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5546a52 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb55433db in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4891bd3 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb489201d in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb48924df in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb55431f7 in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#9  0xb5514903 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb5514d51 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb541711b in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0x0834f323 in Digikam::MetadataManagerWorker::Thread::run
(this=0xaf71860) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/metadatamanager_p.h:145
#13 0xb541a4df in ?? () from /usr/lib/libQtCore.so.4
#14 0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#15 0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 4 (Thread 0xa709fb90 (LWP 18766)):
#0  0xb47bf17a in clock_gettime () from /lib/i686/librt.so.1
#1  0xb5544d8c in ?? () from /usr/lib/libQtCore.so.4
#2  0xb5544f82 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb5546a52 in ?? () from /usr/lib/libQtCore.so.4
#4  0xb55433db in ?? () from /usr/lib/libQtCore.so.4
#5  0xb4891bd3 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb489201d in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb48924df in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb55431f7 in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#9  0xb5514903 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb5514d51 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb541711b in QThread::exec () from /usr/lib/libQtCore.so.4
#12 0x0834f323 in Digikam::MetadataManagerWorker::Thread::run
(this=0xaf81520) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/metadatamanager_p.h:145
#13 0xb541a4df in ?? () from /usr/lib/libQtCore.so.4
#14 0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#15 0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 3 (Thread 0xa5cacb90 (LWP 18773)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53a4c45 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i686/libpthread.so.0
#2  0xb541b5eb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0xb70ad34d in Digikam::LoadSaveThread::run (this=0xbd01388) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/libs/threadimageio/loadsavethread.cpp:136
#4  0xb541a4df in ?? () from /usr/lib/libQtCore.so.4
#5  0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 2 (Thread 0xa3fb6b90 (LWP 20454)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb53a4c45 in pthread_cond_wait@@GLIBC_2.3.2 () from
/lib/i686/libpthread.so.0
#2  0xb541b5eb in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#3  0x0821fde2 in Digikam::ActionThread::run (this=0x8b6f990) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/utilities/queuemanager/actionthread.cpp:149
#4  0xb541a4df in ?? () from /usr/lib/libQtCore.so.4
#5  0xb53a1315 in start_thread () from /lib/i686/libpthread.so.0
#6  0xb51ff25e in clone () from /lib/i686/libc.so.6

Thread 1 (Thread 0xb4357ac0 (LWP 17731)):
[KCrash Handler]
#6  0xffffe424 in __kernel_vsyscall ()
#7  0xb514cc00 in raise () from /lib/i686/libc.so.6
#8  0xb514e668 in abort () from /lib/i686/libc.so.6
#9  0xb5411c85 in qt_message_output () from /usr/lib/libQtCore.so.4
#10 0xb5411d7c in qFatal () from /usr/lib/libQtCore.so.4
#11 0xb5411e2d in qt_assert_x () from /usr/lib/libQtCore.so.4
#12 0x0833e2c3 in
QVector<KCategorizedView::Private::ElementInfo>::operator[]
(this=0x891a04c, i=1) at /usr/lib/qt4/include/QtCore/qvector.h:331
#13 0x08335820 in KCategorizedView::Private::visualRectInViewport
(this=0x891a010, index=@0xbfc04a0c) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/kcategorizedview.cpp:125
#14 0x0833675d in KCategorizedView::Private::cacheIndex
(this=0x891a010, index=@0xbfc04a0c) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/kcategorizedview.cpp:335
#15 0x08336a1f in KCategorizedView::Private::cachedRectIndex
(this=0x891a010, index=@0xbfc04a0c) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/kcategorizedview.cpp:359
#16 0x083385f0 in KCategorizedView::Private::visualRect
(this=0x891a010, index=@0xbfc04a0c) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/kcategorizedview.cpp:378
#17 0x083390c1 in KCategorizedView::Private::intersectionSet
(this=0x891a010, rect=@0xbfc04b60) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/kcategorizedview.cpp:85
#18 0x0833a874 in KCategorizedView::categorizedIndexesIn
(this=0x8b9c960, rect=@0xbfc04b60) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/kcategorizedview.cpp:781
#19 0x0831020f in Digikam::ImageCategorizedView::paintEvent
(this=0x8b9c960, e=0xbfc05344) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/imagecategorizedview.cpp:898
#20 0xb5a44b3d in QWidget::event () from /usr/lib/libQtGui.so.4
#21 0xb5e41639 in QFrame::event () from /usr/lib/libQtGui.so.4
#22 0xb5ee5b90 in QAbstractScrollArea::viewportEvent () from
/usr/lib/libQtGui.so.4
#23 0xb5f9d153 in QAbstractItemView::viewportEvent () from
/usr/lib/libQtGui.so.4
#24 0x08311f3e in Digikam::ImageCategorizedView::viewportEvent
(this=0x8b9c960, event=0xbfc05344) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/imagecategorizedview.cpp:942
#25 0xb5ee8206 in ?? () from /usr/lib/libQtGui.so.4
#26 0xb55154de in
QCoreApplicationPrivate::sendThroughObjectEventFilters () from
/usr/lib/libQtCore.so.4
#27 0xb59eb96f in QApplicationPrivate::notify_helper () from
/usr/lib/libQtGui.so.4
#28 0xb59f41db in QApplication::notify () from /usr/lib/libQtGui.so.4
#29 0xb6647c21 in KApplication::notify () from /usr/lib/libkdeui.so.5
#30 0xb551633e in QCoreApplication::notifyInternal () from
/usr/lib/libQtCore.so.4
#31 0xb59f711d in QCoreApplication::sendSpontaneousEvent () from
/usr/lib/libQtGui.so.4
#32 0xb5a4ccef in QWidgetPrivate::drawWidget () from /usr/lib/libQtGui.so.4
#33 0xb5c17db6 in ?? () from /usr/lib/libQtGui.so.4
#34 0xb5a3ca3e in QWidgetPrivate::syncBackingStore () from
/usr/lib/libQtGui.so.4
#35 0xb5a44fc0 in QWidget::event () from /usr/lib/libQtGui.so.4
#36 0xb5e5f9fc in QMainWindow::event () from /usr/lib/libQtGui.so.4
#37 0xb672d2e8 in KMainWindow::event () from /usr/lib/libkdeui.so.5
#38 0xb6773722 in KXmlGuiWindow::event () from /usr/lib/libkdeui.so.5
#39 0xb59eb99c in QApplicationPrivate::notify_helper () from
/usr/lib/libQtGui.so.4
#40 0xb59f41db in QApplication::notify () from /usr/lib/libQtGui.so.4
#41 0xb6647c21 in KApplication::notify () from /usr/lib/libkdeui.so.5
#42 0xb551633e in QCoreApplication::notifyInternal () from
/usr/lib/libQtCore.so.4
#43 0xb5516ff5 in QCoreApplicationPrivate::sendPostedEvents () from
/usr/lib/libQtCore.so.4
#44 0xb55171dc in QCoreApplication::sendPostedEvents () from
/usr/lib/libQtCore.so.4
#45 0xb55435bd in ?? () from /usr/lib/libQtCore.so.4
#46 0xb488ecea in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#47 0xb4892354 in ?? () from /usr/lib/libglib-2.0.so.0
#48 0xb48924df in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#49 0xb55431da in QEventDispatcherGlib::processEvents () from
/usr/lib/libQtCore.so.4
#50 0xb5a8fe6a in ?? () from /usr/lib/libQtGui.so.4
#51 0xb5514903 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#52 0xb5514d51 in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#53 0xb55172b6 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#54 0xb59eb804 in QApplication::exec () from /usr/lib/libQtGui.so.4
#55 0x0839715b in main (argc=3, argv=0xbfc060e4) at
/home/gilles/Documents/Devel/SVN/trunk/graphics/digikam/digikam/main.cpp:184

How to reproduce :

1/ I take 3 raw pictures with my camera.
2/ Download it to a dedicated album. Only these images are in this album.
3/ I select these pictures to place on BQM. I convert it to PNG. PNG
files are just created in the same album.
4/ When it's done, i close BQM and go back to album gui.
5/ I want to remove all RAW files to lets PNG files alone.
6/ I go to status bar mime type filter and select RAW files.
7/ all files are filtered properly. LED is GREEN.
8/ I select all RAW files and move all to trash
9/ all items are moved properly but filter still GREEN when all raw
items disappear. WHY ? (First problem)
10/ i press on LED to reset filter : digiKam crash (second problem)

Best

Gilles Caulier


More information about the Digikam-devel mailing list