Bug 344216 - digiKam crashed while creating tag
Summary: digiKam crashed while creating tag
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 4.7.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-02-16 01:55 UTC by Fernando Selles
Modified: 2021-04-04 08:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.3.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando Selles 2015-02-16 01:55:59 UTC
Application: digikam (4.7.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-45-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
Just upgraded to version 4.7.0.
Creating a new tag while browsing an album.
No other tag selected at the 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 ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
[Current thread is 1 (Thread 0x7feb4cf67ac0 (LWP 4911))]

Thread 7 (Thread 0x7feb24b9c700 (LWP 4916)):
#0  0x00007feb45b25cbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007feb296d2248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007feb42cc6182 in start_thread (arg=0x7feb24b9c700) at pthread_create.c:312
#3  0x00007feb45b3300d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7feb1a3dc700 (LWP 4918)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007feb4660e816 in wait (time=18446744073709551615, this=0x27f8a50) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2854cf0, mutex=mutex@entry=0x2854ce8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005db0de in Digikam::ScanController::run (this=0x272b9d0) at /build/buildd/digikam-4.7.0/core/app/database/scancontroller.cpp:725
#4  0x00007feb4660e32f in QThreadPrivate::start (arg=0x272b9d0) at thread/qthread_unix.cpp:349
#5  0x00007feb42cc6182 in start_thread (arg=0x7feb1a3dc700) at pthread_create.c:312
#6  0x00007feb45b3300d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7feb19bdb700 (LWP 4919)):
#0  0x00007feb3db99708 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007feb3db99f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feb3db9a0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feb4673d7be in QEventDispatcherGlib::processEvents (this=0x7feb0c0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007feb4670f0af in QEventLoop::processEvents (this=this@entry=0x7feb19bdaae0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007feb4670f3a5 in QEventLoop::exec (this=this@entry=0x7feb19bdaae0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007feb4660bc5f in QThread::exec (this=this@entry=0x28455d0) at thread/qthread.cpp:537
#7  0x00007feb466f0823 in QInotifyFileSystemWatcherEngine::run (this=0x28455d0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007feb4660e32f in QThreadPrivate::start (arg=0x28455d0) at thread/qthread_unix.cpp:349
#9  0x00007feb42cc6182 in start_thread (arg=0x7feb19bdb700) at pthread_create.c:312
#10 0x00007feb45b3300d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7feb193da700 (LWP 4934)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007feb4660e816 in wait (time=18446744073709551615, this=0x28a3b80) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x284f590, mutex=mutex@entry=0x284f588, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007feb4acde95a in Digikam::ParkingThread::run (this=0x284f570) at /build/buildd/digikam-4.7.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007feb4660e32f in QThreadPrivate::start (arg=0x284f570) at thread/qthread_unix.cpp:349
#5  0x00007feb42cc6182 in start_thread (arg=0x7feb193da700) at pthread_create.c:312
#6  0x00007feb45b3300d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7feb0bb8e700 (LWP 4935)):
#0  idleTimerSourcePrepare (source=<optimized out>, timeout=0x7feb0bb8d924) at kernel/qeventdispatcher_glib.cpp:216
#1  0x00007feb3db9968d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007feb3db99f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007feb3db9a0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007feb4673d7be in QEventDispatcherGlib::processEvents (this=0x7feb040008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007feb4670f0af in QEventLoop::processEvents (this=this@entry=0x7feb0bb8dae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007feb4670f3a5 in QEventLoop::exec (this=this@entry=0x7feb0bb8dae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007feb4660bc5f in QThread::exec (this=this@entry=0x30dede0) at thread/qthread.cpp:537
#8  0x00007feb466f0823 in QInotifyFileSystemWatcherEngine::run (this=0x30dede0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007feb4660e32f in QThreadPrivate::start (arg=0x30dede0) at thread/qthread_unix.cpp:349
#10 0x00007feb42cc6182 in start_thread (arg=0x7feb0bb8e700) at pthread_create.c:312
#11 0x00007feb45b3300d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7feaffffe700 (LWP 5149)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007feb2dbd6dac in sqlite3MemCompare (pMem1=pMem1@entry=0x7feaffffcc80, pMem2=<optimized out>, pColl=0x7feaf8434628) at sqlite3.c:60484
#8  0x00007feb2dbd6f63 in sqlite3VdbeRecordCompare (nKey1=41, pKey1=0x7feaf82b5b7b, pPKey2=pPKey2@entry=0x7feaffffcf80) at sqlite3.c:64162
#9  0x00007feb2dbeb579 in sqlite3BtreeMovetoUnpacked (pCur=0x7feaf8301978, pIdxKey=0x7feaffffcf80, intKey=0, biasRight=<optimized out>, pRes=0x7feaffffcf70) at sqlite3.c:55077
#10 0x00007feb2dc139c5 in sqlite3VdbeExec (p=p@entry=0x7feaf8002368) at sqlite3.c:70168
#11 0x00007feb2dc1bed7 in sqlite3Step (p=0x7feaf8002368) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007feb189d511c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x7feaf844f840, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007feb189d5e48 in QSQLiteResult::exec (this=0x7feaf84a2b40) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007feb4cb98b7d in QSqlQuery::exec (this=this@entry=0x7feaffffd4d8) at kernel/qsqlquery.cpp:949
#16 0x00007feb4ac97306 in Digikam::DatabaseCoreBackend::exec (this=0x2aca450, query=...) at /build/buildd/digikam-4.7.0/core/libs/database/core/databasecorebackend.cpp:1422
#17 0x00007feb4ac97432 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2aca450, query=..., boundValue1=..., boundValue2=...) at /build/buildd/digikam-4.7.0/core/libs/database/core/databasecorebackend.cpp:1070
#18 0x00007feb4ac9814c in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2aca450, sql=..., boundValue1=..., boundValue2=...) at /build/buildd/digikam-4.7.0/core/libs/database/core/databasecorebackend.cpp:1019
#19 0x00007feb4ac9819c in Digikam::DatabaseCoreBackend::execSql (this=0x2aca450, sql=..., boundValue1=..., boundValue2=..., values=values@entry=0x7feaffffd520, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.7.0/core/libs/database/core/databasecorebackend.cpp:919
#20 0x00007feb4aca3efa in Digikam::ThumbnailDB::findByHash (this=0x2adda90, uniqueHash=..., fileSize=<optimized out>) at /build/buildd/digikam-4.7.0/core/libs/database/core/thumbnaildb.cpp:114
#21 0x00007feb4acc65ee in Digikam::ThumbnailCreator::loadDatabaseThumbnailInfo (this=this@entry=0x309cee0, info=...) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailcreator.cpp:887
#22 0x00007feb4acc9a9f in Digikam::ThumbnailCreator::loadFromDatabase (this=this@entry=0x309cee0, info=...) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailcreator.cpp:922
#23 0x00007feb4accb2cc in Digikam::ThumbnailCreator::load (this=0x309cee0, identifier=..., rect=..., pregenerate=pregenerate@entry=false) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailcreator.cpp:260
#24 0x00007feb4accbb12 in Digikam::ThumbnailCreator::load (this=<optimized out>, identifier=...) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailcreator.cpp:196
#25 0x00007feb4acda3ae in Digikam::ThumbnailLoadingTask::execute (this=0x72978a0) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailtask.cpp:172
#26 0x00007feb4acb1996 in Digikam::LoadSaveThread::run (this=0x309ccc0) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/loadsavethread.cpp:136
#27 0x00007feb4ace079e in Digikam::DynamicThread::DynamicThreadPriv::run (this=0x30a14c0) at /build/buildd/digikam-4.7.0/core/libs/threads/dynamicthread.cpp:186
#28 0x00007feb46601fee in QThreadPoolThread::run (this=0x4478ed0) at concurrent/qthreadpool.cpp:108
#29 0x00007feb4660e32f in QThreadPrivate::start (arg=0x4478ed0) at thread/qthread_unix.cpp:349
#30 0x00007feb42cc6182 in start_thread (arg=0x7feaffffe700) at pthread_create.c:312
#31 0x00007feb45b3300d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7feb4cf67ac0 (LWP 4911)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007feb4660e816 in wait (time=18446744073709551615, this=0x309cdc0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x30a14f0, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007feb4acdfe08 in Digikam::DynamicThread::wait (this=this@entry=0x309ccc0, locker=...) at /build/buildd/digikam-4.7.0/core/libs/threads/dynamicthread.cpp:351
#4  0x00007feb4acdfe84 in Digikam::DynamicThread::shutDown (this=this@entry=0x309ccc0) at /build/buildd/digikam-4.7.0/core/libs/threads/dynamicthread.cpp:222
#5  0x00007feb4acb5101 in Digikam::ManagedLoadSaveThread::shutDown (this=this@entry=0x309ccc0) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/managedloadsavethread.cpp:94
#6  0x00007feb4acce25f in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread (this=0x309ccc0, __in_chrg=<optimized out>) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailloadthread.cpp:177
#7  0x00007feb4acce399 in Digikam::ThumbnailLoadThread::~ThumbnailLoadThread (this=0x309ccc0, __in_chrg=<optimized out>) at /build/buildd/digikam-4.7.0/core/libs/threadimageio/thumbnailloadthread.cpp:180
#8  0x00007feb45a74259 in __run_exit_handlers (status=1, listp=0x7feb45df76c8 <__exit_funcs>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#9  0x00007feb45a742a5 in __GI_exit (status=<optimized out>) at exit.c:104
#10 0x00007feb47169878 in qt_xio_errhandler () at kernel/qapplication_x11.cpp:783
#11 0x00007feb47e0c880 in KApplication::xioErrhandler (this=0x7fffe7e171e0, dpy=0x26a7dc0) at ../../kdeui/kernel/kapplication.cpp:419
#12 0x00007feb4452f5ee in _XIOError () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#13 0x00007feb4452cfed in _XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#14 0x00007feb4451f0db in XEventsQueued () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#15 0x00007feb471a4687 in x11EventSourcePrepare (s=0x265f750, timeout=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:77
#16 0x00007feb3db9968d in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007feb3db99f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#18 0x00007feb3db9a0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007feb4673d7a1 in QEventDispatcherGlib::processEvents (this=0x25894e0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#20 0x00007feb471a4bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#21 0x00007feb4670f0af in QEventLoop::processEvents (this=this@entry=0x7fffe7e16cc0, flags=...) at kernel/qeventloop.cpp:149
#22 0x00007feb4670f3a5 in QEventLoop::exec (this=this@entry=0x7fffe7e16cc0, flags=...) at kernel/qeventloop.cpp:204
#23 0x00007feb46714b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#24 0x00007feb4710137c in QApplication::exec () at kernel/qapplication.cpp:3828
#25 0x0000000000497d50 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-4.7.0/core/app/main/main.cpp:237

The reporter indicates this bug may be a duplicate of or related to bug 339068.

Possible duplicates by query: bug 343243, bug 343014, bug 342802, bug 342143, bug 341529.

Reported using DrKonqi
Comment 1 caulier.gilles 2015-02-16 06:14:17 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2021-04-04 08:38:54 UTC
Fixed with #329697