Bug 307110

Summary: Digikam crashes when manually adding face tags, then moving to next image
Product: [Applications] digikam Reporter: Micha <micha.magen>
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: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In: 7.0.0
Sentry Crash Report:

Description Micha 2012-09-20 16:26:44 UTC
Digikam's face detection is not very reliable, quite often the squares it defines are not around the actual location of a face or faces are not detected at all (especially if they aren't looking directly at the camera).  Therefore, after automatic detection runs, I have to manually go over the albums and add tags.  Every time I do this, after adding tags to some images Digikam crashes.  This does not happen during adding the tags themselves, but when I try to move on to the next image in the album or in the "Unknown" people category.  I'm using Digikam 2.9.0 on Ubuntu 12.04.  I haven't been able to generate a backtrace so far, the only "inside information" I have is this:

*** glibc detected *** digikam: malloc.c:2876: mremap_chunk: Assertion `((size + offset) & (_rtld_global_ro._dl_pagesize-1)) == 0' failed.
/usr/bin/digikam: invalid fastbin entry (free): 0x0000000005d13d20 ***


Reproducible: Always
Comment 1 caulier.gilles 2012-09-20 16:36:29 UTC
We needs a GDB backtrace to investiguate :

http://www.digikam.org/drupal/contrib

Gilles Caulier
Comment 2 Micha 2012-09-20 20:56:34 UTC
Hi Gilles,
Thanks for the quick response!  I really appreciate it.
I installed the debug version (at 316MB it's a bit on the big side though) and generated a backtrace.  I was sure I was using 2.9.0 but it turns out that what's I have now is 2.8.0 - maybe it's got something to do with the big KDE update yesterday?  Anyway, I'll paste the backtrace.  Note that in this case, the crash came not when I was going from one image to the next (as I described previously) but while I was adding the tags.

So here's the backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f60d6d0b800 (LWP 14351))]

Thread 20 (Thread 0x7f60b44ff700 (LWP 14352)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f60d11804db in wait (time=18446744073709551615, this=0x1368dd0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1368cc8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d6a30 in Digikam::ScanController::run (this=0x1368ad0) at /build/buildd/digikam-2.8.0/core/digikam/database/scancontroller.cpp:698
#4  0x00007f60d117ffcb in QThreadPrivate::start (arg=0x1368ad0) at thread/qthread_unix.cpp:298
#5  0x00007f60cbb68e9a in start_thread (arg=0x7f60b44ff700) at pthread_create.c:308
#6  0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 19 (Thread 0x7f60b3cfe700 (LWP 14353)):
#0  pthread_mutex_unlock (mutex=0x7f60a4000a60) at forward.c:184
#1  0x00007f60c97f35d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f60c97b7fe9 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f60c97b8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f60d12ae426 in QEventDispatcherGlib::processEvents (this=0x7f60a40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f60d127dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f60d127ded7 in QEventLoop::exec (this=0x7f60b3cfdd50, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f60d117cfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f60d125d9ff in QInotifyFileSystemWatcherEngine::run (this=0x136c110) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f60d117ffcb in QThreadPrivate::start (arg=0x136c110) at thread/qthread_unix.cpp:298
#10 0x00007f60cbb68e9a in start_thread (arg=0x7f60b3cfe700) at pthread_create.c:308
#11 0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 18 (Thread 0x7f60b34fd700 (LWP 14355)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f60d11804db in wait (time=18446744073709551615, this=0x14b87d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x15f7be8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f60d459fa11 in Digikam::ParkingThread::run (this=0x15f7bd0) at /build/buildd/digikam-2.8.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f60d117ffcb in QThreadPrivate::start (arg=0x15f7bd0) at thread/qthread_unix.cpp:298
#5  0x00007f60cbb68e9a in start_thread (arg=0x7f60b34fd700) at pthread_create.c:308
#6  0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 17 (Thread 0x7f60b1c21700 (LWP 14356)):
#0  0x00007f60c97f332a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f60c97f35c9 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f60c97b77e2 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f60c97b7f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f60c97b8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f60d12ae426 in QEventDispatcherGlib::processEvents (this=0x7f609c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f60d127dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f60d127ded7 in QEventLoop::exec (this=0x7f60b1c20d50, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f60d117cfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f60d125d9ff in QInotifyFileSystemWatcherEngine::run (this=0x1ab9600) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f60d117ffcb in QThreadPrivate::start (arg=0x1ab9600) at thread/qthread_unix.cpp:298
#11 0x00007f60cbb68e9a in start_thread (arg=0x7f60b1c21700) at pthread_create.c:308
#12 0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 16 (Thread 0x7f60a20e2700 (LWP 14364)):
#0  0x00007f60d03a0b03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f60c97b8036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f60c97b8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f60d12ae426 in QEventDispatcherGlib::processEvents (this=0x7f60900025f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f60d127dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f60d127ded7 in QEventLoop::exec (this=0x7f60a20e1d50, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f60d117cfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007f60d125d9ff in QInotifyFileSystemWatcherEngine::run (this=0x2adae20) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f60d117ffcb in QThreadPrivate::start (arg=0x2adae20) at thread/qthread_unix.cpp:298
#9  0x00007f60cbb68e9a in start_thread (arg=0x7f60a20e2700) at pthread_create.c:308
#10 0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 15 (Thread 0x7f60a3571700 (LWP 14365)):
#0  0x00007f60d12adb60 in socketNotifierSourceCheck (source=0x7f6088001780) at kernel/qeventdispatcher_glib.cpp:99
#1  0x00007f60c97b7b43 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f60c97b7fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f60c97b8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f60d12ae426 in QEventDispatcherGlib::processEvents (this=0x7f60880008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f60d127dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f60d127ded7 in QEventLoop::exec (this=0x7f60a3570d50, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f60d117cfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007f60d125d9ff in QInotifyFileSystemWatcherEngine::run (this=0x2b71090) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007f60d117ffcb in QThreadPrivate::start (arg=0x2b71090) at thread/qthread_unix.cpp:298
#10 0x00007f60cbb68e9a in start_thread (arg=0x7f60a3571700) at pthread_create.c:308
#11 0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 14 (Thread 0x7f608d998700 (LWP 14382)):
#0  0x00007f60c97f334a in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f60c97f3599 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f60c97b7b4e in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f60c97b7fd6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f60c97b8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f60d12ae426 in QEventDispatcherGlib::processEvents (this=0x7f60540008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f60d127dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f60d127ded7 in QEventLoop::exec (this=0x7f608d997d50, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f60d117cfa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007f60d125d9ff in QInotifyFileSystemWatcherEngine::run (this=0x3245140) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007f60d117ffcb in QThreadPrivate::start (arg=0x3245140) at thread/qthread_unix.cpp:298
#11 0x00007f60cbb68e9a in start_thread (arg=0x7f608d998700) at pthread_create.c:308
#12 0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 13 (Thread 0x7f6068aa3700 (LWP 14451)):
#0  0x00007f60cbb6af69 in __pthread_mutex_lock (mutex=0x7f6034014d70) at pthread_mutex_lock.c:92
#1  0x00007f60c97f35a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f60c97b71df in g_main_context_acquire () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f60c97b7f04 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f60c97b8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f60d12ae426 in QEventDispatcherGlib::processEvents (this=0x7f6034012d90, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f60d127dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f60d127ded7 in QEventLoop::exec (this=0x7f6068aa2d20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f60d459f08e in Digikam::WorkerObjectRunnable::run (this=0x45d3a70) at /build/buildd/digikam-2.8.0/core/libs/threads/threadmanager.cpp:196
#9  0x00007f60d11734f2 in QThreadPoolThread::run (this=0x3be5bd0) at concurrent/qthreadpool.cpp:107
#10 0x00007f60d117ffcb in QThreadPrivate::start (arg=0x3be5bd0) at thread/qthread_unix.cpp:298
#11 0x00007f60cbb68e9a in start_thread (arg=0x7f6068aa3700) at pthread_create.c:308
#12 0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7f608f19b700 (LWP 14452)):
#0  0x00007f60cbb6af69 in __pthread_mutex_lock (mutex=0x7f60480ba060) at pthread_mutex_lock.c:92
#1  0x00007f60c97f35a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f60c97b7675 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f60c97b7f5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f60c97b8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f60d12ae426 in QEventDispatcherGlib::processEvents (this=0x7f60480bb050, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007f60d127dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007f60d127ded7 in QEventLoop::exec (this=0x7f608f19ad20, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007f60d459f08e in Digikam::WorkerObjectRunnable::run (this=0x47611b0) at /build/buildd/digikam-2.8.0/core/libs/threads/threadmanager.cpp:196
#9  0x00007f60d11734f2 in QThreadPoolThread::run (this=0x3d317f0) at concurrent/qthreadpool.cpp:107
#10 0x00007f60d117ffcb in QThreadPrivate::start (arg=0x3d317f0) at thread/qthread_unix.cpp:298
#11 0x00007f60cbb68e9a in start_thread (arg=0x7f608f19b700) at pthread_create.c:308
#12 0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7f606b773700 (LWP 14454)):
#0  0x00007f60cc4eb3d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f60cc4e9efe in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f60cbb68e9a in start_thread (arg=0x7f606b773700) at pthread_create.c:308
#3  0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7f608e99a700 (LWP 14455)):
#0  0x00007f60cc4eb3d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f60cc4e9efe in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f60cbb68e9a in start_thread (arg=0x7f608e99a700) at pthread_create.c:308
#3  0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7f608d197700 (LWP 14456)):
#0  0x00007f60cc4eb3d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f60cc4e9efe in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f60cbb68e9a in start_thread (arg=0x7f608d197700) at pthread_create.c:308
#3  0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7f607bfff700 (LWP 14458)):
#0  0x00007f60d693027e in QSqlDatabase::isOpen (this=<optimized out>) at kernel/qsqldatabase.cpp:888
#1  0x00007f60d4540a48 in Digikam::DatabaseCoreBackendPrivate::databaseForThread (this=0x14bb560) at /build/buildd/digikam-2.8.0/core/libs/database/core/databasecorebackend.cpp:119
#2  0x00007f60d4541cec in Digikam::DatabaseCoreBackend::beginTransaction (this=<optimized out>) at /build/buildd/digikam-2.8.0/core/libs/database/core/databasecorebackend.cpp:1513
#3  0x00007f60d457a24e in Digikam::ThumbnailCreator::storeInDatabase (this=<optimized out>, info=..., image=...) at /build/buildd/digikam-2.8.0/core/libs/threadimageio/thumbnailcreator.cpp:743
#4  0x00007f60d457faa9 in Digikam::ThumbnailCreator::load (this=0x1a78ae0, path=..., rect=..., pregenerate=true) at /build/buildd/digikam-2.8.0/core/libs/threadimageio/thumbnailcreator.cpp:267
#5  0x00007f60d4580a2d in Digikam::ThumbnailCreator::pregenerate (this=<optimized out>, path=...) at /build/buildd/digikam-2.8.0/core/libs/threadimageio/thumbnailcreator.cpp:183
#6  0x00007f60d458f120 in Digikam::ThumbnailLoadingTask::execute (this=0x46f8fd0) at /build/buildd/digikam-2.8.0/core/libs/threadimageio/thumbnailtask.cpp:80
#7  0x00007f60d455eb5e in Digikam::LoadSaveThread::run (this=0x194f270) at /build/buildd/digikam-2.8.0/core/libs/threadimageio/loadsavethread.cpp:136
#8  0x00007f60d45a132e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x1a828d0) at /build/buildd/digikam-2.8.0/core/libs/threads/dynamicthread.cpp:186
#9  0x00007f60d11734f2 in QThreadPoolThread::run (this=0x3be5ec0) at concurrent/qthreadpool.cpp:107
#10 0x00007f60d117ffcb in QThreadPrivate::start (arg=0x3be5ec0) at thread/qthread_unix.cpp:298
#11 0x00007f60cbb68e9a in start_thread (arg=0x7f607bfff700) at pthread_create.c:308
#12 0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7f603bfff700 (LWP 14466)):
#0  0x00007f60cc4eb3d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f60cc4e9efe in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f60cbb68e9a in start_thread (arg=0x7f603bfff700) at pthread_create.c:308
#3  0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7f603b7fe700 (LWP 14467)):
#0  0x00007f60cc4eb3d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f60cc4e9efe in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f60cbb68e9a in start_thread (arg=0x7f603b7fe700) at pthread_create.c:308
#3  0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f603affd700 (LWP 14468)):
#0  0x00007f60cc4eb3d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f60cc4e9efe in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f60cbb68e9a in start_thread (arg=0x7f603affd700) at pthread_create.c:308
#3  0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f603891e700 (LWP 14470)):
#0  0x00007f60cc4eb3d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f60cc4e9efe in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f60cbb68e9a in start_thread (arg=0x7f603891e700) at pthread_create.c:308
#3  0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f6027fff700 (LWP 14471)):
#0  0x00007f60cc4eb3d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f60cc4e9efe in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f60cbb68e9a in start_thread (arg=0x7f6027fff700) at pthread_create.c:308
#3  0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f60277fe700 (LWP 14472)):
#0  0x00007f60cc4eb3d6 in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#1  0x00007f60cc4e9efe in ?? () from /usr/lib/x86_64-linux-gnu/libgomp.so.1
#2  0x00007f60cbb68e9a in start_thread (arg=0x7f60277fe700) at pthread_create.c:308
#3  0x00007f60d03ac4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f60d6d0b800 (LWP 14351)):
[KCrash Handler]
#6  ~QSharedDataPointer (this=0x4f00000013, __in_chrg=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:90
#7  QTextFormat::~QTextFormat (this=0x4f00000013, __in_chrg=<optimized out>) at text/qtextformat.cpp:791
#8  0x00007f60d1caf8d5 in ~QVariantPrivateSharedEx (this=0x4f00000003, __in_chrg=<optimized out>) at ../../include/QtCore/private/../../../src/corelib/kernel/qvariant_p.h:97
#9  v_clear<QTextFormat> (d=<optimized out>) at ../../include/QtCore/private/../../../src/corelib/kernel/qvariant_p.h:142
#10 clear (d=0x499a390) at kernel/qguivariant.cpp:238
#11 0x00007f60d3f80cf8 in node_destruct (n=0x48bf4a8, this=<optimized out>) at /usr/include/qt4/QtCore/qlist.h:388
#12 erase (alast=..., afirst=..., this=0x191f3c8) at /usr/include/qt4/QtCore/qlist.h:811
#13 Digikam::ImageModel::removeRowPairs (this=0x191ccf0, toRemove=...) at /build/buildd/digikam-2.8.0/core/libs/models/imagemodel.cpp:1025
#14 0x00007f60d3f82ced in Digikam::ImageModel::finishIncrementalRefresh (this=0x191ccf0) at /build/buildd/digikam-2.8.0/core/libs/models/imagemodel.cpp:844
#15 0x0000000000570c95 in Digikam::ImageAlbumModel::slotResult (this=0x191ccf0, job=<optimized out>) at /build/buildd/digikam-2.8.0/core/libs/models/imagealbummodel.cpp:307
#16 0x00007f60d1293281 in QMetaObject::activate (sender=0x492f100, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffbf65c3e0) at kernel/qobject.cpp:3547
#17 0x00007f60d1709152 in KJob::result (this=<optimized out>, _t1=0x492f100) at ./kjob.moc:208
#18 0x00007f60d1709190 in KJob::emitResult (this=0x492f100) at ../../kdecore/jobs/kjob.cpp:318
#19 0x00007f60d3116d44 in KIO::SimpleJob::slotFinished (this=0x492f100) at ../../kio/kio/job.cpp:494
#20 0x00007f60d311e8dd in KIO::TransferJob::slotFinished (this=0x492f100) at ../../kio/kio/job.cpp:1081
#21 0x00007f60d1293281 in QMetaObject::activate (sender=0x3cd89d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#22 0x00007f60d31c5381 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:172
#23 0x00007f60d31c20d5 in KIO::SlaveInterface::dispatch (this=0x3cd89d0) at ../../kio/kio/slaveinterface.cpp:88
#24 0x00007f60d31b535e in KIO::Slave::gotInput (this=0x3cd89d0) at ../../kio/kio/slave.cpp:344
#25 0x00007f60d1293281 in QMetaObject::activate (sender=0x3ba5450, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#26 0x00007f60d30e75e7 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#27 KIO::ConnectionPrivate::dequeue (this=0x30a59e0) at ../../kio/kio/connection.cpp:71
#28 0x00007f60d1298446 in QObject::event (this=0x3ba5450, e=<optimized out>) at kernel/qobject.cpp:1195
#29 0x00007f60d1c78894 in notify_helper (e=0x47a4690, receiver=0x3ba5450, this=0x12687f0) at kernel/qapplication.cpp:4559
#30 QApplicationPrivate::notify_helper (this=0x12687f0, receiver=0x3ba5450, e=0x47a4690) at kernel/qapplication.cpp:4531
#31 0x00007f60d1c7d713 in QApplication::notify (this=0x7fffbf65d740, receiver=0x3ba5450, e=0x47a4690) at kernel/qapplication.cpp:4420
#32 0x00007f60d29b23f6 in KApplication::notify (this=0x7fffbf65d740, receiver=0x3ba5450, event=0x47a4690) at ../../kdeui/kernel/kapplication.cpp:311
#33 0x00007f60d127ee9c in QCoreApplication::notifyInternal (this=0x7fffbf65d740, receiver=0x3ba5450, event=0x47a4690) at kernel/qcoreapplication.cpp:876
#34 0x00007f60d1282c6a in sendEvent (event=0x47a4690, receiver=0x3ba5450) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x11feca0) at kernel/qcoreapplication.cpp:1500
#36 0x00007f60d12adf93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#37 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#38 0x00007f60c97b7d53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f60c97b80a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007f60c97b8164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007f60d12ae3bf in QEventDispatcherGlib::processEvents (this=0x1269010, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0x00007f60d1d20d5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007f60d127dc82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007f60d127ded7 in QEventLoop::exec (this=0x7fffbf65d5c0, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007f60d1282f67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#46 0x000000000048f63b in main (argc=5, argv=<optimized out>) at /build/buildd/digikam-2.8.0/core/digikam/main/main.cpp:232
Comment 3 caulier.gilles 2012-09-20 21:08:04 UTC

*** This bug has been marked as a duplicate of bug 278049 ***
Comment 4 caulier.gilles 2019-12-23 07:20:02 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