Bug 275009 - Digikam crashes after building up thumbnails
Summary: Digikam crashes after building up thumbnails
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Thumbs-Engine (show other bugs)
Version: 2.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-05 22:32 UTC by jan
Modified: 2017-07-28 15:04 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jan 2011-06-05 22:32:07 UTC
Application: digikam (2.0.0-beta6)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
Buildng up thumbnails did not start automatically, so I did it manually via tools / rebuilding up thumbnails / scan

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0xb5bb08c0 (LWP 19715))]

Thread 6 (Thread 0xb5953b70 (LWP 19717)):
#0  0x02fc0df4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#1  0x02fc1e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#2  0x02fc292b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x04809304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#4  0x02feb2df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0055be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#6  0x0719873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 5 (Thread 0xb2a05b70 (LWP 19719)):
#0  0x009ce416 in __kernel_vsyscall ()
#1  0x0056048c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x071a63fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0775a467 in wait (this=0x88192d4, mutex=0x88192d0, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x88192d4, mutex=0x88192d0, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x081e40a9 in Digikam::ScanController::run (this=0x88190a0) at /build/buildd/digikam2-2.0.0~beta6/core/digikam/database/scancontroller.cpp:618
#6  0x07759da2 in QThreadPrivate::start (arg=0x88190a0) at thread/qthread_unix.cpp:320
#7  0x0055be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0719873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 4 (Thread 0xb2204b70 (LWP 19720)):
#0  0x0055f7a4 in __pthread_mutex_unlock_usercnt () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x071a6656 in pthread_mutex_unlock () from /lib/i386-linux-gnu/libc.so.6
#2  0x02fc05e6 in g_main_context_acquire () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x02fc1dde in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x02fc2524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0787b577 in QEventDispatcherGlib::processEvents (this=0x882a2d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x0784d289 in QEventLoop::processEvents (this=0xb22040e0, flags=...) at kernel/qeventloop.cpp:149
#7  0x0784d522 in QEventLoop::exec (this=0xb22040e0, flags=...) at kernel/qeventloop.cpp:201
#8  0x077572a0 in QThread::exec (this=0x8817228) at thread/qthread.cpp:492
#9  0x0782efdb in QInotifyFileSystemWatcherEngine::run (this=0x8817228) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x07759da2 in QThreadPrivate::start (arg=0x8817228) at thread/qthread_unix.cpp:320
#11 0x0055be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x0719873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xb1a03b70 (LWP 19723)):
#0  0x009ce416 in __kernel_vsyscall ()
#1  0x0056048c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x071a63fd in pthread_cond_wait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0775a467 in wait (this=0x88e5108, mutex=0x88e5104, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0x88e5108, mutex=0x88e5104, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x022eaada in Digikam::ParkingThread::run (this=0x88e50f8) at /build/buildd/digikam2-2.0.0~beta6/core/libs/threads/threadmanager.cpp:119
#6  0x07759da2 in QThreadPrivate::start (arg=0x88e50f8) at thread/qthread_unix.cpp:320
#7  0x0055be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0719873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xa6944b70 (LWP 19732)):
#0  0x009ce416 in __kernel_vsyscall ()
#1  0x00560834 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/i386-linux-gnu/libpthread.so.0
#2  0x071a6454 in pthread_cond_timedwait () from /lib/i386-linux-gnu/libc.so.6
#3  0x0775a3e5 in wait (this=0x920fbc4, mutex=0x920fbc0, time=30000) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x920fbc4, mutex=0x920fbc0, time=30000) at thread/qwaitcondition_unix.cpp:160
#5  0x0774d8f1 in QThreadPoolThread::run (this=0x8f730c8) at concurrent/qthreadpool.cpp:140
#6  0x07759da2 in QThreadPrivate::start (arg=0x8f730c8) at thread/qthread_unix.cpp:320
#7  0x0055be99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0719873e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb5bb08c0 (LWP 19715)):
[KCrash Handler]
#7  QMutex::lock (this=0x2c) at thread/qmutex.cpp:151
#8  0x022884ea in Digikam::ThumbnailDatabaseAccess::ThumbnailDatabaseAccess (this=0xbf87176e) at /build/buildd/digikam2-2.0.0~beta6/core/libs/database/thumbnaildatabaseaccess.cpp:87
#9  0x0812e255 in Digikam::BatchThumbsGenerator::slotRebuildThumbs (this=0x9a36d60) at /build/buildd/digikam2-2.0.0~beta6/core/utilities/batch/batchthumbsgenerator.cpp:159
#10 0x0812e713 in Digikam::BatchThumbsGenerator::qt_metacall (this=0x9a36d60, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbf87185c) at /build/buildd/digikam2-2.0.0~beta6/obj-i686-linux-gnu/core/digikam/batchthumbsgenerator.moc:82
#11 0x078546ba in QMetaObject::metacall (object=0x9a36d60, cl=QMetaObject::InvokeMetaMethod, idx=85, argv=0xbf87185c) at kernel/qmetaobject.cpp:237
#12 0x078644ff in QMetaObject::activate (sender=0x9396cd0, m=0x7988188, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3287
#13 0x0786a4d7 in QSingleShotTimer::timeout (this=0x9396cd0) at .moc/release-shared/qtimer.moc:82
#14 0x0786a58c in QSingleShotTimer::timerEvent (this=0x9396cd0) at kernel/qtimer.cpp:308
#15 0x07863214 in QObject::event (this=0x9396cd0, e=0xbf871d7c) at kernel/qobject.cpp:1190
#16 0x02630d24 in QApplicationPrivate::notify_helper (this=0x86d65b8, receiver=0x9396cd0, e=0xbf871d7c) at kernel/qapplication.cpp:4462
#17 0x026358ce in QApplication::notify (this=0xbf87214c, receiver=0x9396cd0, e=0xbf871d7c) at kernel/qapplication.cpp:3862
#18 0x07c1c3ca in KApplication::notify (this=0xbf87214c, receiver=0x9396cd0, event=0xbf871d7c) at ../../kdeui/kernel/kapplication.cpp:311
#19 0x0784e0bb in QCoreApplication::notifyInternal (this=0xbf87214c, receiver=0x9396cd0, event=0xbf871d7c) at kernel/qcoreapplication.cpp:731
#20 0x0787e1e4 in sendEvent (this=0x86d9e34) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#21 QTimerInfoList::activateTimers (this=0x86d9e34) at kernel/qeventdispatcher_unix.cpp:604
#22 0x0787ae27 in timerSourceDispatch (source=0x86d9e68) at kernel/qeventdispatcher_glib.cpp:184
#23 idleTimerSourceDispatch (source=0x86d9e68) at kernel/qeventdispatcher_glib.cpp:231
#24 0x02fc1aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#25 0x02fc2270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#26 0x02fc2524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#27 0x0787b53c in QEventDispatcherGlib::processEvents (this=0x867ac98, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#28 0x026e4775 in QGuiEventDispatcherGlib::processEvents (this=0x867ac98, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#29 0x0784d289 in QEventLoop::processEvents (this=0xbf872014, flags=...) at kernel/qeventloop.cpp:149
#30 0x0784d522 in QEventLoop::exec (this=0xbf872014, flags=...) at kernel/qeventloop.cpp:201
#31 0x07851ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#32 0x0262e8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#33 0x082bb433 in main (argc=) at /build/buildd/digikam2-2.0.0~beta6/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 Marcel Wiesweg 2011-06-11 16:30:59 UTC
Your wording "did not start automatically" suggests:
You have photos, but see no thumbnails at all? As usually, all thumbnails are build as needed, and the batch tool is used only for special cases.
Comment 2 caulier.gilles 2011-06-20 17:53:38 UTC
It's hightly possible that this crash is relevant of libpgf.

I updated this library in digiKam core. Can you check if crash is reproducible with current implementation from git master (next 2.0.0 rc)

Gilles Caulier
Comment 3 caulier.gilles 2011-07-02 10:02:22 UTC
digiKam 2.0.0 RC is out. Please check if crash is reproducible with this version.

Thanks in advance

Gilles Caulier
Comment 4 Marcel Wiesweg 2011-09-25 13:48:24 UTC
See comments #1 and #3
Comment 5 caulier.gilles 2015-06-27 13:47:37 UTC
New digiKam 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles caulier
Comment 6 caulier.gilles 2015-08-22 06:37:45 UTC
digiKam 4.12.0 is out :

https://www.digikam.org/node/741

We need a fresh feedback using this release please...
Thanks in advance.
Comment 7 caulier.gilles 2016-07-15 21:01:17 UTC
With digiKam 5.0.0, this problem is not reproducible.
I close this file now. Don't hesitate to re-open if necessary.
Gilles Caulier