Bug 329834

Summary: crash during miniature update
Product: [Applications] digikam Reporter: Blindauer Emmanuel <bugs.kde.org>
Component: Portability-RuntimeAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 3.4.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.3.0
Sentry Crash Report:

Description Blindauer Emmanuel 2014-01-11 08:26:54 UTC
Application: digikam (3.4.0)
KDE Platform Version: 4.12.0
Qt Version: 4.8.4
Operating System: Linux 3.11.0-15-generic x86_64
Distribution: Ubuntu 13.10

-- Information about the crash:
I started rebuilding all miniatures from all the collection
crashed at 15%

-- Backtrace:
Application: digiKam (digikam), signal: Aborted
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f2209aafac0 (LWP 2510))]

Thread 7 (Thread 0x7f21dfe73700 (LWP 2512)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f22041ef406 in wait (time=18446744073709551615, this=0x1c00b10) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1c00a20, mutex=mutex@entry=0x1c00a18, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5c4e in Digikam::ScanController::run (this=0x1bdc1a0) at /build/buildd/digikam-3.4.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f22041eef2f in QThreadPrivate::start (arg=0x1bdc1a0) at thread/qthread_unix.cpp:338
#5  0x00007f21f04f3764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f21fe759f6e in start_thread (arg=0x7f21dfe73700) at pthread_create.c:311
#7  0x00007f220340d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 6 (Thread 0x7f21df667700 (LWP 2513)):
#0  0x00007f2203400f7d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f21fbd2c6a4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f21fbd2c7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f220431ba76 in QEventDispatcherGlib::processEvents (this=0x7f21d00008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f22042ed5ef in QEventLoop::processEvents (this=this@entry=0x7f21df6669b0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f22042ed8e5 in QEventLoop::exec (this=this@entry=0x7f21df6669b0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f22041ec88f in QThread::exec (this=this@entry=0x1bfd570) at thread/qthread.cpp:542
#7  0x00007f22042ced13 in QInotifyFileSystemWatcherEngine::run (this=0x1bfd570) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f22041eef2f in QThreadPrivate::start (arg=0x1bfd570) at thread/qthread_unix.cpp:338
#9  0x00007f21f04f3764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#10 0x00007f21fe759f6e in start_thread (arg=0x7f21df667700) at pthread_create.c:311
#11 0x00007f220340d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f21dee5e700 (LWP 3540)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f22041ef406 in wait (time=18446744073709551615, this=0x1cdf200) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1bc7080, mutex=mutex@entry=0x1bc7078, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f220706916a in Digikam::ParkingThread::run (this=0x1bc7060) at /build/buildd/digikam-3.4.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f22041eef2f in QThreadPrivate::start (arg=0x1bc7060) at thread/qthread_unix.cpp:338
#5  0x00007f21f04f3764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f21fe759f6e in start_thread (arg=0x7f21dee5e700) at pthread_create.c:311
#7  0x00007f220340d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f21ca716700 (LWP 4373)):
#0  0x00007f2204234901 in QString::fromUtf8 (str=0x7f21de452d1e "Unable to fetch row", size=-1) at tools/qstring.cpp:4014
#1  0x00007f220481793e in KLocalePrivate::translateRawFrom (this=0x1bef980, catname=0x0, msgctxt=0x0, msgid=0x7f21de452d1e "Unable to fetch row", msgid_plural=0x0, n=0, language=0x7f21ca714f80, translation=0x7f21ca714f70) at ../../kdecore/localization/klocale_kde.cpp:923
#2  0x00007f2204818066 in KLocalePrivate::translateQt (this=0x1bef980, context=<optimized out>, sourceText=0x7f21de452d1e "Unable to fetch row", comment=<optimized out>) at ../../kdecore/localization/klocale_kde.cpp:1027
#3  0x00007f220480b5e1 in KLocale::translateQt (this=<optimized out>, context=context@entry=0x7f21de452c71 "QSQLiteResult", sourceText=sourceText@entry=0x7f21de452d1e "Unable to fetch row", comment=comment@entry=0x0) at ../../kdecore/localization/klocale.cpp:199
#4  0x00007f2204793101 in KDETranslator::translate (this=<optimized out>, context=0x7f21de452c71 "QSQLiteResult", sourceText=0x7f21de452d1e "Unable to fetch row", message=0x0) at ../../kdecore/kernel/kglobal_p.h:52
#5  0x00007f220430ceea in QTranslator::translate (this=<optimized out>, context=context@entry=0x7f21de452c71 "QSQLiteResult", sourceText=sourceText@entry=0x7f21de452d1e "Unable to fetch row", disambiguation=disambiguation@entry=0x0, n=n@entry=-1) at kernel/qtranslator.cpp:1029
#6  0x00007f22042eeddb in QCoreApplication::translate (context=context@entry=0x7f21de452c71 "QSQLiteResult", sourceText=sourceText@entry=0x7f21de452d1e "Unable to fetch row", disambiguation=disambiguation@entry=0x0, encoding=encoding@entry=QCoreApplication::CodecForTr, n=n@entry=-1) at kernel/qcoreapplication.cpp:1965
#7  0x00007f22042ef1bf in QCoreApplication::translate (context=context@entry=0x7f21de452c71 "QSQLiteResult", sourceText=sourceText@entry=0x7f21de452d1e "Unable to fetch row", disambiguation=disambiguation@entry=0x0, encoding=encoding@entry=QCoreApplication::CodecForTr) at kernel/qcoreapplication.cpp:1880
#8  0x00007f21de451752 in QSQLiteResultPrivate::fetchNext (this=this@entry=0x7f21b8ee4d40, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:303
#9  0x00007f21de451f28 in QSQLiteResult::exec (this=0x7f21b899d490) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:448
#10 0x00007f22096cbb7d in QSqlQuery::exec (this=this@entry=0x7f21ca715458) at kernel/qsqlquery.cpp:949
#11 0x00007f2207022396 in Digikam::DatabaseCoreBackend::exec (this=0x1bcead0, query=...) at /build/buildd/digikam-3.4.0/core/libs/database/core/databasecorebackend.cpp:1414
#12 0x00007f220702265e in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1bcead0, query=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam-3.4.0/core/libs/database/core/databasecorebackend.cpp:1085
#13 0x00007f2207023705 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1bcead0, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam-3.4.0/core/libs/database/core/databasecorebackend.cpp:1030
#14 0x00007f2207023759 in Digikam::DatabaseCoreBackend::execSql (this=0x1bcead0, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=..., values=values@entry=0x0, lastInsertId=lastInsertId@entry=0x7f21ca7154c0) at /build/buildd/digikam-3.4.0/core/libs/database/core/databasecorebackend.cpp:928
#15 0x00007f220702f590 in Digikam::ThumbnailDB::insertThumbnail (this=0x1a76590, info=..., lastInsertId=lastInsertId@entry=0x7f21ca715640) at /build/buildd/digikam-3.4.0/core/libs/database/core/thumbnaildb.cpp:260
#16 0x00007f2207053c08 in Digikam::ThumbnailCreator::storeInDatabase (this=this@entry=0x2fb2d20, info=..., image=...) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailcreator.cpp:755
#17 0x00007f2207055ca9 in Digikam::ThumbnailCreator::load (this=0x2fb2d20, path=..., rect=..., pregenerate=pregenerate@entry=false) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailcreator.cpp:267
#18 0x00007f2207056aa2 in Digikam::ThumbnailCreator::load (this=<optimized out>, path=...) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailcreator.cpp:199
#19 0x00007f2207065107 in Digikam::ThumbnailLoadingTask::execute (this=0x7f217abe35f0) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailtask.cpp:172
#20 0x00007f220703d436 in Digikam::LoadSaveThread::run (this=0x2fb29d0) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/loadsavethread.cpp:136
#21 0x00007f220706afae in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x2fb2ad0) at /build/buildd/digikam-3.4.0/core/libs/threads/dynamicthread.cpp:186
#22 0x00007f22041e27ae in QThreadPoolThread::run (this=0x3a53e30) at concurrent/qthreadpool.cpp:107
#23 0x00007f22041eef2f in QThreadPrivate::start (arg=0x3a53e30) at thread/qthread_unix.cpp:338
#24 0x00007f21f04f3764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#25 0x00007f21fe759f6e in start_thread (arg=0x7f21ca716700) at pthread_create.c:311
#26 0x00007f220340d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f21c17fa700 (LWP 4525)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f22041ef406 in wait (time=18446744073709551615, this=0x65eb310) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x625cdb0, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f22074ba5b1 in KDcrawIface::RActionThreadBase::run() () from /usr/lib/libkdcraw.so.22
#4  0x00007f22041eef2f in QThreadPrivate::start (arg=0x6c63400) at thread/qthread_unix.cpp:338
#5  0x00007f21f04f3764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f21fe759f6e in start_thread (arg=0x7f21c17fa700) at pthread_create.c:311
#7  0x00007f220340d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f21bf7f6700 (LWP 4526)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f22041ef406 in wait (time=18446744073709551615, this=0x65611a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x6560d90, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f220705a974 in Digikam::ThumbnailImageCatcher::waitForThumbnails (this=0x6561090) at /build/buildd/digikam-3.4.0/core/libs/threadimageio/thumbnailloadthread.cpp:1187
#4  0x000000000051c6e6 in Digikam::ThumbsTask::run (this=0x6560f10) at /build/buildd/digikam-3.4.0/core/utilities/maintenance/thumbstask.cpp:84
#5  0x00007f2208118cb2 in ThreadWeaver::JobRunHelper::runTheJob (this=this@entry=0x7f21bf7f5990, th=th@entry=0x7f21880462c0, job=job@entry=0x6560f10) at ../../../threadweaver/Weaver/Job.cpp:106
#6  0x00007f2208118e6e in ThreadWeaver::Job::execute (this=0x6560f10, th=0x7f21880462c0) at ../../../threadweaver/Weaver/Job.cpp:135
#7  0x00007f220811a90b in ThreadWeaver::JobCollectionJobRunner::execute (this=0x6561400, t=0x7f21880462c0) at ../../../threadweaver/Weaver/JobCollection.cpp:82
#8  0x00007f22081186bb in ThreadWeaver::Thread::run (this=0x7f21880462c0) at ../../../threadweaver/Weaver/Thread.cpp:108
#9  0x00007f22041eef2f in QThreadPrivate::start (arg=0x7f21880462c0) at thread/qthread_unix.cpp:338
#10 0x00007f21f04f3764 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#11 0x00007f21fe759f6e in start_thread (arg=0x7f21bf7f6700) at pthread_create.c:311
#12 0x00007f220340d9cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f2209aafac0 (LWP 2510)):
[KCrash Handler]
#6  0x00007f2203349f77 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#7  0x00007f220334d5e8 in __GI_abort () at abort.c:90
#8  0x00007f2203342d43 in __assert_fail_base (fmt=0x7f2209a5ce3a "%s%s%s\302\240:%u\302\240:\302\240%s%s l'assertion \302\253\302\240%s\302\240\302\273 a \303\251chou\303\251.\n%n", assertion=assertion@entry=0x7f2201974550 "!xcb_xlib_threads_sequence_lost", file=file@entry=0x7f220197439b "../../src/xcb_io.c", line=line@entry=274, function=function@entry=0x7f2201974856 <__PRETTY_FUNCTION__.14361> "poll_for_event") at assert.c:92
#9  0x00007f2203342df2 in __GI___assert_fail (assertion=assertion@entry=0x7f2201974550 "!xcb_xlib_threads_sequence_lost", file=file@entry=0x7f220197439b "../../src/xcb_io.c", line=line@entry=274, function=function@entry=0x7f2201974856 <__PRETTY_FUNCTION__.14361> "poll_for_event") at assert.c:101
#10 0x00007f2201904ca9 in poll_for_event (dpy=dpy@entry=0x1a615b0) at ../../src/xcb_io.c:271
#11 0x00007f2201904d3e in poll_for_response (dpy=dpy@entry=0x1a615b0) at ../../src/xcb_io.c:289
#12 0x00007f220190501d in _XEventsQueued (dpy=dpy@entry=0x1a615b0, mode=mode@entry=2) at ../../src/xcb_io.c:363
#13 0x00007f22018f712b in XEventsQueued (dpy=0x1a615b0, mode=2) at ../../src/Pending.c:43
#14 0x00007f2204d8144c in x11EventSourceCheck (s=0x1a2fb60) at kernel/qguieventdispatcher_glib.cpp:85
#15 0x00007f21fbd2c121 in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007f21fbd2c63b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007f21fbd2c7ac in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007f220431ba76 in QEventDispatcherGlib::processEvents (this=0x1969490, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#19 0x00007f2204d819d6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#20 0x00007f22042ed5ef in QEventLoop::processEvents (this=this@entry=0x7fff80bbf4f0, flags=...) at kernel/qeventloop.cpp:149
#21 0x00007f22042ed8e5 in QEventLoop::exec (this=this@entry=0x7fff80bbf4f0, flags=...) at kernel/qeventloop.cpp:204
#22 0x00007f22042f2e5b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#23 0x00007f2204cde34c in QApplication::exec () at kernel/qapplication.cpp:3828
#24 0x0000000000491ef3 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.4.0/core/digikam/main/main.cpp:235

Possible duplicates by query: bug 328239, bug 326959, bug 315521.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-01-11 09:05:00 UTC

*** This bug has been marked as a duplicate of bug 326959 ***
Comment 2 caulier.gilles 2021-05-08 07:47:55 UTC
Fixed with bug #326959