Bug 353236 - digiKam dies after tagging multiple files
Summary: digiKam dies after tagging multiple files
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Unclassified
Component: Database-Sqlite (show other bugs)
Version: 4.7.0
Platform: Ubuntu Packages Linux
: NOR crash (vote)
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-09-27 13:33 UTC by Kristofer Rickheden Gustavsson
Modified: 2020-07-26 12:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.1.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kristofer Rickheden Gustavsson 2015-09-27 13:33:56 UTC
Application: digikam (4.7.0)
KDE Platform Version: 4.14.6
Qt Version: 4.8.6
Operating System: Linux 3.19.0-28-generic x86_64
Distribution: Ubuntu 15.04

-- Information about the crash:
- What I was doing when the application crashed:
Whenever I select a bunch of photos and apply a tag to them (let's say I wanna tag them with the tag sunny beach) Digikam tags the files, then a second later after tagging is complete digikam dies. When I open Digikam again all files are tagged, but any program settings I have made during the last session are gone.

The crash can be reproduced every time.

-- Backtrace:
Application: Digikam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7fd251ffcac0 (LWP 20380))]

Thread 10 (Thread 0x7fd2265c6700 (LWP 20385)):
#0  __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007fd2480d6d82 in __GI___pthread_mutex_lock (mutex=0x7fd1d004c778) at ../nptl/pthread_mutex_lock.c:115
#2  0x00007fd23643cf73 in sqlite3Close (db=0x7fd1d0279318, forceZombie=0) at sqlite3.c:125831
#3  0x00007fd22457e5b8 in QSQLiteDriver::close (this=0x7fd1c81f99e0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:589
#4  0x00007fd22457cb6e in QSQLiteDriver::open (this=0x7fd1c81f99e0, db=..., conOpts=...) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:548
#5  0x00007fd251c2b2a4 in QSqlDatabase::open (this=this@entry=0x7fd2265c4c50) at kernel/qsqldatabase.cpp:839
#6  0x00007fd24783326b in fileMappingDb (path=...) at ../../../../src/file/lib/db.cpp:50
#7  0x00007fd247833c65 in fileMappingDb () at ../../../../src/file/lib/db.cpp:39
#8  0x00007fd24782c9d9 in Baloo::FileFetchJob::doStart (this=0x7fd22002c730) at ../../../../src/file/lib/filefetchjob.cpp:107
#9  0x00007fd24bb958e1 in QObject::event (this=0x7fd22002c730, e=<optimized out>) at kernel/qobject.cpp:1222
#10 0x00007fd24c7cf9bc in QApplicationPrivate::notify_helper (this=this@entry=0xe27180, receiver=receiver@entry=0x7fd22002c730, e=e@entry=0x7fd220549fc0) at kernel/qapplication.cpp:4570
#11 0x00007fd24c7d64d8 in QApplication::notify (this=this@entry=0x7ffc56601c30, receiver=receiver@entry=0x7fd22002c730, e=e@entry=0x7fd220549fc0) at kernel/qapplication.cpp:4356
#12 0x00007fd24d531b4a in KApplication::notify (this=0x7ffc56601c30, receiver=0x7fd22002c730, event=0x7fd220549fc0) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007fd24bb7c1cd in QCoreApplication::notifyInternal (this=0x7ffc56601c30, receiver=receiver@entry=0x7fd22002c730, event=event@entry=0x7fd220549fc0) at kernel/qcoreapplication.cpp:955
#14 0x00007fd24bb7fa71 in sendEvent (event=0x7fd220549fc0, receiver=0x7fd22002c730) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xf89b80) at kernel/qcoreapplication.cpp:1579
#16 0x00007fd24bb7ff03 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#17 0x00007fd24bbab6ee in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#18 postEventSourceDispatch (s=0x7fd2200012e0) at kernel/qeventdispatcher_glib.cpp:300
#19 0x00007fd24414bc3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fd24414bf20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fd24414bfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fd24bbab85e in QEventDispatcherGlib::processEvents (this=0x7fd2200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#23 0x00007fd24bb7ad21 in QEventLoop::processEvents (this=this@entry=0x7fd2265c5390, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007fd24bb7b085 in QEventLoop::exec (this=0x7fd2265c5390, flags=...) at kernel/qeventloop.cpp:204
#25 0x00007fd24c0137d3 in KJob::exec (this=this@entry=0x7fd22002c730) at ../../kdecore/jobs/kjob.cpp:210
#26 0x00007fd24f70b3e4 in Digikam::BalooWrap::getSemanticInfo (this=this@entry=0x1116c10, url=...) at /build/buildd/digikam-4.7.0/core/utilities/baloo/baloowrap.cpp:158
#27 0x00007fd24f68d77d in Digikam::ImageScanner::scanBalooInfo (this=this@entry=0x7fd2265c5660) at /build/buildd/digikam-4.7.0/core/libs/database/imagescanner.cpp:1824
#28 0x00007fd24f68ddc7 in Digikam::ImageScanner::scanFile (this=this@entry=0x7fd2265c5660, mode=mode@entry=Digikam::ImageScanner::NewScan) at /build/buildd/digikam-4.7.0/core/libs/database/imagescanner.cpp:484
#29 0x00007fd24f68e6e0 in Digikam::ImageScanner::newFile (this=this@entry=0x7fd2265c5660, albumId=albumId@entry=0) at /build/buildd/digikam-4.7.0/core/libs/database/imagescanner.cpp:290
#30 0x00007fd24f61f0e6 in Digikam::CollectionScanner::scanNewFile (this=this@entry=0x7fd2265c5ad0, info=..., albumId=0) at /build/buildd/digikam-4.7.0/core/libs/database/collectionscanner.cpp:1247
#31 0x00007fd24f6227c2 in Digikam::CollectionScanner::scanAlbum (this=this@entry=0x7fd2265c5ad0, location=..., album=...) at /build/buildd/digikam-4.7.0/core/libs/database/collectionscanner.cpp:1089
#32 0x00007fd24f62375c in Digikam::CollectionScanner::partialScan (this=this@entry=0x7fd2265c5ad0, albumRoot=..., album=...) at /build/buildd/digikam-4.7.0/core/libs/database/collectionscanner.cpp:691
#33 0x00007fd24f6239bc in Digikam::CollectionScanner::partialScan (this=this@entry=0x7fd2265c5ad0, filePath=...) at /build/buildd/digikam-4.7.0/core/libs/database/collectionscanner.cpp:617
#34 0x00000000005e9521 in Digikam::ScanController::run (this=0xef99c0) at /build/buildd/digikam-4.7.0/core/app/database/scancontroller.cpp:798
#35 0x00007fd24ba716ff in QThreadPrivate::start (arg=0xef99c0) at thread/qthread_unix.cpp:349
#36 0x00007fd2480d46aa in start_thread (arg=0x7fd2265c6700) at pthread_create.c:333
#37 0x00007fd24af8feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 9 (Thread 0x7fd225dc5700 (LWP 20386)):
#0  0x00007fd24af8049d in read () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fd24418f2f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd24414b96c in g_main_context_check () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd24414be60 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fd24414bfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fd24bbab87e in QEventDispatcherGlib::processEvents (this=0x7fd2180008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#6  0x00007fd24bb7ad21 in QEventLoop::processEvents (this=this@entry=0x7fd225dc4ac0, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fd24bb7b085 in QEventLoop::exec (this=this@entry=0x7fd225dc4ac0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fd24ba6ee89 in QThread::exec (this=this@entry=0xf7f600) at thread/qthread.cpp:538
#9  0x00007fd24bb5b493 in QInotifyFileSystemWatcherEngine::run (this=0xf7f600) at io/qfilesystemwatcher_inotify.cpp:265
#10 0x00007fd24ba716ff in QThreadPrivate::start (arg=0xf7f600) at thread/qthread_unix.cpp:349
#11 0x00007fd2480d46aa in start_thread (arg=0x7fd225dc5700) at pthread_create.c:333
#12 0x00007fd24af8feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 8 (Thread 0x7fd2255c4700 (LWP 20410)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd24ba71c56 in wait (time=18446744073709551615, this=0x1277620) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x12742e0, mutex=mutex@entry=0x12742d8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd24fccc189 in Digikam::ParkingThread::run (this=0x12742c0) at /build/buildd/digikam-4.7.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fd24ba716ff in QThreadPrivate::start (arg=0x12742c0) at thread/qthread_unix.cpp:349
#5  0x00007fd2480d46aa in start_thread (arg=0x7fd2255c4700) at pthread_create.c:333
#6  0x00007fd24af8feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 7 (Thread 0x7fd217b8e700 (LWP 20411)):
#0  0x00007fd24bbab25a in testAndSetOrdered (newValue=1, expectedValue=0, this=0x135d5a0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:145
#1  testAndSetAcquire (newValue=1, expectedValue=0, this=0x135d5a0) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:267
#2  tryLockInline (this=0x135d558) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:181
#3  lockInline (this=0x135d558) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:189
#4  QMutexLocker (m=0x135d558, this=<synthetic pointer>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:109
#5  canWaitLocked (this=0x135d510) at ../../include/QtCore/private/../../../src/corelib/thread/qthread_p.h:228
#6  postEventSourcePrepare (s=0x7fd2100012e0, timeout=0x7fd217b8d8f4) at kernel/qeventdispatcher_glib.cpp:279
#7  0x00007fd24414b3fd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007fd24414bde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fd24414bfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fd24bbab87e in QEventDispatcherGlib::processEvents (this=0x7fd2100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#11 0x00007fd24bb7ad21 in QEventLoop::processEvents (this=this@entry=0x7fd217b8dac0, flags=...) at kernel/qeventloop.cpp:149
#12 0x00007fd24bb7b085 in QEventLoop::exec (this=this@entry=0x7fd217b8dac0, flags=...) at kernel/qeventloop.cpp:204
#13 0x00007fd24ba6ee89 in QThread::exec (this=this@entry=0x135d360) at thread/qthread.cpp:538
#14 0x00007fd24bb5b493 in QInotifyFileSystemWatcherEngine::run (this=0x135d360) at io/qfilesystemwatcher_inotify.cpp:265
#15 0x00007fd24ba716ff in QThreadPrivate::start (arg=0x135d360) at thread/qthread_unix.cpp:349
#16 0x00007fd2480d46aa in start_thread (arg=0x7fd217b8e700) at pthread_create.c:333
#17 0x00007fd24af8feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7fd1e6ffd700 (LWP 2089)):
#0  0x00007ffc567dacee in clock_gettime ()
#1  0x00007fd24af9e38d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fd24bac8ac5 in do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007fd24bbac695 in updateCurrentTime (this=0x7fd1e00033a0) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7fd1e00033a0, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x00007fd24bbaaf3c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fd1e6ffc8c4) at kernel/qeventdispatcher_glib.cpp:143
#7  0x00007fd24bbab005 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#8  0x00007fd24414b3fd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fd24414bde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fd24414bfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fd24bbab87e in QEventDispatcherGlib::processEvents (this=0x7fd1e003ab80, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#12 0x00007fd24bb7ad21 in QEventLoop::processEvents (this=this@entry=0x7fd1e6ffca90, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fd24bb7b085 in QEventLoop::exec (this=this@entry=0x7fd1e6ffca90, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fd24fccb7f3 in Digikam::WorkerObjectRunnable::run (this=0x1117430) at /build/buildd/digikam-4.7.0/core/libs/threads/threadmanager.cpp:196
#15 0x00007fd24ba64b70 in QThreadPoolThread::run (this=0x27bbd30) at concurrent/qthreadpool.cpp:108
#16 0x00007fd24ba716ff in QThreadPrivate::start (arg=0x27bbd30) at thread/qthread_unix.cpp:349
#17 0x00007fd2480d46aa in start_thread (arg=0x7fd1e6ffd700) at pthread_create.c:333
#18 0x00007fd24af8feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7fd1fd7fa700 (LWP 2102)):
[KCrash Handler]
#6  0x0000000000000048 in ?? ()
#7  0x00007fd2364030d0 in vdbeMemClearExternAndSetNull (p=0x7fd1d020e6c8) at sqlite3.c:62041
#8  0x00007fd23640342d in vdbeMemClear (p=0x7fd1d020e6c8) at sqlite3.c:62062
#9  0x00007fd236403441 in sqlite3VdbeMemRelease (p=p@entry=0x7fd1d020e6c8) at sqlite3.c:62084
#10 0x00007fd236408769 in releaseMemArray (p=0x7fd1d020e6c8, N=<optimized out>) at sqlite3.c:64506
#11 0x00007fd23640898d in releaseMemArray (N=<optimized out>, p=<optimized out>) at sqlite3.c:65929
#12 sqlite3VdbeClearObject (db=0x7fd1d00001a8, p=0x7fd1d12108c8) at sqlite3.c:382
#13 0x00007fd2364089bc in sqlite3VdbeDelete (p=0x7fd1d12108c8) at sqlite3.c:65941
#14 0x00007fd23643df16 in sqlite3VdbeFinalize (p=p@entry=0x7fd1d12108c8) at sqlite3.c:65867
#15 0x00007fd23643df57 in sqlite3_finalize (pStmt=0x7fd1d12108c8) at sqlite3.c:67404
#16 0x00007fd22457e585 in finalize (this=0x7fd1d0279120) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:154
#17 QSQLiteDriver::close (this=0x7fd1c81f99e0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:587
#18 0x00007fd22457cb6e in QSQLiteDriver::open (this=0x7fd1c81f99e0, db=..., conOpts=...) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:548
#19 0x00007fd251c2b2a4 in QSqlDatabase::open (this=this@entry=0x7fd1fd7f92b0) at kernel/qsqldatabase.cpp:839
#20 0x00007fd24783326b in fileMappingDb (path=...) at ../../../../src/file/lib/db.cpp:50
#21 0x00007fd247833c65 in fileMappingDb () at ../../../../src/file/lib/db.cpp:39
#22 0x00007fd24782ea1f in Baloo::FileModifyJob::doStart (this=0x7fd1c80d5130) at ../../../../src/file/lib/filemodifyjob.cpp:113
#23 0x00007fd24bb958e1 in QObject::event (this=0x7fd1c80d5130, e=<optimized out>) at kernel/qobject.cpp:1222
#24 0x00007fd24c7cf9bc in QApplicationPrivate::notify_helper (this=this@entry=0xe27180, receiver=receiver@entry=0x7fd1c80d5130, e=e@entry=0x7fd1c80d5220) at kernel/qapplication.cpp:4570
#25 0x00007fd24c7d64d8 in QApplication::notify (this=this@entry=0x7ffc56601c30, receiver=receiver@entry=0x7fd1c80d5130, e=e@entry=0x7fd1c80d5220) at kernel/qapplication.cpp:4356
#26 0x00007fd24d531b4a in KApplication::notify (this=0x7ffc56601c30, receiver=0x7fd1c80d5130, event=0x7fd1c80d5220) at ../../kdeui/kernel/kapplication.cpp:311
#27 0x00007fd24bb7c1cd in QCoreApplication::notifyInternal (this=0x7ffc56601c30, receiver=receiver@entry=0x7fd1c80d5130, event=event@entry=0x7fd1c80d5220) at kernel/qcoreapplication.cpp:955
#28 0x00007fd24bb7fa71 in sendEvent (event=0x7fd1c80d5220, receiver=0x7fd1c80d5130) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x27bc500) at kernel/qcoreapplication.cpp:1579
#30 0x00007fd24bb7ff03 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#31 0x00007fd24bbab6ee in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#32 postEventSourceDispatch (s=0x7fd1c81e6ea0) at kernel/qeventdispatcher_glib.cpp:300
#33 0x00007fd24414bc3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007fd24414bf20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fd24414bfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fd24bbab85e in QEventDispatcherGlib::processEvents (this=0x7fd1c80144b0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#37 0x00007fd24bb7ad21 in QEventLoop::processEvents (this=this@entry=0x7fd1fd7f9a90, flags=...) at kernel/qeventloop.cpp:149
#38 0x00007fd24bb7b085 in QEventLoop::exec (this=this@entry=0x7fd1fd7f9a90, flags=...) at kernel/qeventloop.cpp:204
#39 0x00007fd24fccb7f3 in Digikam::WorkerObjectRunnable::run (this=0x7fd1e0058760) at /build/buildd/digikam-4.7.0/core/libs/threads/threadmanager.cpp:196
#40 0x00007fd24ba64b70 in QThreadPoolThread::run (this=0x27bc360) at concurrent/qthreadpool.cpp:108
#41 0x00007fd24ba716ff in QThreadPrivate::start (arg=0x27bc360) at thread/qthread_unix.cpp:349
#42 0x00007fd2480d46aa in start_thread (arg=0x7fd1fd7fa700) at pthread_create.c:333
#43 0x00007fd24af8feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7fd1e7fff700 (LWP 2105)):
#0  __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1  0x00007fd2480d6d82 in __GI___pthread_mutex_lock (mutex=0x7fd1d004c778) at ../nptl/pthread_mutex_lock.c:115
#2  0x00007fd23643cf73 in sqlite3Close (db=0x7fd1d0279318, forceZombie=0) at sqlite3.c:125831
#3  0x00007fd22457e5b8 in QSQLiteDriver::close (this=0x7fd1c81f99e0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:589
#4  0x00007fd22457cb6e in QSQLiteDriver::open (this=0x7fd1c81f99e0, db=..., conOpts=...) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:548
#5  0x00007fd251c2b2a4 in QSqlDatabase::open (this=this@entry=0x7fd1e7ffe2b0) at kernel/qsqldatabase.cpp:839
#6  0x00007fd24783326b in fileMappingDb (path=...) at ../../../../src/file/lib/db.cpp:50
#7  0x00007fd247833c65 in fileMappingDb () at ../../../../src/file/lib/db.cpp:39
#8  0x00007fd24782ea1f in Baloo::FileModifyJob::doStart (this=0x7fd1d13686c0) at ../../../../src/file/lib/filemodifyjob.cpp:113
#9  0x00007fd24bb958e1 in QObject::event (this=0x7fd1d13686c0, e=<optimized out>) at kernel/qobject.cpp:1222
#10 0x00007fd24c7cf9bc in QApplicationPrivate::notify_helper (this=this@entry=0xe27180, receiver=receiver@entry=0x7fd1d13686c0, e=e@entry=0x7fd1d026da30) at kernel/qapplication.cpp:4570
#11 0x00007fd24c7d64d8 in QApplication::notify (this=this@entry=0x7ffc56601c30, receiver=receiver@entry=0x7fd1d13686c0, e=e@entry=0x7fd1d026da30) at kernel/qapplication.cpp:4356
#12 0x00007fd24d531b4a in KApplication::notify (this=0x7ffc56601c30, receiver=0x7fd1d13686c0, event=0x7fd1d026da30) at ../../kdeui/kernel/kapplication.cpp:311
#13 0x00007fd24bb7c1cd in QCoreApplication::notifyInternal (this=0x7ffc56601c30, receiver=receiver@entry=0x7fd1d13686c0, event=event@entry=0x7fd1d026da30) at kernel/qcoreapplication.cpp:955
#14 0x00007fd24bb7fa71 in sendEvent (event=0x7fd1d026da30, receiver=0x7fd1d13686c0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#15 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x27b4640) at kernel/qcoreapplication.cpp:1579
#16 0x00007fd24bb7ff03 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1472
#17 0x00007fd24bbab6ee in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#18 postEventSourceDispatch (s=0x7fd1d0003000) at kernel/qeventdispatcher_glib.cpp:300
#19 0x00007fd24414bc3d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fd24414bf20 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fd24414bfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fd24bbab85e in QEventDispatcherGlib::processEvents (this=0x7fd1d0015d60, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#23 0x00007fd24bb7ad21 in QEventLoop::processEvents (this=this@entry=0x7fd1e7ffea90, flags=...) at kernel/qeventloop.cpp:149
#24 0x00007fd24bb7b085 in QEventLoop::exec (this=this@entry=0x7fd1e7ffea90, flags=...) at kernel/qeventloop.cpp:204
#25 0x00007fd24fccb7f3 in Digikam::WorkerObjectRunnable::run (this=0x7fd1e0058330) at /build/buildd/digikam-4.7.0/core/libs/threads/threadmanager.cpp:196
#26 0x00007fd24ba64b70 in QThreadPoolThread::run (this=0x27b44a0) at concurrent/qthreadpool.cpp:108
#27 0x00007fd24ba716ff in QThreadPrivate::start (arg=0x27b44a0) at thread/qthread_unix.cpp:349
#28 0x00007fd2480d46aa in start_thread (arg=0x7fd1e7fff700) at pthread_create.c:333
#29 0x00007fd24af8feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fd2059c9700 (LWP 2111)):
#0  0x00007ffc567dacee in clock_gettime ()
#1  0x00007fd24af9e38d in __GI___clock_gettime (clock_id=<optimized out>, tp=<optimized out>) at ../sysdeps/unix/clock_gettime.c:115
#2  0x00007fd24bac8ac5 in do_gettime (frac=<synthetic pointer>, sec=<synthetic pointer>) at tools/qelapsedtimer_unix.cpp:127
#3  qt_gettime () at tools/qelapsedtimer_unix.cpp:144
#4  0x00007fd24bbac695 in updateCurrentTime (this=0x7fd1ec035660) at kernel/qeventdispatcher_unix.cpp:354
#5  QTimerInfoList::timerWait (this=0x7fd1ec035660, tm=...) at kernel/qeventdispatcher_unix.cpp:460
#6  0x00007fd24bbaaf3c in timerSourcePrepareHelper (src=<optimized out>, timeout=0x7fd2059c88c4) at kernel/qeventdispatcher_glib.cpp:143
#7  0x00007fd24bbab005 in timerSourcePrepare (source=<optimized out>, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:176
#8  0x00007fd24414b3fd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007fd24414bde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007fd24414bfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007fd24bbab87e in QEventDispatcherGlib::processEvents (this=0x7fd1ec0252b0, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#12 0x00007fd24bb7ad21 in QEventLoop::processEvents (this=this@entry=0x7fd2059c8a90, flags=...) at kernel/qeventloop.cpp:149
#13 0x00007fd24bb7b085 in QEventLoop::exec (this=this@entry=0x7fd2059c8a90, flags=...) at kernel/qeventloop.cpp:204
#14 0x00007fd24fccb7f3 in Digikam::WorkerObjectRunnable::run (this=0x97881d0) at /build/buildd/digikam-4.7.0/core/libs/threads/threadmanager.cpp:196
#15 0x00007fd24ba64b70 in QThreadPoolThread::run (this=0x27b4ad0) at concurrent/qthreadpool.cpp:108
#16 0x00007fd24ba716ff in QThreadPrivate::start (arg=0x27b4ad0) at thread/qthread_unix.cpp:349
#17 0x00007fd2480d46aa in start_thread (arg=0x7fd2059c9700) at pthread_create.c:333
#18 0x00007fd24af8feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fd1feffd700 (LWP 3237)):
#0  0x00007fd2363fcbb3 in yy_find_shift_action (pParser=0x7fd1d82d61a8, iLookAhead=<optimized out>) at sqlite3.c:121831
#1  0x00007fd236457d23 in sqlite3Parser (yyp=0x7fd1d82d61a8, yymajor=26, yyminor=..., pParse=0x22f, pParse@entry=0x7fd1d825e0b8) at sqlite3.c:123705
#2  0x00007fd23645dc67 in sqlite3RunParser (pParse=pParse@entry=0x7fd1d825e0b8, zSql=zSql@entry=0x7fd1d8267508 "INSERT INTO Thumbnails (type, modificationDate, orientationHint, data) VALUES (?, ?, ?, ?);", pzErrMsg=pzErrMsg@entry=0x7fd1feffc180) at sqlite3.c:124536
#3  0x00007fd23645e2f2 in sqlite3Prepare (db=0x7fd1d80596f8, zSql=0x7fd1d8267508 "INSERT INTO Thumbnails (type, modificationDate, orientationHint, data) VALUES (?, ?, ?, ?);", nBytes=-1, saveSqlFlag=1, pReprepare=<optimized out>, ppStmt=0x7fd1d82b0000, pzTail=0x7fd1feffc250) at sqlite3.c:103830
#4  0x00007fd23645e667 in sqlite3LockAndPrepare (db=0x7fd1d80596f8, zSql=0x1a <error: Cannot access memory at address 0x1a>, nBytes=-1, saveSqlFlag=1, pOld=0x0, ppStmt=0x7fd1d82b0000, pzTail=0x7fd1feffc250) at sqlite3.c:103922
#5  0x00007fd236474825 in sqlite3Prepare16 (db=0x7fd1d80596f8, zSql=0x7fd1d82c418a, nBytes=-668568312, saveSqlFlag=1, ppStmt=0x7fd1d82b0000, pzTail=0x7fd1feffc2a8) at sqlite3.c:104038
#6  0x00007fd22457b7f8 in QSQLiteResult::prepare (this=0x7fd1d8047e20, query=...) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:359
#7  0x00007fd251c36674 in QSqlResult::savePrepare (this=0x7fd1d8047e20, query=...) at kernel/qsqlresult.cpp:601
#8  0x00007fd251c29c44 in QSqlQuery::prepare (this=this@entry=0x7fd1feffc468, query=...) at kernel/qsqlquery.cpp:930
#9  0x00007fd24fc937e3 in Digikam::SqlQuery::prepare (this=this@entry=0x7fd1feffc460, query=...) at /build/buildd/digikam-4.7.0/core/libs/database/core/sqlquery.cpp:52
#10 0x00007fd24fc7da8a in Digikam::DatabaseCoreBackend::prepareQuery (this=this@entry=0xfcb2b0, sql=...) at /build/buildd/digikam-4.7.0/core/libs/database/core/databasecorebackend.cpp:1483
#11 0x00007fd24fc7df8c in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0xfcb2b0, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=...) at /build/buildd/digikam-4.7.0/core/libs/database/core/databasecorebackend.cpp:1035
#12 0x00007fd24fc7e017 in Digikam::DatabaseCoreBackend::execSql (this=0xfcb2b0, sql=..., boundValue1=..., boundValue2=..., boundValue3=..., boundValue4=..., values=0x0, lastInsertId=0x7fd1feffc590) at /build/buildd/digikam-4.7.0/core/libs/database/core/databasecorebackend.cpp:937
#13 0x00007fd24fc89c4e in Digikam::ThumbnailDB::insertThumbnail (this=0x10bd620, info=..., lastInsertId=lastInsertId@entry=0x7fd1feffc720) at /build/buildd/digikam-4.7.0/core/libs/database/core/thumbnaildb.cpp:260
#14 0x00007fd24fcb2c90 in Digikam::ThumbnailCreator::storeInDatabase (this=this@entry=0x1d00cf0, info=..., image=...) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailcreator.cpp:809
#15 0x00007fd24fcb5bf6 in Digikam::ThumbnailCreator::load (this=0x1d00cf0, identifier=..., rect=..., pregenerate=pregenerate@entry=false) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailcreator.cpp:285
#16 0x00007fd24fcb6342 in Digikam::ThumbnailCreator::load (this=<optimized out>, identifier=...) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailcreator.cpp:196
#17 0x00007fd24fcc4fae in Digikam::ThumbnailLoadingTask::execute (this=0xaccaae0) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailtask.cpp:172
#18 0x00007fd24fc993ce in Digikam::LoadSaveThread::run (this=0x1d00980) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/loadsavethread.cpp:136
#19 0x00007fd24fccf10e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x1d00a80) at /build/buildd/digikam-4.7.0/core/libs/threads/dynamicthread.cpp:186
#20 0x00007fd24ba64b70 in QThreadPoolThread::run (this=0x27bcfc0) at concurrent/qthreadpool.cpp:108
#21 0x00007fd24ba716ff in QThreadPrivate::start (arg=0x27bcfc0) at thread/qthread_unix.cpp:349
#22 0x00007fd2480d46aa in start_thread (arg=0x7fd1feffd700) at pthread_create.c:333
#23 0x00007fd24af8feed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fd251ffcac0 (LWP 20380)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fd24ba71c56 in wait (time=18446744073709551615, this=0x1d00b00) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1d00ab0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd24fccd758 in Digikam::DynamicThread::wait (this=this@entry=0x1d00980, locker=...) at /build/buildd/digikam-4.7.0/core/libs/threads/dynamicthread.cpp:351
#4  0x00007fd24fccd7e4 in Digikam::DynamicThread::shutDown (this=this@entry=0x1d00980) at /build/buildd/digikam-4.7.0/core/libs/threads/dynamicthread.cpp:222
#5  0x00007fd24fc9cde4 in Digikam::ManagedLoadSaveThread::shutDown (this=this@entry=0x1d00980) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/managedloadsavethread.cpp:94
#6  0x00007fd24fcb80af in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread (this=0x1d00980, __in_chrg=<optimized out>) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailloadthread.cpp:177
#7  0x00007fd24fcb83ca in ~ThumbnailLoadThread (this=0x1d00980, __in_chrg=<optimized out>) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailloadthread.cpp:180
#8  destroy () at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailloadthread.cpp:153
#9  0x00007fd24aec2d32 in __run_exit_handlers (status=1, listp=0x7fd24b24d698 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#10 0x00007fd24aec2d85 in __GI_exit (status=<optimized out>) at exit.c:104
#11 0x00007fd24c83b488 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:782
#12 0x00007fd24d5305a0 in KApplication::xioErrhandler (this=0x7ffc56601c30, dpy=0xe654b0) at ../../kdeui/kernel/kapplication.cpp:419
#13 0x00007fd24997088e in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007fd24996e1fd in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007fd249960190 in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#16 0x00007fd24c877727 in x11EventSourcePrepare (s=0xe403d0, timeout=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:77
#17 0x00007fd24414b3fd in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007fd24414bde8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fd24414bfcc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fd24bbab85e in QEventDispatcherGlib::processEvents (this=0xd72ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:450
#21 0x00007fd24c877c66 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#22 0x00007fd24bb7ad21 in QEventLoop::processEvents (this=this@entry=0x7ffc56601720, flags=...) at kernel/qeventloop.cpp:149
#23 0x00007fd24bb7b085 in QEventLoop::exec (this=this@entry=0x7ffc56601720, flags=...) at kernel/qeventloop.cpp:204
#24 0x00007fd24bb80b09 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#25 0x00007fd24c7cdc1c in QApplication::exec () at kernel/qapplication.cpp:3828
#26 0x00000000004967a6 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-4.7.0/core/app/main/main.cpp:237

Reported using DrKonqi
Comment 1 caulier.gilles 2015-09-27 20:33:38 UTC

*** This bug has been marked as a duplicate of bug 351400 ***
Comment 2 caulier.gilles 2020-07-26 12:33:20 UTC
Fixed with #351400