Version: trunk (using KDE 4.4.2) Installed from: Archlinux Packages Digikam was set to mysql but the settings were wrong from a test run, so no actual connection to a mysql server was existing. Then I changed the settings back to my sqlite database. Pressing ok never returned. This is the backtrace of an attached gdb: (gdb) thread apply all bt Thread 16 (Thread 0x7f6ac7e77710 (LWP 6549)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6ad781e8a3 in ?? () from /usr/lib/libQtCore.so.4 #2 0x00007f6ad781a3e5 in QMutex::lock() () from /usr/lib/libQtCore.so.4 #3 0x00007f6adabf9a44 in DatabaseAccess (this=<value optimized out>) at /home/languitar/workspace/digiKam/libs/database/databaseaccess.cpp:125 #4 0x00007f6adabfa0e2 in Digikam::DatabaseAccess::checkReadyForUse (observer=0x1d0dfe0) at /home/languitar/workspace/digiKam/libs/database/databaseaccess.cpp:234 #5 0x0000000000651387 in Digikam::ScanController::run (this=0x1d0dfd0) at /home/languitar/workspace/digiKam/digikam/scancontroller.cpp:525 #6 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #7 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #8 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #9 0x0000000000000000 in ?? () Thread 15 (Thread 0x7f6ac7676710 (LWP 6559)): #0 0x00007f6ad68dd1c3 in poll () from /lib/libc.so.6 #1 0x00007f6ad3398979 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #2 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f6ad793cc13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f6ad781c759 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #9 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 14 (Thread 0x7f6ac6653710 (LWP 6560)): #0 0x00007f6ad68dd1c3 in poll () from /lib/libc.so.6 #1 0x00007f6ad3398979 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #2 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f6ad793cc13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f6ad781c759 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #9 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () ---Type <return> to continue, or q <return> to quit--- Thread 13 (Thread 0x7f6ac5d2e710 (LWP 6561)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6ad782011b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f6adb117f42 in Digikam::LoadSaveThread::run (this=0x206d4d0) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131 #3 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #5 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 12 (Thread 0x7f6ac552d710 (LWP 6562)): #0 0x00007f6ad68dd1c3 in poll () from /lib/libc.so.6 #1 0x00007f6ad3398979 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #2 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f6ad793cc13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f6ad781c759 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #9 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 11 (Thread 0x7f6ac4d2c710 (LWP 6563)): #0 0x00007f6ad68dd1c3 in poll () from /lib/libc.so.6 #1 0x00007f6ad3398979 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #2 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f6ad793cc13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f6ad781c759 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #9 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 10 (Thread 0x7f6ab9005710 (LWP 6564)): #0 0x00007f6ad759b479 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6abe572af1 in metronom_sync_loop () from /usr/lib/libxine.so.1 #2 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #3 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 ---Type <return> to continue, or q <return> to quit--- #4 0x0000000000000000 in ?? () Thread 9 (Thread 0x7f6ab7594710 (LWP 6565)): #0 0x00007f6ad68df233 in select () from /lib/libc.so.6 #1 0x00007f6abe59aa65 in xine_usec_sleep () from /usr/lib/libxine.so.1 #2 0x00007f6abe580499 in video_out_loop () from /usr/lib/libxine.so.1 #3 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #4 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f6ab6d93710 (LWP 6566)): #0 0x00007f6ad68dd1c3 in poll () from /lib/libc.so.6 #1 0x00007f6ad3398979 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #2 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f6ad793cc13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f6ad781c759 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f6abe7cb7c6 in Phonon::Xine::XineThread::run() () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so #8 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #10 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f6ab6389710 (LWP 6569)): #0 0x00007f6ad68dd1c3 in poll () from /lib/libc.so.6 #1 0x00007f6ab638f7ae in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.28/xineplug_ao_out_alsa.so #2 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #3 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f6ab5b88710 (LWP 6570)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6abe5835fb in ao_loop () from /usr/lib/libxine.so.1 #2 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #3 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f6ab3901710 (LWP 6571)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 ---Type <return> to continue, or q <return> to quit--- #1 0x00007f6ad782011b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f6adb117f42 in Digikam::LoadSaveThread::run (this=0x281af60) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131 #3 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #5 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f6ab3100710 (LWP 6577)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6ad782011b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f6adb117f42 in Digikam::LoadSaveThread::run (this=0x2f11ee0) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131 #3 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #5 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f6ab10fc710 (LWP 6578)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6ad782011b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f6adb117f42 in Digikam::LoadSaveThread::run (this=0x2ffc350) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131 #3 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #5 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f6aab7fe710 (LWP 6639)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6ad782011b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f6adb117f42 in Digikam::LoadSaveThread::run (this=0x2f396f0) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131 #3 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #5 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f6ade0a67c0 (LWP 6545)): #0 0x00007f6ad68dd1c3 in poll () from /lib/libc.so.6 #1 0x00007f6ad3398979 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #2 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f6ad793cc13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad887fd6e in ?? () from /usr/lib/libQtGui.so.4 ---Type <return> to continue, or q <return> to quit--- #5 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0x00000000006505f8 in Digikam::ScanController::databaseInitialization (this=0x1d0dfd0) at /home/languitar/workspace/digiKam/digikam/scancontroller.cpp:347 #8 0x00000000005c0cf2 in Digikam::AlbumManager::setDatabase (this=<value optimized out>, dbType=<value optimized out>, dbName=<value optimized out>, dbThumbnailsName=<value optimized out>, dbHostName=<value optimized out>, dbPort=<value optimized out>, dbUser=..., dbPasswd=..., dbConnectOptions=..., internalServer=false, priority=false, suggestedAlbumRoot=...) at /home/languitar/workspace/digiKam/digikam/albummanager.cpp:713 #9 0x00000000005c87d0 in Digikam::AlbumManager::changeDatabase (this=<value optimized out>, dbType=<value optimized out>, dbName=<value optimized out>, dbThumbnailsName=<value optimized out>, dbHostName=<value optimized out>, dbPort=<value optimized out>, dbUser=..., dbPasswd=..., dbConnectOptions=..., internalServer=false) at /home/languitar/workspace/digiKam/digikam/albummanager.cpp:567 #10 0x00000000005fc2ce in Digikam::DigikamApp::slotSetupChanged (this=0x1cdc2d0) at /home/languitar/workspace/digiKam/digikam/digikamapp.cpp:2162 #11 0x000000000060b4fd in Digikam::DigikamApp::qt_metacall (this=0x1cdc2d0, _c=QMetaObject::InvokeMetaMethod, _id=-516, _a=0x7fff90d50820) at /home/languitar/workspace/build/digiKam/digikam/digikamapp.moc:226 #12 0x00007f6ad79264df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #13 0x00000000004acd6d in Digikam::Setup::slotOkClicked (this=0x2b7eea0) at /home/languitar/workspace/digiKam/utilities/setup/setup.cpp:404 #14 0x00000000004aff40 in Digikam::Setup::qt_metacall (this=0x2b7eea0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=<value optimized out>) at /home/languitar/workspace/build/digiKam/digikam/setup.moc:72 #15 0x00007f6ad79264df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #16 0x00007f6ad968efc8 in KDialog::slotButtonClicked(int) () from /usr/lib/libkdeui.so.5 #17 0x00007f6ad9690be9 in KDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5 #18 0x00007f6ad9756c50 in KPageDialog::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkdeui.so.5 #19 0x00000000004aff28 in Digikam::Setup::qt_metacall (this=0x2053640, _c=QMetaObject::CreateInstance, _id=199, _a=0xffffffffffffffff) at /home/languitar/workspace/build/digiKam/digikam/setup.moc:67 #20 0x00007f6ad79264df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #21 0x00007f6ad792b7fe in QSignalMapper::mapped(int) () from /usr/lib/libQtCore.so.4 #22 0x00007f6ad792ca12 in QSignalMapper::map(QObject*) () from /usr/lib/libQtCore.so.4 #23 0x00007f6ad792cc90 in QSignalMapper::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libQtCore.so.4 #24 0x00007f6ad79264df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #25 0x00007f6ad8e6a042 in QAbstractButton::clicked(bool) () from /usr/lib/libQtGui.so.4 #26 0x00007f6ad8b8430b in ?? () from /usr/lib/libQtGui.so.4 #27 0x00007f6ad8b851cb in ?? () from /usr/lib/libQtGui.so.4 #28 0x00007f6ad8b8543c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libQtGui.so.4 #29 0x00007f6ad88279b2 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #30 0x00007f6ad87d15ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #31 0x00007f6ad87d83bb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #32 0x00007f6ad971e256 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #33 0x00007f6ad791379c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #34 0x00007f6ad87d758e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #35 0x00007f6ad8856fab in ?? () from /usr/lib/libQtGui.so.4 #36 0x00007f6ad8855cba in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 ---Type <return> to continue, or q <return> to quit--- #37 0x00007f6ad8880172 in ?? () from /usr/lib/libQtGui.so.4 #38 0x00007f6ad3394da2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #39 0x00007f6ad3398c18 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #40 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #41 0x00007f6ad793cc13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #42 0x00007f6ad887fd6e in ?? () from /usr/lib/libQtGui.so.4 #43 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #44 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #45 0x00007f6ad8c98f5e in QDialog::exec() () from /usr/lib/libQtGui.so.4 #46 0x00000000004aeae4 in Digikam::Setup::exec (parent=0x1cdc2d0, page=Digikam::Setup::LastPageUsed) at /home/languitar/workspace/digiKam/utilities/setup/setup.cpp:351 #47 0x000000000060b4df in Digikam::DigikamApp::qt_metacall (this=0x1cdc2d0, _c=QMetaObject::InvokeMetaMethod, _id=-516, _a=0x7fff90d524f0) at /home/languitar/workspace/build/digiKam/digikam/digikamapp.moc:224 #48 0x00007f6ad79264df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #49 0x00007f6ad87cb4e2 in QAction::triggered(bool) () from /usr/lib/libQtGui.so.4 #50 0x00007f6ad87cd55b in QAction::activate(QAction::ActionEvent) () from /usr/lib/libQtGui.so.4 #51 0x00007f6ad8c09e4d in ?? () from /usr/lib/libQtGui.so.4 #52 0x00007f6ad8c0f9da in ?? () from /usr/lib/libQtGui.so.4 #53 0x00007f6ad97f9ffe in KMenu::mouseReleaseEvent(QMouseEvent*) () from /usr/lib/libkdeui.so.5 #54 0x00007f6ad88279b2 in QWidget::event(QEvent*) () from /usr/lib/libQtGui.so.4 #55 0x00007f6ad8c11b9b in QMenu::event(QEvent*) () from /usr/lib/libQtGui.so.4 #56 0x00007f6ad87d15ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #57 0x00007f6ad87d83bb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #58 0x00007f6ad971e256 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #59 0x00007f6ad791379c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #60 0x00007f6ad87d758e in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /usr/lib/libQtGui.so.4 #61 0x00007f6ad88573f5 in ?? () from /usr/lib/libQtGui.so.4 #62 0x00007f6ad8855cba in QApplication::x11ProcessEvent(_XEvent*) () from /usr/lib/libQtGui.so.4 #63 0x00007f6ad8880172 in ?? () from /usr/lib/libQtGui.so.4 #64 0x00007f6ad3394da2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #65 0x00007f6ad3398c18 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #66 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #67 0x00007f6ad793cc13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #68 0x00007f6ad887fd6e in ?? () from /usr/lib/libQtGui.so.4 #69 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #70 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #71 0x00007f6ad79161db in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #72 0x00000000006ab30c in main (argc=<value optimized out>, argv=<value optimized out>) at /home/languitar/workspace/digiKam/digikam/main.cpp:196 I could stop the settings dialog with cancel. A second try results in this crash: Application: digiKam (digikam), signal: Segmentation fault [Current thread is 1 (Thread 0x7f6ade0a67c0 (LWP 6545))] Thread 16 (Thread 0x7f6ac7e77710 (LWP 6549)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6ad782011b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x000000000065157c in Digikam::ScanController::run (this=0x1d0dfd0) at /home/languitar/workspace/digiKam/digikam/scancontroller.cpp:516 #3 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #5 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 15 (Thread 0x7f6ac7676710 (LWP 6559)): #0 0x00007f6ad68dd1c3 in poll () from /lib/libc.so.6 #1 0x00007f6ad3398979 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #2 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f6ad793cc66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f6ad781c759 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #9 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 14 (Thread 0x7f6ac6653710 (LWP 6560)): #0 0x00007f6ad33983a5 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #1 0x00007f6ad33987e8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #2 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f6ad793cc66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f6ad781c759 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #9 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 13 (Thread 0x7f6ac5d2e710 (LWP 6561)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6ad782011b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f6adb117f42 in Digikam::LoadSaveThread::run (this=0x206d4d0) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131 #3 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #5 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 12 (Thread 0x7f6ac552d710 (LWP 6562)): #0 0x00007f6ad793c8b3 in ?? () from /usr/lib/libQtCore.so.4 #1 0x00007f6ad3398381 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0 #2 0x00007f6ad33987e8 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #3 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #4 0x00007f6ad793cc66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #7 0x00007f6ad781c759 in QThread::exec() () from /usr/lib/libQtCore.so.4 #8 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #10 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 11 (Thread 0x7f6ac4d2c710 (LWP 6563)): #0 0x00007f6ad68dd1c3 in poll () from /lib/libc.so.6 #1 0x00007f6ad3398979 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #2 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f6ad793cc66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f6ad781c759 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #8 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #9 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #10 0x0000000000000000 in ?? () Thread 10 (Thread 0x7f6ab9005710 (LWP 6564)): #0 0x00007f6ad759b479 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6abe572af1 in metronom_sync_loop () from /usr/lib/libxine.so.1 #2 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #3 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 9 (Thread 0x7f6ab7594710 (LWP 6565)): #0 0x00007f6ad68df233 in select () from /lib/libc.so.6 #1 0x00007f6abe59aa65 in xine_usec_sleep () from /usr/lib/libxine.so.1 #2 0x00007f6abe580499 in video_out_loop () from /usr/lib/libxine.so.1 #3 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #4 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #5 0x0000000000000000 in ?? () Thread 8 (Thread 0x7f6ab6d93710 (LWP 6566)): #0 0x00007f6ad3397ebd in g_main_context_check () from /usr/lib/libglib-2.0.so.0 #1 0x00007f6ad3398993 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #2 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #3 0x00007f6ad793cc66 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #5 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #6 0x00007f6ad781c759 in QThread::exec() () from /usr/lib/libQtCore.so.4 #7 0x00007f6abe7cb7c6 in Phonon::Xine::XineThread::run() () from /usr/lib/kde4/plugins/phonon_backend/phonon_xine.so #8 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #9 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #10 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #11 0x0000000000000000 in ?? () Thread 7 (Thread 0x7f6ab6389710 (LWP 6569)): #0 0x00007f6ad68dd1c3 in poll () from /lib/libc.so.6 #1 0x00007f6ab638f7ae in ao_alsa_handle_event_thread () from /usr/lib/xine/plugins/1.28/xineplug_ao_out_alsa.so #2 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #3 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 6 (Thread 0x7f6ab5b88710 (LWP 6570)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6abe5835fb in ao_loop () from /usr/lib/libxine.so.1 #2 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #3 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #4 0x0000000000000000 in ?? () Thread 5 (Thread 0x7f6ab3901710 (LWP 6571)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6ad782011b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f6adb117f42 in Digikam::LoadSaveThread::run (this=0x281af60) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131 #3 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #5 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 4 (Thread 0x7f6ab3100710 (LWP 6577)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6ad782011b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f6adb117f42 in Digikam::LoadSaveThread::run (this=0x2f11ee0) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131 #3 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #5 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 3 (Thread 0x7f6ab10fc710 (LWP 6578)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6ad782011b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f6adb117f42 in Digikam::LoadSaveThread::run (this=0x2ffc350) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131 #3 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #5 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 2 (Thread 0x7f6aab7fe710 (LWP 6639)): #0 0x00007f6ad759b10c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0 #1 0x00007f6ad782011b in QWaitCondition::wait(QMutex*, unsigned long) () from /usr/lib/libQtCore.so.4 #2 0x00007f6adb117f42 in Digikam::LoadSaveThread::run (this=0x2f396f0) at /home/languitar/workspace/digiKam/libs/threadimageio/loadsavethread.cpp:131 #3 0x00007f6ad781f155 in ?? () from /usr/lib/libQtCore.so.4 #4 0x00007f6ad759688a in start_thread () from /lib/libpthread.so.0 #5 0x00007f6ad68e59ed in clone () from /lib/libc.so.6 #6 0x0000000000000000 in ?? () Thread 1 (Thread 0x7f6ade0a67c0 (LWP 6545)): [KCrash Handler] #5 Digikam::Album::lastChild (this=0x0) at /home/languitar/workspace/digiKam/digikam/album.cpp:85 #6 0x00000000005c357d in Digikam::AlbumManager::slotDatesJobData (this=0x1d029c0, data=<value optimized out>) at /home/languitar/workspace/digiKam/digikam/albummanager.cpp:2805 #7 0x00000000005c8be3 in Digikam::AlbumManager::qt_metacall (this=0x1d029c0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff90d52d40) at /home/languitar/workspace/build/digiKam/digikam/albummanager.moc:175 #8 0x00007f6ad79264df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #9 0x00007f6ad9c1aa24 in KIO::TransferJob::data(KIO::Job*, QByteArray const&) () from /usr/lib/libkio.so.5 #10 0x00007f6ad9c1d240 in KIO::TransferJob::slotData(QByteArray const&) () from /usr/lib/libkio.so.5 #11 0x00007f6ad9c20906 in KIO::TransferJob::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5 #12 0x00007f6ad79264df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #13 0x00007f6ad9cdef62 in KIO::SlaveInterface::data(QByteArray const&) () from /usr/lib/libkio.so.5 #14 0x00007f6ad9ce1f50 in KIO::SlaveInterface::dispatch(int, QByteArray const&) () from /usr/lib/libkio.so.5 #15 0x00007f6ad9cdf213 in KIO::SlaveInterface::dispatch() () from /usr/lib/libkio.so.5 #16 0x00007f6ad9cd3686 in KIO::Slave::gotInput() () from /usr/lib/libkio.so.5 #17 0x00007f6ad9cd386c in KIO::Slave::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5 #18 0x00007f6ad79264df in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /usr/lib/libQtCore.so.4 #19 0x00007f6ad9bf17c7 in KIO::ConnectionPrivate::dequeue() () from /usr/lib/libkio.so.5 #20 0x00007f6ad9bf18ed in KIO::Connection::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkio.so.5 #21 0x00007f6ad7923419 in QObject::event(QEvent*) () from /usr/lib/libQtCore.so.4 #22 0x00007f6ad87d15ec in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #23 0x00007f6ad87d7bdb in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQtGui.so.4 #24 0x00007f6ad971e256 in KApplication::notify(QObject*, QEvent*) () from /usr/lib/libkdeui.so.5 #25 0x00007f6ad791379c in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /usr/lib/libQtCore.so.4 #26 0x00007f6ad7915f17 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib/libQtCore.so.4 #27 0x00007f6ad793d0d3 in ?? () from /usr/lib/libQtCore.so.4 #28 0x00007f6ad3394da2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0 #29 0x00007f6ad3398c18 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0 #30 0x00007f6ad3398dcc in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0 #31 0x00007f6ad793cc13 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #32 0x00007f6ad887fd6e in ?? () from /usr/lib/libQtGui.so.4 #33 0x00007f6ad79120c2 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #34 0x00007f6ad791249c in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQtCore.so.4 #35 0x00007f6ad79161db in QCoreApplication::exec() () from /usr/lib/libQtCore.so.4 #36 0x00000000006ab30c in main (argc=<value optimized out>, argv=<value optimized out>) at /home/languitar/workspace/digiKam/digikam/main.cpp:196
Notice that there are two backtraces in my report. One of a deadlock or something like that and one crash resulting from this.
Same can be confirmed when just switching from one sqlite database to another. After a restart, most of the time the new database has been loaded though.
I confirm this dysfunction here too... Gilles Caulier
I also confirm this when running the albummodel unit test
Switching between SQLite databases works for me now. Is this bug still valid?
Will check this later.
Can't reproduce this now.