Bug 307554

Summary: digikam crash when scanning faces
Product: [Applications] digikam Reporter: ejovrh <hrvoje.ivanic>
Component: Faces-EngineAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.9.0   
Target Milestone: ---   
Platform: Debian unstable   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description ejovrh 2012-09-29 00:34:47 UTC
Application: digikam (2.9.0)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 2.6.32-5-686 i686
Distribution (Platform): Debian unstable

-- Information about the crash:
not sure what to say here. 
regular usage of the app, OS is stock debian stable upgraded so that i can run digikam 2.9.

feel free to contact me if questions arise.

The crash can be reproduced some of the time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1".
[Current thread is 1 (Thread 0xaea858c0 (LWP 23304))]

Thread 20 (Thread 0xac75bb70 (LWP 23306)):
#0  0xb77b9424 in __kernel_vsyscall ()
#1  0xb357e20a in __pthread_cond_wait (cond=0xa53dcc8, mutex=0xa53dcb0) at pthread_cond_wait.c:153
#2  0xb482432d in __pthread_cond_wait (cond=0xa53dcc8, mutex=0xa53dcb0) at forward.c:139
#3  0xb4ac2470 in wait (time=4294967295, this=0xa53dcb0) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa53dc1c, mutex=0xa53dc18, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0820fb3e in Digikam::ScanController::run (this=0xa5156f0) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/digikam/database/scancontroller.cpp:698
#6  0xb4ac1f00 in QThreadPrivate::start (arg=0xa5156f0) at thread/qthread_unix.cpp:307
#7  0xb3579c39 in start_thread (arg=0xac75bb70) at pthread_create.c:304
#8  0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 19 (Thread 0xabf5ab70 (LWP 23307)):
#0  0xb30a4e11 in *__GI_clock_gettime (clock_id=1, tp=0xabf59e58) at ../sysdeps/unix/clock_gettime.c:116
#1  0xb4b20a35 in do_gettime (frac=0xabf59e50, sec=0xabf59e48) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb4c0622e in QTimerInfoList::updateCurrentTime (this=0xab602074) at kernel/qeventdispatcher_unix.cpp:343
#4  0xab6004e0 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 18 (Thread 0xab5ffb70 (LWP 23330)):
#0  0xb77b9424 in __kernel_vsyscall ()
#1  0xb357e20a in __pthread_cond_wait (cond=0xa7715a0, mutex=0xa771588) at pthread_cond_wait.c:153
#2  0xb482432d in __pthread_cond_wait (cond=0xa7715a0, mutex=0xa771588) at forward.c:139
#3  0xb4ac2470 in wait (time=4294967295, this=0xa771588) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa56bb80, mutex=0xa56bb7c, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6adba4c in Digikam::ParkingThread::run (this=0xa56bb70) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/threads/threadmanager.cpp:119
#6  0xb4ac1f00 in QThreadPrivate::start (arg=0xa56bb70) at thread/qthread_unix.cpp:307
#7  0xb3579c39 in start_thread (arg=0xab5ffb70) at pthread_create.c:304
#8  0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 17 (Thread 0xa5013b70 (LWP 23396)):
#0  pthread_mutex_unlock (mutex=0xafd21f8) at forward.c:184
#1  0xb327a760 in g_mutex_unlock (mutex=mutex@entry=0xae50770) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gthread-posix.c:227
#2  0xb323a3aa in g_main_context_check (context=context@entry=0xae50770, max_priority=<optimized out>, fds=fds@entry=0xaecb1c0, n_fds=n_fds@entry=1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3021
#3  0xb323a872 in g_main_context_iterate (context=context@entry=0xae50770, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3143
#4  0xb323aa41 in g_main_context_iteration (context=0xae50770, may_block=1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#5  0xb4c0585f in QEventDispatcherGlib::processEvents (this=0xa640078, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb4bd202c in QEventLoop::processEvents (this=this@entry=0xa50130f0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4bd2321 in QEventLoop::exec (this=0xa50130f0, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6adaff5 in Digikam::WorkerObjectRunnable::run (this=0xb038138) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/threads/threadmanager.cpp:196
#9  0xb4ab4914 in QThreadPoolThread::run (this=0x9f99da00) at concurrent/qthreadpool.cpp:107
#10 0xb4ac1f00 in QThreadPrivate::start (arg=0x9f99da00) at thread/qthread_unix.cpp:307
#11 0xb3579c39 in start_thread (arg=0xa5013b70) at pthread_create.c:304
#12 0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 16 (Thread 0x94e77b70 (LWP 23403)):
#0  0xb77b9424 in __kernel_vsyscall ()
#1  0xb48135d7 in syscall () at ../sysdeps/unix/sysv/linux/i386/syscall.S:30
#2  0xb2cfd7b6 in futex_wait (futex=<optimized out>, comparand=2) at ../../include/tbb/machine/linux_common.h:67
#3  P (this=<optimized out>) at ../../src/tbb/semaphore.h:212
#4  commit_wait (c=<synthetic pointer>, this=0x9506be90) at ../../src/rml/include/../server/thread_monitor.h:209
#5  tbb::internal::rml::private_worker::run (this=0x9506be80) at ../../src/tbb/private_server.cpp:270
#6  0xb2cfd7f5 in tbb::internal::rml::private_worker::thread_routine (arg=0x9506be80) at ../../src/tbb/private_server.cpp:231
#7  0xb3579c39 in start_thread (arg=0x94e77b70) at pthread_create.c:304
#8  0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 15 (Thread 0x9e6ffb70 (LWP 23418)):
#0  0xb327a718 in g_mutex_lock (mutex=mutex@entry=0xafd5c40) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gthread-posix.c:208
#1  0xb3239b82 in g_main_context_release (context=context@entry=0xafd5c40) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:2658
#2  0xb323a888 in g_main_context_iterate (context=context@entry=0xafd5c40, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3148
#3  0xb323aa41 in g_main_context_iteration (context=0xafd5c40, may_block=1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#4  0xb4c0585f in QEventDispatcherGlib::processEvents (this=0xafd34b8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0xb4bd202c in QEventLoop::processEvents (this=this@entry=0x9e6ff0f0, flags=...) at kernel/qeventloop.cpp:149
#6  0xb4bd2321 in QEventLoop::exec (this=0x9e6ff0f0, flags=...) at kernel/qeventloop.cpp:204
#7  0xb6adaff5 in Digikam::WorkerObjectRunnable::run (this=0x9c573798) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/threads/threadmanager.cpp:196
#8  0xb4ab4914 in QThreadPoolThread::run (this=0x9f7b48a8) at concurrent/qthreadpool.cpp:107
#9  0xb4ac1f00 in QThreadPrivate::start (arg=0x9f7b48a8) at thread/qthread_unix.cpp:307
#10 0xb3579c39 in start_thread (arg=0x9e6ffb70) at pthread_create.c:304
#11 0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 14 (Thread 0x940ffb70 (LWP 23546)):
#0  __libc_enable_asynccancel () at ../nptl/cancellation.c:44
#1  0xb4809830 in *__GI___poll (fds=fds@entry=0xb3d3a30, nfds=nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:85
#2  0xb324902b in g_poll (fds=0xb3d3a30, nfds=1, timeout=-1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gpoll.c:132
#3  0xb323a8e0 in g_main_context_poll (n_fds=1, fds=0xb3d3a30, timeout=<optimized out>, context=0xaec5c90, priority=<optimized out>) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3440
#4  g_main_context_iterate (context=context@entry=0xaec5c90, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3141
#5  0xb323aa41 in g_main_context_iteration (context=0xaec5c90, may_block=1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#6  0xb4c0585f in QEventDispatcherGlib::processEvents (this=0xadb4238, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb4bd202c in QEventLoop::processEvents (this=this@entry=0x940ff0f0, flags=...) at kernel/qeventloop.cpp:149
#8  0xb4bd2321 in QEventLoop::exec (this=0x940ff0f0, flags=...) at kernel/qeventloop.cpp:204
#9  0xb6adaff5 in Digikam::WorkerObjectRunnable::run (this=0xafd42b8) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/threads/threadmanager.cpp:196
#10 0xb4ab4914 in QThreadPoolThread::run (this=0xae6b578) at concurrent/qthreadpool.cpp:107
#11 0xb4ac1f00 in QThreadPrivate::start (arg=0xae6b578) at thread/qthread_unix.cpp:307
#12 0xb3579c39 in start_thread (arg=0x940ffb70) at pthread_create.c:304
#13 0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 13 (Thread 0x86cb7b70 (LWP 23628)):
#0  __libc_disable_asynccancel (oldtype=<optimized out>) at ../nptl/cancellation.c:83
#1  0xb4809858 in *__GI___poll (fds=fds@entry=0xa9690b8, nfds=2, nfds@entry=1, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:89
#2  0xb324902b in g_poll (fds=0xa9690b8, nfds=1, timeout=-1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gpoll.c:132
#3  0xb323a8e0 in g_main_context_poll (n_fds=1, fds=0xa9690b8, timeout=<optimized out>, context=0xa641b00, priority=<optimized out>) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3440
#4  g_main_context_iterate (context=context@entry=0xa641b00, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3141
#5  0xb323aa41 in g_main_context_iteration (context=0xa641b00, may_block=1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#6  0xb4c0585f in QEventDispatcherGlib::processEvents (this=0xac422c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb4bd202c in QEventLoop::processEvents (this=this@entry=0x86cb70f0, flags=...) at kernel/qeventloop.cpp:149
#8  0xb4bd2321 in QEventLoop::exec (this=0x86cb70f0, flags=...) at kernel/qeventloop.cpp:204
#9  0xb6adaff5 in Digikam::WorkerObjectRunnable::run (this=0x9edd9df0) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/threads/threadmanager.cpp:196
#10 0xb4ab4914 in QThreadPoolThread::run (this=0xa54c8968) at concurrent/qthreadpool.cpp:107
#11 0xb4ac1f00 in QThreadPrivate::start (arg=0xa54c8968) at thread/qthread_unix.cpp:307
#12 0xb3579c39 in start_thread (arg=0x86cb7b70) at pthread_create.c:304
#13 0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 12 (Thread 0x94c76b70 (LWP 23631)):
#0  0xb36fcd02 in sys_futex0 (val=20, op=<optimized out>, addr=0xad5d86c) at ../../../src/libgomp/config/linux/x86/futex.h:90
#1  futex_wait (val=20, addr=0xad5d86c) at ../../../src/libgomp/config/linux/x86/futex.h:120
#2  do_wait (val=20, addr=0xad5d86c) at ../../../src/libgomp/config/linux/wait.h:64
#3  gomp_barrier_wait_end (bar=0xad5d868, state=20) at ../../../src/libgomp/config/linux/bar.c:47
#4  0xb36fcdb8 in gomp_barrier_wait (bar=bar@entry=0xad5d868) at ../../../src/libgomp/config/linux/bar.c:55
#5  0xb36fb43c in gomp_thread_start (xdata=0x86cb5d50) at ../../../src/libgomp/team.c:120
#6  0xb3579c39 in start_thread (arg=0x94c76b70) at pthread_create.c:304
#7  0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 11 (Thread 0x9c0ffb70 (LWP 24242)):
#0  0xb4807f3f in read () at ../sysdeps/unix/syscall-template.S:82
#1  0xb3279a0e in read (__nbytes=16, __buf=0x9c0fef1c, __fd=<optimized out>) at /usr/include/i386-linux-gnu/bits/unistd.h:45
#2  g_wakeup_acknowledge (wakeup=0xae35628) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gwakeup.c:212
#3  0xb323a412 in g_main_context_check (context=context@entry=0xb1a1590, max_priority=2147483647, fds=fds@entry=0x99f1fb70, n_fds=n_fds@entry=1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:2980
#4  0xb323a872 in g_main_context_iterate (context=context@entry=0xb1a1590, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3143
#5  0xb323aa41 in g_main_context_iteration (context=0xb1a1590, may_block=1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#6  0xb4c0585f in QEventDispatcherGlib::processEvents (this=0xaa20b00, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb4bd202c in QEventLoop::processEvents (this=this@entry=0x9c0ff0f0, flags=...) at kernel/qeventloop.cpp:149
#8  0xb4bd2321 in QEventLoop::exec (this=0x9c0ff0f0, flags=...) at kernel/qeventloop.cpp:204
#9  0xb6adaff5 in Digikam::WorkerObjectRunnable::run (this=0xa866aff0) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/threads/threadmanager.cpp:196
#10 0xb4ab4914 in QThreadPoolThread::run (this=0x9eb6d3b8) at concurrent/qthreadpool.cpp:107
#11 0xb4ac1f00 in QThreadPrivate::start (arg=0x9eb6d3b8) at thread/qthread_unix.cpp:307
#12 0xb3579c39 in start_thread (arg=0x9c0ffb70) at pthread_create.c:304
#13 0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 10 (Thread 0x904ffb70 (LWP 24404)):
#0  0xb36fcd02 in sys_futex0 (val=2880, op=<optimized out>, addr=0x9e9f279c) at ../../../src/libgomp/config/linux/x86/futex.h:90
#1  futex_wait (val=2880, addr=0x9e9f279c) at ../../../src/libgomp/config/linux/x86/futex.h:120
#2  do_wait (val=2880, addr=0x9e9f279c) at ../../../src/libgomp/config/linux/wait.h:64
#3  gomp_barrier_wait_end (bar=0x9e9f2798, state=2880) at ../../../src/libgomp/config/linux/bar.c:47
#4  0xb36fcdb8 in gomp_barrier_wait (bar=bar@entry=0x9e9f2798) at ../../../src/libgomp/config/linux/bar.c:55
#5  0xb36fb43c in gomp_thread_start (xdata=0x9c0fe5e0) at ../../../src/libgomp/team.c:120
#6  0xb3579c39 in start_thread (arg=0x904ffb70) at pthread_create.c:304
#7  0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 9 (Thread 0x8c218b70 (LWP 24471)):
#0  0xb357d524 in __pthread_mutex_unlock_usercnt (mutex=0xaa15b30, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  0xb4824536 in pthread_mutex_unlock (mutex=0xaa15b30) at forward.c:184
#2  0xb327a760 in g_mutex_unlock (mutex=mutex@entry=0xa964790) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gthread-posix.c:227
#3  0xb323a7cf in g_main_context_iterate (context=context@entry=0xa964790, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3124
#4  0xb323aa41 in g_main_context_iteration (context=0xa964790, may_block=1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#5  0xb4c0585f in QEventDispatcherGlib::processEvents (this=0xaba9c08, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0xb4bd202c in QEventLoop::processEvents (this=this@entry=0x8c2180f0, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4bd2321 in QEventLoop::exec (this=0x8c2180f0, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6adaff5 in Digikam::WorkerObjectRunnable::run (this=0x9f315c70) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/threads/threadmanager.cpp:196
#9  0xb4ab4914 in QThreadPoolThread::run (this=0x9eb7c2f0) at concurrent/qthreadpool.cpp:107
#10 0xb4ac1f00 in QThreadPrivate::start (arg=0x9eb7c2f0) at thread/qthread_unix.cpp:307
#11 0xb3579c39 in start_thread (arg=0x8c218b70) at pthread_create.c:304
#12 0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 8 (Thread 0x91cffb70 (LWP 24487)):
#0  0xb36fcd02 in sys_futex0 (val=5824, op=<optimized out>, addr=0x9e9a166c) at ../../../src/libgomp/config/linux/x86/futex.h:90
#1  futex_wait (val=5824, addr=0x9e9a166c) at ../../../src/libgomp/config/linux/x86/futex.h:120
#2  do_wait (val=5824, addr=0x9e9a166c) at ../../../src/libgomp/config/linux/wait.h:64
#3  gomp_barrier_wait_end (bar=0x9e9a1668, state=5824) at ../../../src/libgomp/config/linux/bar.c:47
#4  0xb36fcdb8 in gomp_barrier_wait (bar=bar@entry=0x9e9a1668) at ../../../src/libgomp/config/linux/bar.c:55
#5  0xb36fb43c in gomp_thread_start (xdata=0x8c2175e0) at ../../../src/libgomp/team.c:120
#6  0xb3579c39 in start_thread (arg=0x91cffb70) at pthread_create.c:304
#7  0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 7 (Thread 0x897cfb70 (LWP 24737)):
#0  0xaef4aceb in __x86.get_pc_thunk.bx () from /usr/lib/i386-linux-gnu/libsqlite3.so.0
#1  0xaef4b11c in mallocWithAlarm (n=11, pp=0x897ce52c) at sqlite3.c:18719
#2  0xaef53337 in sqlite3Malloc (n=<optimized out>) at sqlite3.c:18767
#3  sqlite3Malloc (n=11) at sqlite3.c:18754
#4  0xaef534b7 in sqlite3DbMallocRaw (db=0x9e945930, n=<optimized out>) at sqlite3.c:19103
#5  0xaef538b0 in sqlite3DbStrNDup (db=<optimized out>, z=z@entry=0xa5d31a0 "Thumbnails", n=10) at sqlite3.c:19189
#6  0xaef602e4 in sqlite3VdbeChangeP4 (p=0x9f4f2228, addr=<optimized out>, zP4=0xa5d31a0 "Thumbnails", n=<optimized out>) at sqlite3.c:58889
#7  0xaef46baf in sqlite3CompleteInsertion (pParse=pParse@entry=0x98abd108, pTab=pTab@entry=0xa55f330, baseCur=baseCur@entry=0, regRowid=regRowid@entry=1, aRegIdx=aRegIdx@entry=0x888ee868, isUpdate=0, isUpdate@entry=-2003900312, appendBias=appendBias@entry=1, useSeekResult=1) at sqlite3.c:89437
#8  0xaefb2517 in sqlite3Insert (pParse=0x98abd108, pTabList=0x9c573750, pList=0x9c5e96e0, pSelect=0x0, pColumn=0x8eee2378, onError=99) at sqlite3.c:88936
#9  0xaefa20dc in yy_reduce (yyruleno=172, yypParser=0x9e9bd780) at sqlite3.c:109554
#10 sqlite3Parser (yyp=yyp@entry=0x9e9bd780, yymajor=1, yyminor=..., pParse=pParse@entry=0x98abd108) at sqlite3.c:44799
#11 0xaefa63d4 in sqlite3RunParser (pParse=pParse@entry=0x98abd108, zSql=zSql@entry=0x9e768a20 "INSERT INTO Thumbnails (type, modificationDate, orientationHint, data) VALUES (?, ?, ?, ?);", pzErrMsg=pzErrMsg@entry=0x897ce8e8) at sqlite3.c:111160
#12 0xaefa7f2c in sqlite3Prepare (db=db@entry=0x9e945930, zSql=zSql@entry=0x9e768a20 "INSERT INTO Thumbnails (type, modificationDate, orientationHint, data) VALUES (?, ?, ?, ?);", nBytes=nBytes@entry=-1, saveSqlFlag=saveSqlFlag@entry=1, pReprepare=pReprepare@entry=0x0, ppStmt=ppStmt@entry=0x9f4d2da8, pzTail=pzTail@entry=0x897ce9ac) at sqlite3.c:93306
#13 0xaefa8241 in sqlite3LockAndPrepare (pzTail=0x897ce9ac, ppStmt=0x9f4d2da8, pOld=0x0, saveSqlFlag=1, nBytes=-1, zSql=0x9e768a20 "INSERT INTO Thumbnails (type, modificationDate, orientationHint, data) VALUES (?, ?, ?, ?);", db=0x9e945930) at sqlite3.c:93398
#14 sqlite3LockAndPrepare (db=0x9e945930, zSql=0x9e768a20 "INSERT INTO Thumbnails (type, modificationDate, orientationHint, data) VALUES (?, ?, ?, ?);", nBytes=-1, saveSqlFlag=1, pOld=0x0, ppStmt=0x9f4d2da8, pzTail=0x897ce9ac) at sqlite3.c:27845
#15 0xaefa8372 in sqlite3Prepare16 (db=0x9e945930, zSql=0x9e784102, nBytes=184, saveSqlFlag=1, ppStmt=0x9f4d2da8, pzTail=0x897cea04) at sqlite3.c:93508
#16 0xab751c64 in QSQLiteResult::prepare (this=0x9f4136f8, query=...) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:360
#17 0xb7780669 in QSqlResult::savePrepare (this=0x9f4136f8, query=...) at kernel/qsqlresult.cpp:601
#18 0xb77726a2 in QSqlQuery::prepare (this=0x897ceb58, query=...) at kernel/qsqlquery.cpp:930
#19 0xb6a92148 in Digikam::SqlQuery::prepare (this=0x897ceb54, query=...) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/database/core/sqlquery.cpp:52
#20 0xb6a7aa49 in Digikam::DatabaseCoreBackend::prepareQuery (this=0xa5a0898, sql=...) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/database/core/databasecorebackend.cpp:1458
#21 0xb6a7c746 in Digikam::DatabaseCoreBackend::execQuery (this=0xa5a0898, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/database/core/databasecorebackend.cpp:1020
#22 0x897ced0c in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 6 (Thread 0x8ba17b70 (LWP 24739)):
#0  0xb357c28e in __pthread_mutex_lock (mutex=0xa9523a0) at pthread_mutex_lock.c:92
#1  0xb48244f6 in pthread_mutex_lock (mutex=0xa9523a0) at forward.c:182
#2  0xb327a720 in g_mutex_lock (mutex=mutex@entry=0xafb0140) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gthread-posix.c:208
#3  0xb323a3bd in g_main_context_check (context=context@entry=0xafb0140, max_priority=<optimized out>, fds=fds@entry=0xad7aab8, n_fds=n_fds@entry=1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3025
#4  0xb323a872 in g_main_context_iterate (context=context@entry=0xafb0140, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3143
#5  0xb323aa41 in g_main_context_iteration (context=0xafb0140, may_block=1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#6  0xb4c0585f in QEventDispatcherGlib::processEvents (this=0xab3f0e8, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0xb4bd202c in QEventLoop::processEvents (this=this@entry=0x8ba170f0, flags=...) at kernel/qeventloop.cpp:149
#8  0xb4bd2321 in QEventLoop::exec (this=0x8ba170f0, flags=...) at kernel/qeventloop.cpp:204
#9  0xb6adaff5 in Digikam::WorkerObjectRunnable::run (this=0xa9b6f170) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/threads/threadmanager.cpp:196
#10 0xb4ab4914 in QThreadPoolThread::run (this=0xac3d308) at concurrent/qthreadpool.cpp:107
#11 0xb4ac1f00 in QThreadPrivate::start (arg=0xac3d308) at thread/qthread_unix.cpp:307
#12 0xb3579c39 in start_thread (arg=0x8ba17b70) at pthread_create.c:304
#13 0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0x8fcfeb70 (LWP 24740)):
#0  0xb36fcd02 in sys_futex0 (val=728, op=<optimized out>, addr=0xb0c8274) at ../../../src/libgomp/config/linux/x86/futex.h:90
#1  futex_wait (val=728, addr=0xb0c8274) at ../../../src/libgomp/config/linux/x86/futex.h:120
#2  do_wait (val=728, addr=0xb0c8274) at ../../../src/libgomp/config/linux/wait.h:64
#3  gomp_barrier_wait_end (bar=0xb0c8270, state=728) at ../../../src/libgomp/config/linux/bar.c:47
#4  0xb36fcdb8 in gomp_barrier_wait (bar=bar@entry=0xb0c8270) at ../../../src/libgomp/config/linux/bar.c:55
#5  0xb36fb43c in gomp_thread_start (xdata=0x897ce5e0) at ../../../src/libgomp/team.c:120
#6  0xb3579c39 in start_thread (arg=0x8fcfeb70) at pthread_create.c:304
#7  0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0x9d3ffb70 (LWP 24750)):
#0  0xb36fcd02 in sys_futex0 (val=4312, op=<optimized out>, addr=0xae339c4) at ../../../src/libgomp/config/linux/x86/futex.h:90
#1  futex_wait (val=4312, addr=0xae339c4) at ../../../src/libgomp/config/linux/x86/futex.h:120
#2  do_wait (val=4312, addr=0xae339c4) at ../../../src/libgomp/config/linux/wait.h:64
#3  gomp_barrier_wait_end (bar=0xae339c0, state=4312) at ../../../src/libgomp/config/linux/bar.c:47
#4  0xb36fcdb8 in gomp_barrier_wait (bar=bar@entry=0xae339c0) at ../../../src/libgomp/config/linux/bar.c:55
#5  0xb36fb43c in gomp_thread_start (xdata=0x8ba165e0) at ../../../src/libgomp/team.c:120
#6  0xb3579c39 in start_thread (arg=0x9d3ffb70) at pthread_create.c:304
#7  0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa0fffb70 (LWP 24785)):
#0  g_mutex_unlock (mutex=mutex@entry=0xb152600) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gthread-posix.c:224
#1  0xb323a7cf in g_main_context_iterate (context=context@entry=0xb152600, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3124
#2  0xb323aa41 in g_main_context_iteration (context=0xb152600, may_block=1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#3  0xb4c0585f in QEventDispatcherGlib::processEvents (this=0xabb2368, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0xb4bd202c in QEventLoop::processEvents (this=this@entry=0xa0fff0f0, flags=...) at kernel/qeventloop.cpp:149
#5  0xb4bd2321 in QEventLoop::exec (this=0xa0fff0f0, flags=...) at kernel/qeventloop.cpp:204
#6  0xb6adaff5 in Digikam::WorkerObjectRunnable::run (this=0x9f31fee0) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/threads/threadmanager.cpp:196
#7  0xb4ab4914 in QThreadPoolThread::run (this=0xaa25fc0) at concurrent/qthreadpool.cpp:107
#8  0xb4ac1f00 in QThreadPrivate::start (arg=0xaa25fc0) at thread/qthread_unix.cpp:307
#9  0xb3579c39 in start_thread (arg=0xa0fffb70) at pthread_create.c:304
#10 0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0x9b6ffb70 (LWP 24790)):
#0  0xb36fcd02 in sys_futex0 (val=3360, op=<optimized out>, addr=0x99f1bd7c) at ../../../src/libgomp/config/linux/x86/futex.h:90
#1  futex_wait (val=3360, addr=0x99f1bd7c) at ../../../src/libgomp/config/linux/x86/futex.h:120
#2  do_wait (val=3360, addr=0x99f1bd7c) at ../../../src/libgomp/config/linux/wait.h:64
#3  gomp_barrier_wait_end (bar=0x99f1bd78, state=3360) at ../../../src/libgomp/config/linux/bar.c:47
#4  0xb36fcdb8 in gomp_barrier_wait (bar=bar@entry=0x99f1bd78) at ../../../src/libgomp/config/linux/bar.c:55
#5  0xb36fb43c in gomp_thread_start (xdata=0xa0ffe5e0) at ../../../src/libgomp/team.c:120
#6  0xb3579c39 in start_thread (arg=0x9b6ffb70) at pthread_create.c:304
#7  0xb481723e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xaea858c0 (LWP 23304)):
[KCrash Handler]
#7  deref (this=0x3) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:132
#8  QKeySequence::~QKeySequence (this=0xa7fbeda8, __in_chrg=<optimized out>) at kernel/qkeysequence.cpp:1022
#9  0xb51a5390 in v_clear<QKeySequence> (d=0xa7fbeda8) at ../../include/QtCore/private/../../../src/corelib/kernel/qvariant_p.h:144
#10 clear (d=0xa7fbeda8) at kernel/qguivariant.cpp:248
#11 0xb4bf68fa in QVariant::~QVariant (this=0xa7fbeda8, __in_chrg=<optimized out>) at kernel/qvariant.cpp:1400
#12 0xb66e1e96 in node_destruct (n=<optimized out>, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:388
#13 erase (alast=..., afirst=..., this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:811
#14 Digikam::ImageModel::removeRowPairs (this=0xa896cb0, toRemove=...) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/models/imagemodel.cpp:1025
#15 0xb66e42ff in Digikam::ImageModel::finishIncrementalRefresh (this=0xa896cb0) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/models/imagemodel.cpp:844
#16 0x081a95ef in Digikam::ImageAlbumModel::slotResult (this=0xa896cb0, job=0x99f48328) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/libs/models/imagealbummodel.cpp:307
#17 0xb4bebce2 in QMetaObject::activate (sender=0x99f48328, m=0xb501048c, local_signal_index=3, argv=0xbfdaa6c8) at kernel/qobject.cpp:3547
#18 0xb4e59855 in KJob::result (this=this@entry=0x99f48328, _t1=_t1@entry=0x99f48328) at ./kjob.moc:208
#19 0xb4e598a8 in KJob::emitResult (this=0x99f48328) at ../../kdecore/jobs/kjob.cpp:318
#20 0xb606d02d in KIO::SimpleJob::slotFinished (this=this@entry=0x99f48328) at ../../kio/kio/job.cpp:494
#21 0xb6075d7d in KIO::TransferJob::slotFinished (this=0x99f48328) at ../../kio/kio/job.cpp:1081
#22 0xb6074018 in qt_static_metacall (_a=0xbfdaa8fc, _id=7, _o=0x99f48328, _c=<optimized out>) at ./jobclasses.moc:388
#23 KIO::TransferJob::qt_static_metacall (_o=_o@entry=0x99f48328, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=7, _a=0xbfdaa8fc) at ./jobclasses.moc:375
#24 0xb4bebce2 in QMetaObject::activate (sender=0x9b7fd180, m=0xb6247460, local_signal_index=4, argv=0x0) at kernel/qobject.cpp:3547
#25 0xb611f835 in KIO::SlaveInterface::finished (this=this@entry=0x9b7fd180) at ./slaveinterface.moc:185
#26 0xb6122739 in KIO::SlaveInterface::dispatch (this=0x9b7fd180, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:172
#27 0xb611ef0a in KIO::SlaveInterface::dispatch (this=0x9b7fd180) at ../../kio/kio/slaveinterface.cpp:88
#28 0xb61119a8 in KIO::Slave::gotInput (this=this@entry=0x9b7fd180) at ../../kio/kio/slave.cpp:344
#29 0xb6112004 in KIO::Slave::qt_static_metacall (_o=_o@entry=0x9b7fd180, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=2, _a=0xbfdaabbc) at ./slave.moc:57
#30 0xb4bebce2 in QMetaObject::activate (sender=0x9dc1ee70, m=0xb62440f0, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#31 0xb603b8d5 in KIO::Connection::readyRead (this=0x9dc1ee70) at ./connection.moc:106
#32 0xb603bf38 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#33 KIO::ConnectionPrivate::dequeue (this=0x96f52fe8) at ../../kio/kio/connection.cpp:71
#34 0xb4be578a in QMetaCallEvent::placeMetaCall (this=0xa8ab8950, object=0x9dc1ee70) at kernel/qobject.cpp:525
#35 0xb4be9ccb in QObject::event (this=0x9dc1ee70, e=0xa8ab8950) at kernel/qobject.cpp:1195
#36 0xb516847c in QApplicationPrivate::notify_helper (this=0xa42fc50, receiver=0x9dc1ee70, e=0xa8ab8950) at kernel/qapplication.cpp:4556
#37 0xb516ce7f in QApplication::notify (this=0xa8ab8950, receiver=0x9dc1ee70, e=0xa8ab8950) at kernel/qapplication.cpp:3938
#38 0xb5d03581 in KApplication::notify (this=0xbfdab5a8, receiver=0x9dc1ee70, event=0xa8ab8950) at ../../kdeui/kernel/kapplication.cpp:311
#39 0xb4bd355e in QCoreApplication::notifyInternal (this=0xbfdab5a8, receiver=0x9dc1ee70, event=0xa8ab8950) at kernel/qcoreapplication.cpp:915
#40 0xb4bd776d in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xa3eac48) at kernel/qcoreapplication.cpp:1539
#42 0xb4bd79ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1432
#43 0xb4c056c4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#44 postEventSourceDispatch (s=s@entry=0xa42f938) at kernel/qeventdispatcher_glib.cpp:279
#45 0xb323a5c3 in g_main_dispatch (context=0xa42f5a8) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:2539
#46 g_main_context_dispatch (context=context@entry=0xa42f5a8) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3075
#47 0xb323a960 in g_main_context_iterate (context=context@entry=0xa42f5a8, block=block@entry=1, dispatch=dispatch@entry=1, self=<error reading variable: Unhandled dwarf expression opcode 0xfa>) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3146
#48 0xb323aa41 in g_main_context_iteration (context=0xa42f5a8, may_block=1) at /build/buildd-glib2.0_2.33.12+really2.32.4-1-i386-ht9QHK/glib2.0-2.33.12+really2.32.4/./glib/gmain.c:3207
#49 0xb4c05841 in QEventDispatcherGlib::processEvents (this=0xa3eb7c8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#50 0xb521b1fa in QGuiEventDispatcherGlib::processEvents (this=0xa3eb7c8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0xb4bd202c in QEventLoop::processEvents (this=this@entry=0xbfdab3a8, flags=...) at kernel/qeventloop.cpp:149
#52 0xb4bd2321 in QEventLoop::exec (this=0xbfdab3a8, flags=...) at kernel/qeventloop.cpp:204
#53 0xb4bd7a9a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#54 0xb51662f4 in QApplication::exec () at kernel/qapplication.cpp:3817
#55 0x080c2fb8 in main (argc=5, argv=0xbfdab714) at /build/buildd-digikam_2.9.0-3-i386-CXznwk/digikam-2.9.0/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 caulier.gilles 2012-09-29 07:03:14 UTC

*** This bug has been marked as a duplicate of bug 278049 ***
Comment 2 caulier.gilles 2019-12-23 06:21:48 UTC
Problem is fixed with new 7.0.0-beta1 through this long story from this bug

https://bugs.kde.org/show_bug.cgi?id=399923

You can test digiKam 7.0.0-beta1 with bundle available here:

https://download.kde.org/unstable/digikam/

Don't hesitate to give us a fresh feedback about his entry.

Thanks in advance

Gilles Caulier