I guess this is similar to bug 329697, but it is still here in version 4.2. This bug is really annoying, as it is almost not possible to work more than few minutes without a crash... Here is the backtrace I get: (gdb) run Starting program: /usr/bin/digikam [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffd4f8b700 (LWP 3202)] [New Thread 0x7fffd05c7700 (LWP 3203)] [New Thread 0x7fffcfdc6700 (LWP 3204)] [New Thread 0x7fffc7fff700 (LWP 3205)] [New Thread 0x7fffc77fe700 (LWP 3206)] [New Thread 0x7fffc6ffd700 (LWP 3207)] [Thread 0x7fffc6ffd700 (LWP 3207) exited] [New Thread 0x7fffc6ffd700 (LWP 3209)] [New Thread 0x7fffb378f700 (LWP 3210)] Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) [New Thread 0x7fffb2f8e700 (LWP 3211)] QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work. [Thread 0x7fffb2f8e700 (LWP 3211) exited] [New Thread 0x7fffb2f8e700 (LWP 3212)] [Thread 0x7fffd4f8b700 (LWP 3202) exited] [New Thread 0x7fffaaab9700 (LWP 3215)] Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString) QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. QDBusConnection: session D-Bus connection created before QCoreApplication. Application may misbehave. kbuildsycoca4 running... kbuildsycoca4(3228) KBuildSycoca::checkTimestamps: checking file timestamps kbuildsycoca4(3228) KBuildSycoca::checkTimestamps: timestamps check ok kbuildsycoca4(3228) kdemain: Emitting notifyDatabaseChanged () [New Thread 0x7fffa9787700 (LWP 3230)] [Thread 0x7fffa9787700 (LWP 3230) exited] [New Thread 0x7fffa9787700 (LWP 3231)] [New Thread 0x7fff9bbe5700 (LWP 3232)] [Thread 0x7fffa9787700 (LWP 3231) exited] [Thread 0x7fff9bbe5700 (LWP 3232) exited] [New Thread 0x7fff9bbe5700 (LWP 3233)] [New Thread 0x7fffa9787700 (LWP 3234)] [New Thread 0x7fff9a835700 (LWP 3235)] [New Thread 0x7fff9a034700 (LWP 3236)] [New Thread 0x7fff99833700 (LWP 3237)] [New Thread 0x7fff99032700 (LWP 3238)] [New Thread 0x7fff98831700 (LWP 3239)] [New Thread 0x7fff83fff700 (LWP 3240)] [New Thread 0x7fff837fe700 (LWP 3241)] [New Thread 0x7fff82ffd700 (LWP 3242)] [New Thread 0x7fff827fc700 (LWP 3243)] [New Thread 0x7fff81ffb700 (LWP 3244)] [New Thread 0x7fff817fa700 (LWP 3245)] [New Thread 0x7fff80ff9700 (LWP 3246)] [New Thread 0x7fff5ffff700 (LWP 3247)] [New Thread 0x7fff5f7fe700 (LWP 3248)] [New Thread 0x7fff5effd700 (LWP 3249)] [New Thread 0x7fff5e7fc700 (LWP 3250)] [New Thread 0x7fff5dffb700 (LWP 3251)] [New Thread 0x7fff5d7fa700 (LWP 3252)] [New Thread 0x7fff5cff9700 (LWP 3253)] [New Thread 0x7fff3bfff700 (LWP 3254)] [New Thread 0x7fff3b7fe700 (LWP 3255)] [New Thread 0x7fff3affd700 (LWP 3256)] [New Thread 0x7fff3a7fc700 (LWP 3257)] [New Thread 0x7fff39ffb700 (LWP 3258)] [New Thread 0x7fff397fa700 (LWP 3259)] [New Thread 0x7fff38ff9700 (LWP 3260)] [New Thread 0x7fff33fff700 (LWP 3261)] [New Thread 0x7fff337fe700 (LWP 3262)] [New Thread 0x7fff32ffd700 (LWP 3263)] [New Thread 0x7fff327fc700 (LWP 3264)] [New Thread 0x7fff31ffb700 (LWP 3265)] [New Thread 0x7fff317fa700 (LWP 3266)] [New Thread 0x7fff30ff9700 (LWP 3267)] [New Thread 0x7fff2bfff700 (LWP 3268)] [New Thread 0x7fff2b7fe700 (LWP 3269)] Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action [Thread 0x7fffc77fe700 (LWP 3206) exited] [Thread 0x7fff397fa700 (LWP 3259) exited] [Thread 0x7fff5cff9700 (LWP 3253) exited] [Thread 0x7fff5ffff700 (LWP 3247) exited] [Thread 0x7fff327fc700 (LWP 3264) exited] [Thread 0x7fff32ffd700 (LWP 3263) exited] [Thread 0x7fff5effd700 (LWP 3249) exited] [Thread 0x7fff837fe700 (LWP 3241) exited] [Thread 0x7fff81ffb700 (LWP 3244) exited] [Thread 0x7fff83fff700 (LWP 3240) exited] [Thread 0x7fff31ffb700 (LWP 3265) exited] [Thread 0x7fff5d7fa700 (LWP 3252) exited] [Thread 0x7fff98831700 (LWP 3239) exited] [Thread 0x7fff2b7fe700 (LWP 3269) exited] [Thread 0x7fff3a7fc700 (LWP 3257) exited] [Thread 0x7fff80ff9700 (LWP 3246) exited] [Thread 0x7fff30ff9700 (LWP 3267) exited] [Thread 0x7fff3affd700 (LWP 3256) exited] [Thread 0x7fff5f7fe700 (LWP 3248) exited] [Thread 0x7fff39ffb700 (LWP 3258) exited] [Thread 0x7fff827fc700 (LWP 3243) exited] [Thread 0x7fff3b7fe700 (LWP 3255) exited] [Thread 0x7fffa9787700 (LWP 3234) exited] [Thread 0x7fff3bfff700 (LWP 3254) exited] [Thread 0x7fff99833700 (LWP 3237) exited] [Thread 0x7fff817fa700 (LWP 3245) exited] [Thread 0x7fff9a835700 (LWP 3235) exited] [Thread 0x7fff82ffd700 (LWP 3242) exited] [Thread 0x7fff99032700 (LWP 3238) exited] [Thread 0x7fff317fa700 (LWP 3266) exited] [Thread 0x7fff2bfff700 (LWP 3268) exited] [Thread 0x7fff38ff9700 (LWP 3260) exited] [Thread 0x7fff5e7fc700 (LWP 3250) exited] [Thread 0x7fff5dffb700 (LWP 3251) exited] [Thread 0x7fff337fe700 (LWP 3262) exited] [New Thread 0x7fff337fe700 (LWP 3293)] [New Thread 0x7fff5dffb700 (LWP 3294)] [New Thread 0x7fff5e7fc700 (LWP 3295)] [New Thread 0x7fff38ff9700 (LWP 3296)] [New Thread 0x7fffa9787700 (LWP 3297)] [Thread 0x7fff5e7fc700 (LWP 3295) exited] [Thread 0x7fff38ff9700 (LWP 3296) exited] [Thread 0x7fffa9787700 (LWP 3297) exited] QSocketNotifier: Invalid socket 11 and type 'Read', disabling... QSocketNotifier: Invalid socket 10 and type 'Read', disabling... QSocketNotifier: Invalid socket 14 and type 'Read', disabling... QSocketNotifier: Invalid socket 11 and type 'Read', disabling... [New Thread 0x7fffa9787700 (LWP 3309)] [New Thread 0x7fff38ff9700 (LWP 3310)] [New Thread 0x7fff5e7fc700 (LWP 3311)] [Thread 0x7fff38ff9700 (LWP 3310) exited] [Thread 0x7fffa9787700 (LWP 3309) exited] [Thread 0x7fff5e7fc700 (LWP 3311) exited] Program received signal SIGSEGV, Segmentation fault. 0x0000000003e679f0 in ?? ()
Here is the backtrace from the next crash: (gdb) run Starting program: /usr/bin/digikam [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffd4f8b700 (LWP 3434)] [New Thread 0x7fffd05c7700 (LWP 3435)] [New Thread 0x7fffcfdc6700 (LWP 3436)] [New Thread 0x7fffc7fff700 (LWP 3437)] [New Thread 0x7fffc77fe700 (LWP 3438)] [New Thread 0x7fffc6ffd700 (LWP 3439)] [New Thread 0x7fffbb78f700 (LWP 3441)] [New Thread 0x7fffbaf8e700 (LWP 3442)] Object::connect: No such signal org::freedesktop::UPower::DeviceAdded(QDBusObjectPath) Object::connect: No such signal org::freedesktop::UPower::DeviceRemoved(QDBusObjectPath) [New Thread 0x7fffba78d700 (LWP 3443)] QSqlDatabasePrivate::removeDatabase: connection 'ConnectionTest' is still in use, all queries will cease to work. [Thread 0x7fffba78d700 (LWP 3443) exited] [Thread 0x7fffc6ffd700 (LWP 3439) exited] [New Thread 0x7fffc6ffd700 (LWP 3444)] [New Thread 0x7fffba78d700 (LWP 3445)] [Thread 0x7fffba78d700 (LWP 3445) exited] [New Thread 0x7fffba78d700 (LWP 3446)] [New Thread 0x7fff97ffe700 (LWP 3447)] [Thread 0x7fffba78d700 (LWP 3446) exited] [Thread 0x7fff97ffe700 (LWP 3447) exited] [New Thread 0x7fff97ffe700 (LWP 3448)] [New Thread 0x7fffba78d700 (LWP 3449)] [New Thread 0x7fff9bcdd700 (LWP 3450)] [New Thread 0x7fff9b4dc700 (LWP 3451)] [New Thread 0x7fff9acdb700 (LWP 3452)] [New Thread 0x7fff9a4da700 (LWP 3453)] [New Thread 0x7fff99cd9700 (LWP 3454)] [New Thread 0x7fff994d8700 (LWP 3455)] [New Thread 0x7fff98cd7700 (LWP 3456)] [New Thread 0x7fff973a2700 (LWP 3457)] [New Thread 0x7fff96ba1700 (LWP 3458)] [New Thread 0x7fff963a0700 (LWP 3459)] [New Thread 0x7fff95b9f700 (LWP 3460)] [New Thread 0x7fff9539e700 (LWP 3461)] [New Thread 0x7fff94b9d700 (LWP 3462)] [New Thread 0x7fff5ffff700 (LWP 3463)] [New Thread 0x7fff5f7fe700 (LWP 3464)] [New Thread 0x7fff5effd700 (LWP 3465)] [New Thread 0x7fff5e7fc700 (LWP 3466)] [New Thread 0x7fff5dffb700 (LWP 3467)] [New Thread 0x7fff5d7fa700 (LWP 3468)] [New Thread 0x7fff5cff9700 (LWP 3469)] [New Thread 0x7fff3ffff700 (LWP 3470)] [New Thread 0x7fff3f7fe700 (LWP 3471)] [New Thread 0x7fff3effd700 (LWP 3472)] [New Thread 0x7fff3e7fc700 (LWP 3473)] [New Thread 0x7fff3dffb700 (LWP 3474)] [New Thread 0x7fff3d7fa700 (LWP 3475)] [New Thread 0x7fff3cff9700 (LWP 3476)] [New Thread 0x7fff2ffff700 (LWP 3477)] [New Thread 0x7fff2f7fe700 (LWP 3478)] [New Thread 0x7fff2effd700 (LWP 3479)] void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action void DBusMenuExporterPrivate::fillLayoutItem(DBusMenuLayoutItem*, QMenu*, int, int, const QStringList&): No id for action [Thread 0x7fffc77fe700 (LWP 3438) exited] [Thread 0x7fff5ffff700 (LWP 3463) exited] [Thread 0x7fff95b9f700 (LWP 3460) exited] [Thread 0x7fff3effd700 (LWP 3472) exited] [Thread 0x7fff3dffb700 (LWP 3474) exited] [Thread 0x7fff5dffb700 (LWP 3467) exited] [Thread 0x7fff3e7fc700 (LWP 3473) exited] [Thread 0x7fff5cff9700 (LWP 3469) exited] [Thread 0x7fff2effd700 (LWP 3479) exited] [Thread 0x7fff5d7fa700 (LWP 3468) exited] [Thread 0x7fff3f7fe700 (LWP 3471) exited] [Thread 0x7fff5e7fc700 (LWP 3466) exited] [Thread 0x7fff3ffff700 (LWP 3470) exited] [Thread 0x7fff2ffff700 (LWP 3477) exited] [Thread 0x7fff5f7fe700 (LWP 3464) exited] [Thread 0x7fff98cd7700 (LWP 3456) exited] [Thread 0x7fff3cff9700 (LWP 3476) exited] [Thread 0x7fff2f7fe700 (LWP 3478) exited] [Thread 0x7fff3d7fa700 (LWP 3475) exited] [Thread 0x7fff973a2700 (LWP 3457) exited] [Thread 0x7fffba78d700 (LWP 3449) exited] [Thread 0x7fff994d8700 (LWP 3455) exited] [Thread 0x7fff9acdb700 (LWP 3452) exited] [Thread 0x7fff9b4dc700 (LWP 3451) exited] [Thread 0x7fff94b9d700 (LWP 3462) exited] [Thread 0x7fff96ba1700 (LWP 3458) exited] [Thread 0x7fff5effd700 (LWP 3465) exited] [Thread 0x7fff99cd9700 (LWP 3454) exited] [New Thread 0x7fff99cd9700 (LWP 3509)] [New Thread 0x7fff5effd700 (LWP 3510)] QDBusObjectPath: invalid path "" digikam(3429)/digikam (core) Digikam::ImageInfo::ImageInfo: No itemShortInfo could be retrieved from the database for image "London_eye_test.jpg" [Thread 0x7fff5effd700 (LWP 3510) exited] [New Thread 0x7fff5effd700 (LWP 3522)] [New Thread 0x7fff94b9d700 (LWP 3523)] [New Thread 0x7fff96ba1700 (LWP 3525)] [Thread 0x7fff5effd700 (LWP 3522) exited] [Thread 0x7fff94b9d700 (LWP 3523) exited] [Thread 0x7fff96ba1700 (LWP 3525) exited] [New Thread 0x7fff96ba1700 (LWP 3527)] [New Thread 0x7fff94b9d700 (LWP 3528)] Program received signal SIGSEGV, Segmentation fault. 0x0000000000000000 in ?? ()
To generate the backtrace, you have to type "bt" after the crash at the gdb prompt. Please add it, if you still get a crash with sqlite 3.8.4 or newer.
Here is the backtrace I get withe the bt command: #0 0x00000000041c9a80 in ?? () #1 0x00007fffde03adac in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #2 0x00007fffde03af63 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #3 0x00007fffde04f579 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #4 0x00007fffde0779c5 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #5 0x00007fffde07fed7 in sqlite3_step () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #6 0x00007fffb1d8811c in QSQLiteResultPrivate::fetchNext ( this=this@entry=0x5997ea0, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235 #7 0x00007fffb1d88e48 in QSQLiteResult::exec (this=0x5d7bf00) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447 #8 0x00007ffff7babb7d in QSqlQuery::exec (this=this@entry=0x7fffffffc898) at kernel/qsqlquery.cpp:949 #9 0x00007ffff55a40e6 in Digikam::DatabaseCoreBackend::exec (this=0xf4bb20, query=...) at /build/buildd/digikam-4.2.0/core/libs/database/core/databasecorebackend.cpp:1415 #10 0x00007ffff55a4212 in Digikam::DatabaseCoreBackend::execQuery ( this=this@entry=0xf4bb20, query=..., boundValue1=..., boundValue2=...) at /build/buildd/digikam-4.2.0/core/libs/database/core/databasecorebackend.cpp:1065 ---Type <return> to continue, or q <return> to quit--- #11 0x00007ffff55a52cc in Digikam::DatabaseCoreBackend::execQuery ( this=this@entry=0xf4bb20, sql=..., boundValue1=..., boundValue2=...) at /build/buildd/digikam-4.2.0/core/libs/database/core/databasecorebackend.cpp:1014 #12 0x00007ffff55a531c in Digikam::DatabaseCoreBackend::execSql ( this=0xf4bb20, sql=..., boundValue1=..., boundValue2=..., values=values@entry=0x7fffffffc8e0, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.2.0/core/libs/database/core/databasecorebackend.cpp:911 #13 0x00007ffff4f5a38b in Digikam::AlbumDB::getImageProperty (this=0xfe5e90, imageID=imageID@entry=9781, property=...) at /build/buildd/digikam-4.2.0/core/libs/database/albumdb.cpp:2093 #14 0x00007ffff4f97819 in Digikam::ImageExtendedProperties::readProperty ( this=this@entry=0x7fffffffca70, property=...) at /build/buildd/digikam-4.2.0/core/libs/database/imageextendedproperties.cpp:139 #15 0x00007ffff4f979ba in Digikam::ImageExtendedProperties::location ( this=this@entry=0x7fffffffca70) at /build/buildd/digikam-4.2.0/core/libs/database/imageextendedproperties.cpp:115 #16 0x00007ffff4f9bd20 in Digikam::ImageInfo::metadataTemplate ( this=this@entry=0x2183058) at /build/buildd/digikam-4.2.0/core/libs/database/imageinfo.cpp:1503 ---Type <return> to continue, or q <return> to quit--- #17 0x00000000006366ac in Digikam::MetadataHub::load (this=0x2709970, info=...) at /build/buildd/digikam-4.2.0/core/digikam/fileaction/metadatahub.cpp:183 #18 0x00000000004bb10c in Digikam::ImageDescEditTab::setInfos ( this=this@entry=0x27093d0, infos=...) at /build/buildd/digikam-4.2.0/core/libs/imageproperties/imagedescedittab.cpp:770 #19 0x00000000004bb33d in Digikam::ImageDescEditTab::setItem (this=0x27093d0, info=...) at /build/buildd/digikam-4.2.0/core/libs/imageproperties/imagedescedittab.cpp:734 #20 0x00000000004ab041 in Digikam::ImagePropertiesSideBarDB::slotChangedTab ( this=this@entry=0x25ddd00, tab=0x27093d0) at /build/buildd/digikam-4.2.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:298 #21 0x00000000004a819a in Digikam::ImagePropertiesSideBarDB::itemChanged ( this=this@entry=0x25ddd00, infos=..., rect=..., img=img@entry=0x0, history=...) at /build/buildd/digikam-4.2.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:199 #22 0x00000000004a824c in Digikam::ImagePropertiesSideBarDB::itemChanged ( this=0x25ddd00, infos=...) at /build/buildd/digikam-4.2.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:175 ---Type <return> to continue, or q <return> to quit--- #23 0x000000000068b09e in Digikam::DigikamView::slotDispatchImageSelected ( this=0xf35580) at /build/buildd/digikam-4.2.0/core/digikam/views/digikamview.cpp:1330 #24 0x000000000068f3c0 in Digikam::DigikamView::qt_static_metacall ( _o=0xf35580, _c=14, _id=83730312, _a=0xe) at /build/buildd/digikam-4.2.0/obj-x86_64-linux-gnu/core/digikam/digikamview.moc:340 #25 0x00007ffff1fad87a in QMetaObject::activate (sender=0x2a97650, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539 #26 0x00007ffff1fb1a31 in QObject::event (this=0x2a97650, e=<optimized out>) at kernel/qobject.cpp:1156 #27 0x00007ffff298be2c in QApplicationPrivate::notify_helper ( this=this@entry=0xcf4f10, receiver=receiver@entry=0x2a97650, e=e@entry= 0x7fffffffd540) at kernel/qapplication.cpp:4567 #28 0x00007ffff29924a0 in QApplication::notify ( this=this@entry=0x7fffffffdcd0, receiver=receiver@entry=0x2a97650, e=e@entry=0x7fffffffd540) at kernel/qapplication.cpp:4353 #29 0x00007ffff3696d1a in KApplication::notify (this=0x7fffffffdcd0, receiver=0x2a97650, event=0x7fffffffd540) at ../../kdeui/kernel/kapplication.cpp:311 #30 0x00007ffff1f994dd in QCoreApplication::notifyInternal (this= 0x7fffffffdcd0, receiver=0x2a97650, event=0x7fffffffd540) ---Type <return> to continue, or q <return> to quit--- at kernel/qcoreapplication.cpp:953 #31 0x00007ffff1fc9323 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #32 QTimerInfoList::activateTimers (this=0xcf5980) at kernel/qeventdispatcher_unix.cpp:621 #33 0x00007ffff1fc6629 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193 #34 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240 #35 0x00007fffea081e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #36 0x00007fffea082048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #37 0x00007fffea0820ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #38 0x00007ffff1fc67a1 in QEventDispatcherGlib::processEvents (this=0xc1cf20, flags=...) at kernel/qeventdispatcher_glib.cpp:434 #39 0x00007ffff2a2dbb6 in QGuiEventDispatcherGlib::processEvents ( this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #40 0x00007ffff1f980af in QEventLoop::processEvents (this=this@entry= 0x7fffffffd7b0, flags=...) at kernel/qeventloop.cpp:149 #41 0x00007ffff1f983a5 in QEventLoop::exec (this=this@entry=0x7fffffffd7b0, flags=...) at kernel/qeventloop.cpp:204 ---Type <return> to continue, or q <return> to quit--- #42 0x00007ffff1f9db79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #43 0x00007ffff298a37c in QApplication::exec () at kernel/qapplication.cpp:3828 #44 0x00000000004954e0 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-4.2.0/core/digikam/main/main.cpp:236
And the next one: (gdb) bt #0 0x0000000000000000 in ?? () #1 0x00007fffde03adac in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #2 0x00007fffde03af63 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #3 0x00007fffde04f579 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #4 0x00007fffde0779c5 in ?? () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #5 0x00007fffde07fed7 in sqlite3_step () from /usr/lib/x86_64-linux-gnu/libsqlite3.so.0 #6 0x00007fffb1d8811c in QSQLiteResultPrivate::fetchNext ( this=this@entry=0x44a1880, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235 #7 0x00007fffb1d88e48 in QSQLiteResult::exec (this=0x4f5aec0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447 #8 0x00007ffff7babb7d in QSqlQuery::exec (this=this@entry=0x7fffffffc898) at kernel/qsqlquery.cpp:949 #9 0x00007ffff55a40e6 in Digikam::DatabaseCoreBackend::exec (this=0xfe90c0, query=...) at /build/buildd/digikam-4.2.0/core/libs/database/core/databasecorebackend.cpp:1415 #10 0x00007ffff55a4212 in Digikam::DatabaseCoreBackend::execQuery ( this=this@entry=0xfe90c0, query=..., boundValue1=..., boundValue2=...) at /build/buildd/digikam-4.2.0/core/libs/database/core/databasecorebackend.cpp:1065 ---Type <return> to continue, or q <return> to quit--- #11 0x00007ffff55a52cc in Digikam::DatabaseCoreBackend::execQuery ( this=this@entry=0xfe90c0, sql=..., boundValue1=..., boundValue2=...) at /build/buildd/digikam-4.2.0/core/libs/database/core/databasecorebackend.cpp:1014 #12 0x00007ffff55a531c in Digikam::DatabaseCoreBackend::execSql ( this=0xfe90c0, sql=..., boundValue1=..., boundValue2=..., values=values@entry=0x7fffffffc8e0, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.2.0/core/libs/database/core/databasecorebackend.cpp:911 #13 0x00007ffff4f5a38b in Digikam::AlbumDB::getImageProperty (this=0xfe3da0, imageID=imageID@entry=9782, property=...) at /build/buildd/digikam-4.2.0/core/libs/database/albumdb.cpp:2093 #14 0x00007ffff4f97819 in Digikam::ImageExtendedProperties::readProperty ( this=this@entry=0x7fffffffca70, property=...) at /build/buildd/digikam-4.2.0/core/libs/database/imageextendedproperties.cpp:139 #15 0x00007ffff4f979ba in Digikam::ImageExtendedProperties::location ( this=this@entry=0x7fffffffca70) at /build/buildd/digikam-4.2.0/core/libs/database/imageextendedproperties.cpp:115 #16 0x00007ffff4f9bd20 in Digikam::ImageInfo::metadataTemplate ( this=this@entry=0x52adc58) at /build/buildd/digikam-4.2.0/core/libs/database/imageinfo.cpp:1503 ---Type <return> to continue, or q <return> to quit--- #17 0x00000000006366ac in Digikam::MetadataHub::load (this=0x27095a0, info=...) at /build/buildd/digikam-4.2.0/core/digikam/fileaction/metadatahub.cpp:183 #18 0x00000000004bb10c in Digikam::ImageDescEditTab::setInfos ( this=this@entry=0x2709000, infos=...) at /build/buildd/digikam-4.2.0/core/libs/imageproperties/imagedescedittab.cpp:770 #19 0x00000000004bb33d in Digikam::ImageDescEditTab::setItem (this=0x2709000, info=...) at /build/buildd/digikam-4.2.0/core/libs/imageproperties/imagedescedittab.cpp:734 #20 0x00000000004ab041 in Digikam::ImagePropertiesSideBarDB::slotChangedTab ( this=this@entry=0x25dda20, tab=0x2709000) at /build/buildd/digikam-4.2.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:298 #21 0x00000000004a819a in Digikam::ImagePropertiesSideBarDB::itemChanged ( this=this@entry=0x25dda20, infos=..., rect=..., img=img@entry=0x0, history=...) at /build/buildd/digikam-4.2.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:199 #22 0x00000000004a824c in Digikam::ImagePropertiesSideBarDB::itemChanged ( this=0x25dda20, infos=...) at /build/buildd/digikam-4.2.0/core/libs/imageproperties/imagepropertiessidebardb.cpp:175 ---Type <return> to continue, or q <return> to quit--- #23 0x000000000068b09e in Digikam::DigikamView::slotDispatchImageSelected ( this=0x1e75cc0) at /build/buildd/digikam-4.2.0/core/digikam/views/digikamview.cpp:1330 #24 0x000000000068f3c0 in Digikam::DigikamView::qt_static_metacall ( _o=0x1e75cc0, _c=26, _id=66679656, _a=0xe) at /build/buildd/digikam-4.2.0/obj-x86_64-linux-gnu/core/digikam/digikamview.moc:340 #25 0x00007ffff1fad87a in QMetaObject::activate (sender=0x2a8e190, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3539 #26 0x00007ffff1fb1a31 in QObject::event (this=0x2a8e190, e=<optimized out>) at kernel/qobject.cpp:1156 #27 0x00007ffff298be2c in QApplicationPrivate::notify_helper ( this=this@entry=0xcf4f10, receiver=receiver@entry=0x2a8e190, e=e@entry= 0x7fffffffd540) at kernel/qapplication.cpp:4567 #28 0x00007ffff29924a0 in QApplication::notify ( this=this@entry=0x7fffffffdcd0, receiver=receiver@entry=0x2a8e190, e=e@entry=0x7fffffffd540) at kernel/qapplication.cpp:4353 #29 0x00007ffff3696d1a in KApplication::notify (this=0x7fffffffdcd0, receiver=0x2a8e190, event=0x7fffffffd540) at ../../kdeui/kernel/kapplication.cpp:311 #30 0x00007ffff1f994dd in QCoreApplication::notifyInternal (this= 0x7fffffffdcd0, receiver=0x2a8e190, event=0x7fffffffd540) ---Type <return> to continue, or q <return> to quit--- at kernel/qcoreapplication.cpp:953 #31 0x00007ffff1fc9323 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231 #32 QTimerInfoList::activateTimers (this=0xcf5980) at kernel/qeventdispatcher_unix.cpp:621 #33 0x00007ffff1fc6629 in timerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:193 #34 idleTimerSourceDispatch (source=<optimized out>) at kernel/qeventdispatcher_glib.cpp:240 #35 0x00007fffea081e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #36 0x00007fffea082048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #37 0x00007fffea0820ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #38 0x00007ffff1fc67a1 in QEventDispatcherGlib::processEvents (this=0xc1cf20, flags=...) at kernel/qeventdispatcher_glib.cpp:434 #39 0x00007ffff2a2dbb6 in QGuiEventDispatcherGlib::processEvents ( this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #40 0x00007ffff1f980af in QEventLoop::processEvents (this=this@entry= 0x7fffffffd7b0, flags=...) at kernel/qeventloop.cpp:149 #41 0x00007ffff1f983a5 in QEventLoop::exec (this=this@entry=0x7fffffffd7b0, flags=...) at kernel/qeventloop.cpp:204 ---Type <return> to continue, or q <return> to quit--- #42 0x00007ffff1f9db79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225 #43 0x00007ffff298a37c in QApplication::exec () at kernel/qapplication.cpp:3828 #44 0x00000000004954e0 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-4.2.0/core/digikam/main/main.cpp:236 (gdb)
And you made sure you are using sqlite 3.8.4 or newer?
Here is the result of the digikam information about installed components, but it does not look to give information about Sqlite. But if I open a terminal and type «sqlite», I get the following answer: «philippe@philippe-desktop:~$ sqlite Le programme « sqlite » n'est pas encore installé. Vous pouvez l'installer en tapant : sudo apt-get install sqlite», saying basically that sqlite is not installed ! So what may I do now ? digiKam version 4.2.0 CPU cores: 4 Codec PGF parallélisé: Non Composant graphique Marble: 0.17.97 (0.18 RC 1) Dématriçage parallélisé: Inconnu Exiv2 peut écrire dans un fichier JP2: Oui Exiv2 peut écrire dans un fichier JPEG: Oui Exiv2 peut écrire dans un fichier PGF: Oui Exiv2 peut écrire dans un fichier PNG: Oui Exiv2 peut écrire dans un fichier TIFF: Oui Exiv2 prend en charge les métadonnées XMP: Oui LibCImg: 130 LibEigen: 3.2.0 LibExiv2: 0.23 LibJPEG: 80 LibJasper: 1.900.1 LibKDE: 4.13.3 LibKExiv2: 2.3.1 LibKGeoMap: 2.0.0 LibKdcraw: 2.4.2 LibLCMS: 2050 LibLensFun: 0.2.8-0 LibPGF: 6.14.12 - bibliothèque interne LibPNG: 1.2.50 LibQt: 4.8.6 LibRaw: 0.15.4 LibTIFF: LIBTIFF, Version 4.0.3 Copyright (c) 1988-1996 Sam Leffler Copyright (c) 1991-1996 Silicon Graphics, Inc. Prise en charge du codec RawSpeed: Inconnu Prise en charge du pack Demosaic GPL2: Inconnu Prise en charge du pack Demosaic GPL3: Inconnu LibGphoto2: 2.5.3.1 LibKface: 3.4.0 LibKipi: 2.1.0 LibOpenCV: 2.4.9 Modules externes KIPI: 4.2.0 Moteur de base de données: QSQLITE
The package is probably called libsqlite. Please ask in a forum of your distribution for exact package names. Unless you can provide new information, I am assuming that you never updated sqlite, and are indeed seeing bug 329697. *** This bug has been marked as a duplicate of bug 329697 ***
Ok, it seems that in the current Ubuntu release, the sqlite version is 3.8.2: http://packages.ubuntu.com/fr/trusty/libsqlite3-dev So none of the current LTS release will work with the latest Digikam, it is a pity ! As I really need Digikam to work, i will try to understand how to update Sqlite. However, thanks for your help and patience. Best regards.
digiKam do not use SQlite directly. digiKam use Qt SQL plugin which interface database frontent with SQlite backend. In other words, you need to update sqlite and Qt-sqlite plugin to be sure that digiKam do not crash... Gilles Caulier
Fixed with #329697