Bug 266576

Summary: digikam crashes on start up
Product: [Applications] digikam Reporter: Xosé <xosecalvo>
Component: Plugin-Bqm-RotateAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 1.8.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.6.0
Sentry Crash Report:

Description Xosé 2011-02-18 00:21:41 UTC
Application: digikam (1.8.0)
KDE Platform Version: 4.6.00 (4.6.0)
Qt Version: 4.7.1
Operating System: Linux 2.6.35-25-generic x86_64
Distribution: Ubuntu natty (development branch)

-- Information about the crash:
- What I was doing when the application crashed: I haven't been able to use digikam for some time now. I was having this problem with Kubuntu 10.10 and still do with 11.04.

The crash can be reproduced every time.

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

Thread 13 (Thread 0x7f076f2ba700 (LWP 6815)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f078321009b in wait (this=<value optimized out>, mutex=0x1e69690, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x1e69690, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005ed855 in Digikam::ScanController::run (this=0x1e25880) at /build/buildd/digikam-1.8.0/digikam/scancontroller.cpp:571
#4  0x00007f078320f9de in QThreadPrivate::start (arg=0x1e25880) at thread/qthread_unix.cpp:285
#5  0x00007f077fa48d8c in start_thread (arg=0x7f076f2ba700) at pthread_create.c:304
#6  0x00007f07824e439d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f076eab9700 (LWP 6816)):
#0  0x00007f07824d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f077b66b170 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f077b66b699 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f0783321aa6 in QEventDispatcherGlib::processEvents (this=0x1e64e10, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f07832f5f12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f07832f614c in QEventLoop::exec (this=0x7f076eab8d50, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f078320d224 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f07832d846f in QInotifyFileSystemWatcherEngine::run (this=0x1e663b0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f078320f9de in QThreadPrivate::start (arg=0x1e663b0) at thread/qthread_unix.cpp:285
#9  0x00007f077fa48d8c in start_thread (arg=0x7f076eab9700) at pthread_create.c:304
#10 0x00007f07824e439d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f076e2b8700 (LWP 6818)):
#0  0x00007f07824d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f077b66b170 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f077b66b699 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f0783321aa6 in QEventDispatcherGlib::processEvents (this=0x201dcd0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f07832f5f12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f07832f614c in QEventLoop::exec (this=0x7f076e2b7d80, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f078320d224 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f078320f9de in QThreadPrivate::start (arg=0x1fe2100) at thread/qthread_unix.cpp:285
#8  0x00007f077fa48d8c in start_thread (arg=0x7f076e2b8700) at pthread_create.c:304
#9  0x00007f07824e439d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f0767fff700 (LWP 6819)):
#0  QEventDispatcherGlib::processEvents (this=0x2020360, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:416
#1  0x00007f07832f5f12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#2  0x00007f07832f614c in QEventLoop::exec (this=0x7f0767ffed80, flags=...) at kernel/qeventloop.cpp:201
#3  0x00007f078320d224 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#4  0x00007f078320f9de in QThreadPrivate::start (arg=0x1fe25a0) at thread/qthread_unix.cpp:285
#5  0x00007f077fa48d8c in start_thread (arg=0x7f0767fff700) at pthread_create.c:304
#6  0x00007f07824e439d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f07677fe700 (LWP 6820)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f078321009b in wait (this=<value optimized out>, mutex=0x2011948, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x2011948, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f0786437c97 in Digikam::ParkingThread::run (this=0x2011930) at /build/buildd/digikam-1.8.0/libs/threads/threadmanager.cpp:119
#4  0x00007f078320f9de in QThreadPrivate::start (arg=0x2011930) at thread/qthread_unix.cpp:285
#5  0x00007f077fa48d8c in start_thread (arg=0x7f07677fe700) at pthread_create.c:304
#6  0x00007f07824e439d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f0766ffd700 (LWP 6821)):
#0  0x00007f0783322867 in QTimerInfoList::timerWait (this=<value optimized out>, tm=<value optimized out>) at kernel/qeventdispatcher_unix.cpp:467
#1  0x00007f078332129c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f0766ffcbfc) at kernel/qeventdispatcher_glib.cpp:136
#2  0x00007f0783321345 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#3  0x00007f077b66a0f2 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#4  0x00007f077b66aff4 in ?? () from /lib/libglib-2.0.so.0
#5  0x00007f077b66b699 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#6  0x00007f0783321aa6 in QEventDispatcherGlib::processEvents (this=0x20458a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#7  0x00007f07832f5f12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007f07832f614c in QEventLoop::exec (this=0x7f0766ffcd80, flags=...) at kernel/qeventloop.cpp:201
#9  0x00007f078320d224 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#10 0x00007f078320f9de in QThreadPrivate::start (arg=0x203ea70) at thread/qthread_unix.cpp:285
#11 0x00007f077fa48d8c in start_thread (arg=0x7f0766ffd700) at pthread_create.c:304
#12 0x00007f07824e439d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f07667fc700 (LWP 6822)):
#0  0x00007f077fa4cd9d in __pthread_mutex_unlock_usercnt (mutex=0x20499d8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x20499d8) at pthread_mutex_unlock.c:290
#2  0x00007f077b66a0e4 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#3  0x00007f077b66aff4 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f077b66b699 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f0783321aa6 in QEventDispatcherGlib::processEvents (this=0x20270b0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00007f07832f5f12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f07832f614c in QEventLoop::exec (this=0x7f07667fbd80, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f078320d224 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#9  0x00007f078320f9de in QThreadPrivate::start (arg=0x2024d20) at thread/qthread_unix.cpp:285
#10 0x00007f077fa48d8c in start_thread (arg=0x7f07667fc700) at pthread_create.c:304
#11 0x00007f07824e439d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f0758ac1700 (LWP 6826)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x2935e98) at pthread_mutex_unlock.c:37
#1  __pthread_mutex_unlock (mutex=0x2935e98) at pthread_mutex_unlock.c:290
#2  0x00007f077b66af6c in ?? () from /lib/libglib-2.0.so.0
#3  0x00007f077b66b699 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#4  0x00007f0783321aa6 in QEventDispatcherGlib::processEvents (this=0x2939e70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#5  0x00007f07832f5f12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f07832f614c in QEventLoop::exec (this=0x7f0758ac0d50, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f078320d224 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#8  0x00007f07832d846f in QInotifyFileSystemWatcherEngine::run (this=0x293d780) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f078320f9de in QThreadPrivate::start (arg=0x293d780) at thread/qthread_unix.cpp:285
#10 0x00007f077fa48d8c in start_thread (arg=0x7f0758ac1700) at pthread_create.c:304
#11 0x00007f07824e439d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f0755a29700 (LWP 6833)):
#0  0x00007f077fa4b3c4 in __pthread_mutex_lock (mutex=0x7f0750bd60a8) at pthread_mutex_lock.c:61
#1  0x00007f077b66b684 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#2  0x00007f0783321aa6 in QEventDispatcherGlib::processEvents (this=0x7f0750ad8ff0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#3  0x00007f07832f5f12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#4  0x00007f07832f614c in QEventLoop::exec (this=0x7f0755a28d50, flags=...) at kernel/qeventloop.cpp:201
#5  0x00007f078320d224 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#6  0x00007f07832d846f in QInotifyFileSystemWatcherEngine::run (this=0x4325a70) at io/qfilesystemwatcher_inotify.cpp:248
#7  0x00007f078320f9de in QThreadPrivate::start (arg=0x4325a70) at thread/qthread_unix.cpp:285
#8  0x00007f077fa48d8c in start_thread (arg=0x7f0755a29700) at pthread_create.c:304
#9  0x00007f07824e439d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f0757a2d700 (LWP 6841)):
#0  0x00007f07824d7283 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f077b66b170 in ?? () from /lib/libglib-2.0.so.0
#2  0x00007f077b66b699 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x00007f0783321aa6 in QEventDispatcherGlib::processEvents (this=0x211b990, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f07832f5f12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f07832f614c in QEventLoop::exec (this=0x7f0757a2cd50, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f078320d224 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f07832d846f in QInotifyFileSystemWatcherEngine::run (this=0x7f0750be5130) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f078320f9de in QThreadPrivate::start (arg=0x7f0750be5130) at thread/qthread_unix.cpp:285
#9  0x00007f077fa48d8c in start_thread (arg=0x7f0757a2d700) at pthread_create.c:304
#10 0x00007f07824e439d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f075622a700 (LWP 6842)):
#0  0x00007f0778fde8ce in ?? () from /usr/lib/libsqlite3.so.0
#1  0x00007f0778fd89bb in ?? () from /usr/lib/libsqlite3.so.0
#2  0x00007f0778fdcde4 in ?? () from /usr/lib/libsqlite3.so.0
#3  0x00007f0779019788 in ?? () from /usr/lib/libsqlite3.so.0
#4  0x00007f0779019de1 in ?? () from /usr/lib/libsqlite3.so.0
#5  0x00007f0779019fa8 in ?? () from /usr/lib/libsqlite3.so.0
#6  0x00007f077901a1d7 in sqlite3_finalize () from /usr/lib/libsqlite3.so.0
#7  0x00007f076d8b1422 in QSQLiteResultPrivate::finalize (this=0x7f0769014ce0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:152
#8  0x00007f076d8b1439 in QSQLiteResultPrivate::cleanup (this=0x7f0769014ce0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:138
#9  0x00007f076d8b148c in QSQLiteResult::~QSQLiteResult (this=0x7f0769014b80, __in_chrg=<value optimized out>) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:293
#10 0x00007f076d8b1519 in QSQLiteResult::~QSQLiteResult (this=0x7f0769014b80, __in_chrg=<value optimized out>) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:295
#11 0x00007f0786cdaefe in QSqlQuery::~QSqlQuery (this=<value optimized out>, __in_chrg=<value optimized out>) at kernel/qsqlquery.cpp:245
#12 0x00007f07863d7178 in Digikam::DatabaseCoreBackend::execSql (this=<value optimized out>, sql=<value optimized out>, boundValue1=<value optimized out>, boundValue2=<value optimized out>, boundValue3=<value optimized out>, boundValue4=<value optimized out>, values=0x0, lastInsertId=0x7f0756229750) at /build/buildd/digikam-1.8.0/libs/database/databasecorebackend.cpp:813
#13 0x00007f07863e1003 in Digikam::ThumbnailDB::insertThumbnail (this=0x1dffe20, info=..., lastInsertId=0x7f07562297c0) at /build/buildd/digikam-1.8.0/libs/database/thumbnaildb.cpp:197
#14 0x00007f078640df88 in Digikam::ThumbnailCreator::storeInDatabase (this=<value optimized out>, info=..., image=<value optimized out>) at /build/buildd/digikam-1.8.0/libs/threadimageio/thumbnailcreator.cpp:649
#15 0x00007f078641267d in Digikam::ThumbnailCreator::load (this=0x4295600, path=...) at /build/buildd/digikam-1.8.0/libs/threadimageio/thumbnailcreator.cpp:217
#16 0x00007f078641bb5d in Digikam::ThumbnailLoadingTask::execute (this=0x4a4e7f0) at /build/buildd/digikam-1.8.0/libs/threadimageio/thumbnailtask.cpp:145
#17 0x00007f07863f9146 in Digikam::LoadSaveThread::run (this=0x42952d0) at /build/buildd/digikam-1.8.0/libs/threadimageio/loadsavethread.cpp:116
#18 0x00007f0786438ff6 in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x42941a0) at /build/buildd/digikam-1.8.0/libs/threads/dynamicthread.cpp:306
#19 0x00007f0783206028 in QThreadPoolThread::run (this=0x44132a0) at concurrent/qthreadpool.cpp:106
#20 0x00007f078320f9de in QThreadPrivate::start (arg=0x44132a0) at thread/qthread_unix.cpp:285
#21 0x00007f077fa48d8c in start_thread (arg=0x7f075622a700) at pthread_create.c:304
#22 0x00007f07824e439d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#23 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f075722c700 (LWP 6843)):
#0  0x00007f077fa4cd9d in __pthread_mutex_unlock_usercnt (mutex=0x7f0750c26068) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7f0750c26068) at pthread_mutex_unlock.c:290
#2  0x00007f077b66a89e in g_main_context_check () from /lib/libglib-2.0.so.0
#3  0x00007f077b66b192 in ?? () from /lib/libglib-2.0.so.0
#4  0x00007f077b66b699 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00007f0783321aa6 in QEventDispatcherGlib::processEvents (this=0x4a751a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00007f07832f5f12 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f07832f614c in QEventLoop::exec (this=0x7f075722bd50, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f078320d224 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#9  0x00007f07832d846f in QInotifyFileSystemWatcherEngine::run (this=0x4a74940) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f078320f9de in QThreadPrivate::start (arg=0x4a74940) at thread/qthread_unix.cpp:285
#11 0x00007f077fa48d8c in start_thread (arg=0x7f075722c700) at pthread_create.c:304
#12 0x00007f07824e439d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f0788b7f800 (LWP 6814)):
[KCrash Handler]
#6  deref (this=0x7fffc4bd9740, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:133
#7  QVariant::~QVariant (this=0x7fffc4bd9740, __in_chrg=<value optimized out>) at kernel/qvariant.cpp:1407
#8  0x00007f07437c0dc4 in ?? () from /usr/lib/kde4/kipiplugin_jpeglossless.so
#9  0x00007f07437b8298 in ?? () from /usr/lib/kde4/kipiplugin_jpeglossless.so
#10 0x00000000005a59c3 in Digikam::DigikamApp::slotKipiPluginPlug (this=0x1f40240) at /build/buildd/digikam-1.8.0/digikam/digikamapp.cpp:2555
#11 0x00000000005a6ded in Digikam::DigikamApp::qt_metacall (this=0x1f40240, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fffc4bd9e10) at /build/buildd/digikam-1.8.0/obj-x86_64-linux-gnu/digikam/digikamapp.moc:230
#12 0x00007f078330bc18 in QMetaObject::activate (sender=0x4be24c0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x0) at kernel/qobject.cpp:3280
#13 0x0000000000591d70 in Digikam::DigikamApp::loadPlugins (this=0x1f40240) at /build/buildd/digikam-1.8.0/digikam/digikamapp.cpp:2495
#14 0x00000000005a3991 in Digikam::DigikamApp::DigikamApp (this=0x1f40240, __in_chrg=<value optimized out>, __vtt_parm=<value optimized out>) at /build/buildd/digikam-1.8.0/digikam/digikamapp.cpp:260
#15 0x0000000000632e37 in main (argc=5, argv=0x7fffc4bdaa68) at /build/buildd/digikam-1.8.0/digikam/main.cpp:177

Possible duplicates by query: bug 265641, bug 265640, bug 264603, bug 261177, bug 234021.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-02-18 10:33:50 UTC

*** This bug has been marked as a duplicate of bug 265641 ***
Comment 2 caulier.gilles 2022-01-19 03:21:01 UTC
Fixed with https://bugs.kde.org/show_bug.cgi?id=265641