This bug was detected on to computers. 1. Desktop, OpenSuse 11.4 (Athlon 64-Bit), Digikam 2.90 2. Notebook, OpenSuse 12.2 (Intel DUO core-2), Digikam 2.6 and 2.9 Digikam crashes as soon as I try to import pictures from my connected camera (Canon PhotoShot SX 10IS. Camera ist detected by Digikam. Happens both, if I select the import from the device plasmoid or from the Import menu. Happens with manually assigned camera and with camera detected by Digikam. Happens with all my SD-cards. Normal (Canon)-mode and CHDK-mode. SD-cards via USB-Reader working fine. Reproducible: Always Steps to Reproduce: 1. Connecting camera via USB and switching on. 2. Start import. Dosn't matter, if via digikam import or via KDE device control Actual Results: The import windows appears an immediately disappears within a second. Than digikam crashes "clean" - means you can restart digikam without any new bugs. Application: digiKam (digikam), signal: Segmentation fault Using host libthread_db library "/lib64/libthread_db.so.1". [Current thread is 1 (Thread 0x7f3bff4c4800 (LWP 3012))] Thread 9 (Thread 0x7f3bde52c700 (LWP 3014)): #0 0x00007f3bf6b888f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f3bfa68f4fb in wait (time=18446744073709551615, this=0x219c970) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x219c868, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00000000005d1b18 in ?? () #4 0x00007f3bfa68ef9c in QThreadPrivate::start (arg=0x219c600) at thread/qthread_unix.cpp:338 #5 0x00007f3bf6b84e0e in start_thread () from /lib64/libpthread.so.0 #6 0x00007f3bf8c042bd in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7f3bddd2b700 (LWP 3015)): #0 0x00007f3bf8bf81dd in read () from /lib64/libc.so.6 #1 0x00007f3bf119582f in ?? () from /usr/lib64/libglib-2.0.so.0 #2 0x00007f3bf115a209 in g_main_context_check () from /usr/lib64/libglib-2.0.so.0 #3 0x00007f3bf115a622 in ?? () from /usr/lib64/libglib-2.0.so.0 #4 0x00007f3bf115a7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #5 0x00007f3bfa7b8cf6 in QEventDispatcherGlib::processEvents (this=0x7f3bd00008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426 #6 0x00007f3bfa78985f in QEventLoop::processEvents (this=this@entry=0x7f3bddd2ad50, flags=...) at kernel/qeventloop.cpp:149 #7 0x00007f3bfa789ae8 in QEventLoop::exec (this=0x7f3bddd2ad50, flags=...) at kernel/qeventloop.cpp:204 #8 0x00007f3bfa68bfc0 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501 #9 0x00007f3bfa769fcf in QInotifyFileSystemWatcherEngine::run (this=0x219a380) at io/qfilesystemwatcher_inotify.cpp:248 #10 0x00007f3bfa68ef9c in QThreadPrivate::start (arg=0x219a380) at thread/qthread_unix.cpp:338 #11 0x00007f3bf6b84e0e in start_thread () from /lib64/libpthread.so.0 #12 0x00007f3bf8c042bd in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7f3bdd52a700 (LWP 3019)): #0 0x00007f3bf6b888f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f3bfa68f4fb in wait (time=18446744073709551615, this=0x24a0570) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x245b778, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f3bfcd8a149 in ?? () from /usr/lib64/libdigikamcore.so.2 #4 0x00007f3bfa68ef9c in QThreadPrivate::start (arg=0x245b760) at thread/qthread_unix.cpp:338 #5 0x00007f3bf6b84e0e in start_thread () from /lib64/libpthread.so.0 #6 0x00007f3bf8c042bd in clone () from /lib64/libc.so.6 Thread 6 (Thread 0x7f3bbb4f4700 (LWP 3041)): [KCrash Handler] #5 0x0000000000754f33 in ?? () #6 0x000000000075c63a in ?? () #7 0x000000000078071b in ?? () #8 0x000000000078410e in ?? () #9 0x00007f3bfa68ef9c in QThreadPrivate::start (arg=0x5dd36a0) at thread/qthread_unix.cpp:338 #10 0x00007f3bf6b84e0e in start_thread () from /lib64/libpthread.so.0 #11 0x00007f3bf8c042bd in clone () from /lib64/libc.so.6 Thread 5 (Thread 0x7f3bba046700 (LWP 3042)): #0 0x00007f3bf8c00ec9 in syscall () from /lib64/libc.so.6 #1 0x00007f3bfa68da44 in _q_futex (timeout=0x0, val=2, op=0, addr=0x21a2560, addr2=<optimized out>, val2=<optimized out>) at thread/qmutex_unix.cpp:99 #2 QMutexPrivate::wait (this=0x21a2560, timeout=<optimized out>) at thread/qmutex_unix.cpp:113 #3 0x00007f3bfa689d7d in QMutex::lock (this=<optimized out>) at thread/qmutex.cpp:164 #4 0x00007f3bfcd3bcf4 in Digikam::ThumbnailDatabaseAccess::ThumbnailDatabaseAccess() () from /usr/lib64/libdigikamcore.so.2 #5 0x00007f3bfcd666f2 in Digikam::ThumbnailCreator::storeInDatabase(Digikam::ThumbnailInfo const&, Digikam::ThumbnailImage const&) const () from /usr/lib64/libdigikamcore.so.2 #6 0x00007f3bfcd6c051 in Digikam::ThumbnailCreator::load(QString const&, QRect const&, bool) const () from /usr/lib64/libdigikamcore.so.2 #7 0x00007f3bfcd6c9f2 in Digikam::ThumbnailCreator::load(QString const&) const () from /usr/lib64/libdigikamcore.so.2 #8 0x00007f3bfcd79cf7 in ?? () from /usr/lib64/libdigikamcore.so.2 #9 0x00007f3bfcd4d1ce in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.2 #10 0x00007f3bfcd8b8fe in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib64/libdigikamcore.so.2 #11 0x00007f3bfa682b6d in QThreadPoolThread::run (this=0x5f0b7e0) at concurrent/qthreadpool.cpp:107 #12 0x00007f3bfa68ef9c in QThreadPrivate::start (arg=0x5f0b7e0) at thread/qthread_unix.cpp:338 #13 0x00007f3bf6b84e0e in start_thread () from /lib64/libpthread.so.0 #14 0x00007f3bf8c042bd in clone () from /lib64/libc.so.6 Thread 4 (Thread 0x7f3bb9044700 (LWP 3044)): #0 0x00007f3bff0cf214 in QSqlQuery::prepare(QString const&) () from /usr/lib64/libQtSql.so.4 #1 0x00007f3bfcd45d82 in Digikam::SqlQuery::prepare(QString const&) () from /usr/lib64/libdigikamcore.so.2 #2 0x00007f3bfcd306b0 in Digikam::DatabaseCoreBackend::prepareQuery(QString const&) () from /usr/lib64/libdigikamcore.so.2 #3 0x00007f3bfcd322e1 in Digikam::DatabaseCoreBackend::execQuery(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&) () from /usr/lib64/libdigikamcore.so.2 #4 0x00007f3bfcd32355 in Digikam::DatabaseCoreBackend::execSql(QString const&, QVariant const&, QVariant const&, QVariant const&, QVariant const&, QList<QVariant>*, QVariant*) () from /usr/lib64/libdigikamcore.so.2 #5 0x00007f3bfcd3d8ed in Digikam::ThumbnailDB::insertThumbnail(Digikam::DatabaseThumbnailInfo const&, QVariant*) () from /usr/lib64/libdigikamcore.so.2 #6 0x00007f3bfcd66844 in Digikam::ThumbnailCreator::storeInDatabase(Digikam::ThumbnailInfo const&, Digikam::ThumbnailImage const&) const () from /usr/lib64/libdigikamcore.so.2 #7 0x00007f3bfcd6c051 in Digikam::ThumbnailCreator::load(QString const&, QRect const&, bool) const () from /usr/lib64/libdigikamcore.so.2 #8 0x00007f3bfcd6cefc in Digikam::ThumbnailCreator::pregenerate(QString const&) const () from /usr/lib64/libdigikamcore.so.2 #9 0x00007f3bfcd79d60 in ?? () from /usr/lib64/libdigikamcore.so.2 #10 0x00007f3bfcd4d1ce in Digikam::LoadSaveThread::run() () from /usr/lib64/libdigikamcore.so.2 #11 0x00007f3bfcd8b8fe in Digikam::DynamicThread::DynamicThreadPriv::run() () from /usr/lib64/libdigikamcore.so.2 #12 0x00007f3bfa682b6d in QThreadPoolThread::run (this=0x5f13020) at concurrent/qthreadpool.cpp:107 #13 0x00007f3bfa68ef9c in QThreadPrivate::start (arg=0x5f13020) at thread/qthread_unix.cpp:338 #14 0x00007f3bf6b84e0e in start_thread () from /lib64/libpthread.so.0 #15 0x00007f3bf8c042bd in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7f3babfff700 (LWP 3046)): #0 0x00007f3bf4a96836 in ?? () from /usr/lib64/libgomp.so.1 #1 0x00007f3bf4a950ce in ?? () from /usr/lib64/libgomp.so.1 #2 0x00007f3bf6b84e0e in start_thread () from /lib64/libpthread.so.0 #3 0x00007f3bf8c042bd in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7f3bb8843700 (LWP 3047)): #0 0x00007f3bf4a96836 in ?? () from /usr/lib64/libgomp.so.1 #1 0x00007f3bf4a950ce in ?? () from /usr/lib64/libgomp.so.1 #2 0x00007f3bf6b84e0e in start_thread () from /lib64/libpthread.so.0 #3 0x00007f3bf8c042bd in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7f3bff4c4800 (LWP 3012)): #0 0x00007f3bf6b888f4 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007f3bfa68f4fb in wait (time=18446744073709551615, this=0x23b6010) at thread/qwaitcondition_unix.cpp:86 #2 QWaitCondition::wait (this=<optimized out>, mutex=0x2471110, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158 #3 0x00007f3bfcd8bf08 in Digikam::DynamicThread::wait(QMutexLocker&) () from /usr/lib64/libdigikamcore.so.2 #4 0x00007f3bfcd8c110 in Digikam::DynamicThread::shutDown() () from /usr/lib64/libdigikamcore.so.2 #5 0x00007f3bfcd52700 in Digikam::ManagedLoadSaveThread::shutDown() () from /usr/lib64/libdigikamcore.so.2 #6 0x00007f3bfcd6f24f in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread() () from /usr/lib64/libdigikamcore.so.2 #7 0x00007f3bfcd6f389 in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread() () from /usr/lib64/libdigikamcore.so.2 #8 0x00007f3bf8b578b1 in __run_exit_handlers () from /lib64/libc.so.6 #9 0x00007f3bf8b57935 in exit () from /lib64/libc.so.6 #10 0x00007f3bf9922448 in ?? () from /usr/lib64/libQtGui.so.4 #11 0x00007f3bfb1e63f8 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib64/libkdeui.so.5 #12 0x00007f3bf7122c4e in _XIOError () from /usr/lib64/libX11.so.6 #13 0x00007f3bf7120c2c in _XReply () from /usr/lib64/libX11.so.6 #14 0x00007f3bf711c3dd in XSync () from /usr/lib64/libX11.so.6 #15 0x00007f3bf9ab0485 in QRasterWindowSurface::syncX() () from /usr/lib64/libQtGui.so.4 #16 0x00007f3bf9ab0981 in QRasterWindowSurface::beginPaint(QRegion const&) () from /usr/lib64/libQtGui.so.4 #17 0x00007f3bf9acd638 in ?? () from /usr/lib64/libQtGui.so.4 #18 0x00007f3bf98f8830 in QWidgetPrivate::syncBackingStore() () from /usr/lib64/libQtGui.so.4 #19 0x00007f3bf99084cc in QWidget::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #20 0x00007f3bf9ccbbdb in QMainWindow::event(QEvent*) () from /usr/lib64/libQtGui.so.4 #21 0x00007f3bfb2d8e68 in KXmlGuiWindow::event(QEvent*) () from /usr/lib64/libkdeui.so.5 #22 0x00007f3bf98b874c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #23 0x00007f3bf98bcbca in QApplication::notify(QObject*, QEvent*) () from /usr/lib64/libQtGui.so.4 #24 0x00007f3bfb1e7616 in KApplication::notify(QObject*, QEvent*) () from /usr/lib64/libkdeui.so.5 #25 0x00007f3bfa78ab0e in QCoreApplication::notifyInternal (this=0x7fffc5c5a300, receiver=receiver@entry=0x2398e20, event=event@entry=0x543e420) at kernel/qcoreapplication.cpp:915 #26 0x00007f3bfa78e471 in sendEvent (event=0x543e420, receiver=0x2398e20) at kernel/qcoreapplication.h:231 #27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2045a80) at kernel/qcoreapplication.cpp:1539 #28 0x00007f3bfa7b8b43 in sendPostedEvents () at kernel/qcoreapplication.h:236 #29 postEventSourceDispatch (s=0x20b03f0) at kernel/qeventdispatcher_glib.cpp:279 #30 0x00007f3bf115a3b5 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0 #31 0x00007f3bf115a6e8 in ?? () from /usr/lib64/libglib-2.0.so.0 #32 0x00007f3bf115a7a4 in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0 #33 0x00007f3bfa7b8cd6 in QEventDispatcherGlib::processEvents (this=0x204b330, flags=...) at kernel/qeventdispatcher_glib.cpp:424 #34 0x00007f3bf9958a5e in ?? () from /usr/lib64/libQtGui.so.4 #35 0x00007f3bfa78985f in QEventLoop::processEvents (this=this@entry=0x7fffc5c59d10, flags=...) at kernel/qeventloop.cpp:149 #36 0x00007f3bfa789ae8 in QEventLoop::exec (this=0x7fffc5c59d10, flags=...) at kernel/qeventloop.cpp:204 #37 0x00007f3bfa78e788 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187 #38 0x00000000004999be in ?? () #39 0x00007f3bf8b41455 in __libc_start_main () from /lib64/libc.so.6 #40 0x000000000049b0a1 in _start ()
Which version of digiKam you use exactly ? Your backtrace is uncomplete : Thread 6 (Thread 0x7f3bbb4f4700 (LWP 3041)): [KCrash Handler] #5 0x0000000000754f33 in ?? () #6 0x000000000075c63a in ?? () #7 0x000000000078071b in ?? () #8 0x000000000078410e in ?? () #9 0x00007f3bfa68ef9c in QThreadPrivate::start (arg=0x5dd36a0) at thread/qthread_unix.cpp:338 #10 0x00007f3bf6b84e0e in start_thread () from /lib64/libpthread.so.0 #11 0x00007f3bf8c042bd in clone () from /lib64/libc.so.6 There is no digiKam code here. Please try to provide a better backtrace using GDB. Gilles Caulier
New digiKam 4.11.0 is available : https://www.digikam.org/node/740 Can you reproduce the problem with this release ?
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