Bug 277669

Summary: Crash after files moved
Product: [Applications] digikam Reporter: Justin Zane Chudgar <justin>
Component: DImg-FileIOAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, justin
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 6.0.0
Sentry Crash Report:

Description Justin Zane Chudgar 2011-07-13 00:40:37 UTC
Application: digikam (1.9.0)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:

I had attempted to move pictures from one album to another using Digikam's UI. This task hung, without any actual file IO or CPU utilization. FWIW, the local FS is BTRFS. I then cancelled the move in the UI and used mv ./old_path/*.jpeg ./new_path/ to move the files. This completed fine. As soon as I switched backed to Digikam and clicked a menu, Digikam crashed.

I have had consistent problems with Digikam failing to update Album info after file moves through the UI and occassional crashed or freezes while saving images. There is no consistent way to produce this behavior, however.

The crash can be reproduced some of the time.

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

Thread 14 (Thread 0x7f4fe94bf700 (LWP 9436)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4ffb75782b in wait (this=<value optimized out>, mutex=0x11ef9b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x11ef9b0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005ed745 in Digikam::ScanController::run (this=0x11e6b20) at /build/buildd/digikam-1.9.0/digikam/scancontroller.cpp:571
#4  0x00007f4ffb757175 in QThreadPrivate::start (arg=0x11e6b20) at thread/qthread_unix.cpp:320
#5  0x00007f4ff89bdd8c in start_thread (arg=0x7f4fe94bf700) at pthread_create.c:304
#6  0x00007f4ffa72c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f4fe8cbe700 (LWP 9437)):
#0  0x00007f4ffa71ef03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4ff7ba0104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4ff7ba0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ffb869446 in QEventDispatcherGlib::processEvents (this=0x11f13c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4ffb83d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4ffb83dabc in QEventLoop::exec (this=0x7f4fe8cbdd50, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4ffb754924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f4ffb81fc2f in QInotifyFileSystemWatcherEngine::run (this=0x11ccc10) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4ffb757175 in QThreadPrivate::start (arg=0x11ccc10) at thread/qthread_unix.cpp:320
#9  0x00007f4ff89bdd8c in start_thread (arg=0x7f4fe8cbe700) at pthread_create.c:304
#10 0x00007f4ffa72c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f4fe3fff700 (LWP 9442)):
#0  0x00007f4ffa71ef03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4ff7ba0104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4ff7ba0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ffb869446 in QEventDispatcherGlib::processEvents (this=0x14a5f30, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4ffb83d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4ffb83dabc in QEventLoop::exec (this=0x7f4fe3ffed80, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4ffb754924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f4ffb757175 in QThreadPrivate::start (arg=0x149ba90) at thread/qthread_unix.cpp:320
#8  0x00007f4ff89bdd8c in start_thread (arg=0x7f4fe3fff700) at pthread_create.c:304
#9  0x00007f4ffa72c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f4fe37fe700 (LWP 9443)):
#0  0x00007f4ffa71ef03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4ff7ba0104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4ff7ba0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ffb869446 in QEventDispatcherGlib::processEvents (this=0x7f4fe404e440, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4ffb83d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4ffb83dabc in QEventLoop::exec (this=0x7f4fe37fdd80, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4ffb754924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f4ffb757175 in QThreadPrivate::start (arg=0x14b8d90) at thread/qthread_unix.cpp:320
#8  0x00007f4ff89bdd8c in start_thread (arg=0x7f4fe37fe700) at pthread_create.c:304
#9  0x00007f4ffa72c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f4fe2ffd700 (LWP 9444)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f4ffb75782b in wait (this=<value optimized out>, mutex=0x14a6a68, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<value optimized out>, mutex=0x14a6a68, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f5000410087 in Digikam::ParkingThread::run (this=0x14a6a50) at /build/buildd/digikam-1.9.0/libs/threads/threadmanager.cpp:119
#4  0x00007f4ffb757175 in QThreadPrivate::start (arg=0x14a6a50) at thread/qthread_unix.cpp:320
#5  0x00007f4ff89bdd8c in start_thread (arg=0x7f4fe2ffd700) at pthread_create.c:304
#6  0x00007f4ffa72c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f4fe27fc700 (LWP 9445)):
#0  0x00007f4ff89c1d9a in __pthread_mutex_unlock_usercnt (mutex=0x14ad3c8) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x14ad3c8) at pthread_mutex_unlock.c:290
#2  0x00007f4ff7ba00f8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ff7ba0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4ffb869446 in QEventDispatcherGlib::processEvents (this=0x14ad2d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f4ffb83d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f4ffb83dabc in QEventLoop::exec (this=0x7f4fe27fbd80, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f4ffb754924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#8  0x00007f4ffb757175 in QThreadPrivate::start (arg=0x1516d70) at thread/qthread_unix.cpp:320
#9  0x00007f4ff89bdd8c in start_thread (arg=0x7f4fe27fc700) at pthread_create.c:304
#10 0x00007f4ffa72c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f4fe1ffb700 (LWP 9446)):
#0  0x00007f4ffa71ef03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4ff7ba0104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4ff7ba0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ffb869446 in QEventDispatcherGlib::processEvents (this=0x14a4d90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4ffb83d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4ffb83dabc in QEventLoop::exec (this=0x7f4fe1ffad80, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4ffb754924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f4ffb757175 in QThreadPrivate::start (arg=0x14a4ac0) at thread/qthread_unix.cpp:320
#8  0x00007f4ff89bdd8c in start_thread (arg=0x7f4fe1ffb700) at pthread_create.c:304
#9  0x00007f4ffa72c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#10 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f4fcf067700 (LWP 9450)):
#0  0x00007f4ff7b9f043 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f4ff7b9ff9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4ff7ba0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ffb869446 in QEventDispatcherGlib::processEvents (this=0x1df39c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4ffb83d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4ffb83dabc in QEventLoop::exec (this=0x7f4fcf066d50, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4ffb754924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f4ffb81fc2f in QInotifyFileSystemWatcherEngine::run (this=0x1df2ae0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4ffb757175 in QThreadPrivate::start (arg=0x1df2ae0) at thread/qthread_unix.cpp:320
#9  0x00007f4ff89bdd8c in start_thread (arg=0x7f4fcf067700) at pthread_create.c:304
#10 0x00007f4ffa72c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f4fd476d700 (LWP 9457)):
#0  0x00007f4ff2977132 in clock_gettime (clock_id=1, tp=0x7f4fd476cab0) at ../sysdeps/unix/clock_gettime.c:116
#1  0x00007f4ffb7a8304 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00007f4ffb869e3d in QTimerInfoList::updateCurrentTime (this=0x36f4b20) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00007f4ffb86a1a5 in QTimerInfoList::timerWait (this=0x36f4b20, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00007f4ffb868c2c in timerSourcePrepareHelper (src=<value optimized out>, timeout=0x7f4fd476cbcc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007f4ffb868cd5 in timerSourcePrepare (source=<value optimized out>, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x00007f4ff7b9f0a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f4ff7b9ff9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f4ff7ba0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f4ffb869446 in QEventDispatcherGlib::processEvents (this=0x36f4990, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#11 0x00007f4ffb83d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007f4ffb83dabc in QEventLoop::exec (this=0x7f4fd476cd50, flags=...) at kernel/qeventloop.cpp:201
#13 0x00007f4ffb754924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#14 0x00007f4ffb81fc2f in QInotifyFileSystemWatcherEngine::run (this=0x36f4330) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00007f4ffb757175 in QThreadPrivate::start (arg=0x36f4330) at thread/qthread_unix.cpp:320
#16 0x00007f4ff89bdd8c in start_thread (arg=0x7f4fd476d700) at pthread_create.c:304
#17 0x00007f4ffa72c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f4fccd95700 (LWP 9463)):
#0  0x00007f4ffa71eef4 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4ff7ba0104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4ff7ba0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ffb869446 in QEventDispatcherGlib::processEvents (this=0x3b44fe0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4ffb83d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4ffb83dabc in QEventLoop::exec (this=0x7f4fccd94d50, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4ffb754924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f4ffb81fc2f in QInotifyFileSystemWatcherEngine::run (this=0x3b42f80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4ffb757175 in QThreadPrivate::start (arg=0x3b42f80) at thread/qthread_unix.cpp:320
#9  0x00007f4ff89bdd8c in start_thread (arg=0x7f4fccd95700) at pthread_create.c:304
#10 0x00007f4ffa72c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f4fab7f6700 (LWP 9512)):
#0  0x00007f4ffb868ebf in operator!= (s=0x3f59b00, timeout=0x7f4fab7f5bcc) at ../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:75
#1  postEventSourcePrepare (s=0x3f59b00, timeout=0x7f4fab7f5bcc) at kernel/qeventdispatcher_glib.cpp:265
#2  0x00007f4ff7b9f0a2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ff7b9ff9d in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f4ff7ba0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f4ffb869446 in QEventDispatcherGlib::processEvents (this=0x3e6d8d0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#6  0x00007f4ffb83d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f4ffb83dabc in QEventLoop::exec (this=0x7f4fab7f5d50, flags=...) at kernel/qeventloop.cpp:201
#8  0x00007f4ffb754924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#9  0x00007f4ffb81fc2f in QInotifyFileSystemWatcherEngine::run (this=0x3e2c670) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f4ffb757175 in QThreadPrivate::start (arg=0x3e2c670) at thread/qthread_unix.cpp:320
#11 0x00007f4ff89bdd8c in start_thread (arg=0x7f4fab7f6700) at pthread_create.c:304
#12 0x00007f4ffa72c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f4fa87f0700 (LWP 9519)):
#0  0x00007f4ffa71ef03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4ff7ba0104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4ff7ba0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ffb869446 in QEventDispatcherGlib::processEvents (this=0x53c5a90, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4ffb83d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4ffb83dabc in QEventLoop::exec (this=0x7f4fa87efd50, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4ffb754924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f4ffb81fc2f in QInotifyFileSystemWatcherEngine::run (this=0x53c5430) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4ffb757175 in QThreadPrivate::start (arg=0x53c5430) at thread/qthread_unix.cpp:320
#9  0x00007f4ff89bdd8c in start_thread (arg=0x7f4fa87f0700) at pthread_create.c:304
#10 0x00007f4ffa72c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f4fa9ff3700 (LWP 9526)):
#0  0x00007f4ffa71ef03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f4ff7ba0104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f4ff7ba0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f4ffb869446 in QEventDispatcherGlib::processEvents (this=0x56ed2e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f4ffb83d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f4ffb83dabc in QEventLoop::exec (this=0x7f4fa9ff2d50, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f4ffb754924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007f4ffb81fc2f in QInotifyFileSystemWatcherEngine::run (this=0x56ecc80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f4ffb757175 in QThreadPrivate::start (arg=0x56ecc80) at thread/qthread_unix.cpp:320
#9  0x00007f4ff89bdd8c in start_thread (arg=0x7f4fa9ff3700) at pthread_create.c:304
#10 0x00007f4ffa72c04d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f5002f90800 (LWP 9435)):
[KCrash Handler]
#6  QIcon::QIcon (this=0x7fffea9dce40, other=...) at image/qicon.cpp:538
#7  0x00007f4ffc44e414 in QAction::icon (this=<value optimized out>) at kernel/qaction.cpp:737
#8  0x00007f5001663a03 in KIPI::PluginLoader::Info::icon (this=0x3632500) at ../../../../libs/libkipi/libkipi/pluginloader.cpp:191
#9  0x00007f5001663ccf in PluginCheckBox (this=0x66dca30, parent=<value optimized out>) at ../../../../libs/libkipi/libkipi/pluginloader.cpp:381
#10 KIPI::ConfigWidget::ConfigWidget (this=0x66dca30, parent=<value optimized out>) at ../../../../libs/libkipi/libkipi/pluginloader.cpp:409
#11 0x00007f5001663de9 in KIPI::PluginLoader::configWidget (this=<value optimized out>, parent=0x67f8d50) at ../../../../libs/libkipi/libkipi/pluginloader.cpp:368
#12 0x00000000004c0a28 in Digikam::SetupPlugins::SetupPlugins (this=0x148cc40, parent=<value optimized out>) at /build/buildd/digikam-1.9.0/utilities/setup/setupplugins.cpp:74
#13 0x00000000004a9da8 in Digikam::Setup::Setup (this=0x3c2c280, parent=<value optimized out>) at /build/buildd/digikam-1.9.0/utilities/setup/setup.cpp:236
#14 0x00000000004ab920 in Digikam::Setup::exec (parent=0x7f4fe403ca40, page=Digikam::Setup::LastPageUsed) at /build/buildd/digikam-1.9.0/utilities/setup/setup.cpp:364
#15 0x00000000005a6d7f in Digikam::DigikamApp::qt_metacall (this=0x7f4fe403ca40, _c=QMetaObject::InvokeMetaMethod, _id=28, _a=0x7fffea9dd7b0) at /build/buildd/digikam-1.9.0/obj-x86_64-linux-gnu/digikam/digikamapp.moc:225
#16 0x00007f4ffb8535f8 in QMetaObject::activate (sender=0x382f9d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffea9dd7b0) at kernel/qobject.cpp:3287
#17 0x00007f4ffc44f112 in QAction::triggered (this=<value optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:263
#18 0x00007f4ffc44f2ff in QAction::activate (this=0x382f9d0, event=<value optimized out>) at kernel/qaction.cpp:1257
#19 0x00007f4ffc891303 in QMenuPrivate::activateCausedStack (this=0x3985260, causedStack=..., action=0x382f9d0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:993
#20 0x00007f4ffc8972ba in QMenuPrivate::activateAction (this=0x3985260, action=0x382f9d0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1085
#21 0x00007f4ffd23ae8d in KMenu::mouseReleaseEvent (this=0x36383b0, e=<value optimized out>) at ../../kdeui/widgets/kmenu.cpp:458
#22 0x00007f4ffc4a6cb8 in QWidget::event (this=0x36383b0, event=0x7fffea9de3e0) at kernel/qwidget.cpp:8259
#23 0x00007f4ffc89849b in QMenu::event (this=0x36383b0, e=0x7fffea9de3e0) at widgets/qmenu.cpp:2415
#24 0x00007f4ffc4559e4 in QApplicationPrivate::notify_helper (this=0x10f1e10, receiver=0x36383b0, e=0x7fffea9de3e0) at kernel/qapplication.cpp:4462
#25 0x00007f4ffc45adb3 in QApplication::notify (this=<value optimized out>, receiver=0x36383b0, e=0x7fffea9de3e0) at kernel/qapplication.cpp:4023
#26 0x00007f4ffd174866 in KApplication::notify (this=0x7fffea9df1e0, receiver=0x36383b0, event=0x7fffea9de3e0) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007f4ffb83e49c in QCoreApplication::notifyInternal (this=0x7fffea9df1e0, receiver=0x36383b0, event=0x7fffea9de3e0) at kernel/qcoreapplication.cpp:731
#28 0x00007f4ffc456a0d in sendEvent (receiver=0x36383b0, event=0x7fffea9de3e0, alienWidget=0x0, nativeWidget=0x36383b0, buttonDown=0x7f4ffcf36218, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#29 QApplicationPrivate::sendMouseEvent (receiver=0x36383b0, event=0x7fffea9de3e0, alienWidget=0x0, nativeWidget=0x36383b0, buttonDown=0x7f4ffcf36218, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3122
#30 0x00007f4ffc4d6854 in QETWidget::translateMouseEvent (this=0x36383b0, event=<value optimized out>) at kernel/qapplication_x11.cpp:4490
#31 0x00007f4ffc4d504a in QApplication::x11ProcessEvent (this=0x7fffea9df1e0, event=0x7fffea9ded30) at kernel/qapplication_x11.cpp:3678
#32 0x00007f4ffc4fd162 in x11EventSourceDispatch (s=0x10f5c90, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#33 0x00007f4ff7b9fbcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007f4ff7ba03a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007f4ff7ba0639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007f4ffb8693ef in QEventDispatcherGlib::processEvents (this=0x10554f0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#37 0x00007f4ffc4fcdfe in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#38 0x00007f4ffb83d882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x00007f4ffb83dabc in QEventLoop::exec (this=0x7fffea9df030, flags=...) at kernel/qeventloop.cpp:201
#40 0x00007f4ffb841ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#41 0x0000000000633054 in main (argc=5, argv=0x7fffea9df9c8) at /build/buildd/digikam-1.9.0/digikam/main.cpp:216

Possible duplicates by query: bug 268242, bug 262050, bug 255733.

Reported using DrKonqi
Comment 1 caulier.gilles 2011-07-13 04:49:50 UTC

*** This bug has been marked as a duplicate of bug 232792 ***
Comment 2 Justin Zane Chudgar 2011-07-13 19:06:02 UTC
Though this has been marked as a duplicate of 232792, I question that based on further experimentation that I have done.

Specifically, I created an ext3 partition and migrated Digikam's sqlite database to that partition. This has DRASTICALLY improved Digikam's performance since sqlite's performance on ext3 is an order of magnitude better than on btrfs as of 2.6.37.

This has prevented any crashes or freezes of the UI since I made the change. I therefore assume that the cause of the crash is related to sqlite rather than kipi.
Comment 3 caulier.gilles 2011-07-13 20:14:56 UTC
No. This is the reason of the crash :

[KCrash Handler]
#6  QIcon::QIcon (this=0x7fffea9dce40, other=...) at image/qicon.cpp:538
#7  0x00007f4ffc44e414 in QAction::icon (this=<value optimized out>) at
kernel/qaction.cpp:737
#8  0x00007f5001663a03 in KIPI::PluginLoader::Info::icon (this=0x3632500) at
../../../../libs/libkipi/libkipi/pluginloader.cpp:191

This is a know problem already fixed in libkipi (from kdegraphics/libs). This is why it's have been marked as duplicated.

Your DB speed up problem is fully different.

Gilles Caulier

*** This bug has been marked as a duplicate of bug 232792 ***
Comment 4 Justin Zane Chudgar 2011-07-13 20:24:57 UTC
Thank you for the explanation. What, if anything, should I do about the
issues with sqlite on btrfs?

Justin Chudgar  |  Weed, CA 96094  |  530 921 0738 | http://www.justinzane.com/


On 07/13/2011 01:14 PM, Gilles Caulier wrote:
> https://bugs.kde.org/show_bug.cgi?id=277669
>
>
> Gilles Caulier <caulier.gilles@gmail.com> changed:
>
>            What    |Removed                     |Added
> ----------------------------------------------------------------------------
>              Status|UNCONFIRMED                 |RESOLVED
>          Resolution|                            |DUPLICATE
>
>
>
>
> --- Comment #3 from Gilles Caulier <caulier gilles gmail com>  2011-07-13 20:14:56 ---
> No. This is the reason of the crash :
>  
> [KCrash Handler]
> #6  QIcon::QIcon (this=0x7fffea9dce40, other=...) at image/qicon.cpp:538
> #7  0x00007f4ffc44e414 in QAction::icon (this=<value optimized out>) at
> kernel/qaction.cpp:737
> #8  0x00007f5001663a03 in KIPI::PluginLoader::Info::icon (this=0x3632500) at
> ../../../../libs/libkipi/libkipi/pluginloader.cpp:191
>
> This is a know problem already fixed in libkipi (from kdegraphics/libs). This
> is why it's have been marked as duplicated.
>
> Your DB speed up problem is fully different.
>
> Gilles Caulier
>
> *** This bug has been marked as a duplicate of bug 232792 ***
>
Comment 5 caulier.gilles 2011-07-13 20:47:27 UTC
I suggest to report it to sqlite bugzilla and to see if this problem already exist. In digiKam we only use sqlite. We don't manage sqlite source code.

Another suggestion is to migrate from sqlite to mysql. But i recommend to use 2.0.0 where a lots of fixes have been done. forget 1.x release for that.

Gilles Caulier
Comment 6 Justin Zane Chudgar 2011-07-14 01:16:53 UTC
I know that this is a known issue for the btrfs devs and probably sqlite
as well. I was just wondering if there should be some sort of warning in
the Digikam DB setup dialog about BTRFS as well as NFS/Samba mounts.
Though I have not seen the benchmarks on openbenchmarking.org yet, from
the btrfs mailing list it seems like there is progress being made so the
issue will likely resolve itself within the next couple of kernel releases.

Thanks for you time and for the excellent software.

Justin Chudgar  |  Weed, CA 96094  |  530 921 0738 | http://www.justinzane.com/


On 07/13/2011 01:47 PM, Gilles Caulier wrote:
> https://bugs.kde.org/show_bug.cgi?id=277669
>
>
>
>
>
> --- Comment #5 from Gilles Caulier <caulier gilles gmail com>  2011-07-13 20:47:27 ---
> I suggest to report it to sqlite bugzilla and to see if this problem already
> exist. In digiKam we only use sqlite. We don't manage sqlite source code.
>
> Another suggestion is to migrate from sqlite to mysql. But i recommend to use
> 2.0.0 where a lots of fixes have been done. forget 1.x release for that.
>
> Gilles Caulier
>
Comment 7 caulier.gilles 2018-02-04 09:51:23 UTC
Problem fixed in 6.0.0 where all tools are now in digiKam core