Bug 334105

Summary: digiKam 3.5 crashes, when editing a pic
Product: [Applications] digikam Reporter: Axel Krebs <axel.krebs>
Component: Database-SqliteAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: adenatale, caulier.gilles
Priority: NOR Keywords: drkonqi
Version: 3.5.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 7.5.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Axel Krebs 2014-04-29 20:57:28 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.0
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic i686
Distribution: Ubuntu 14.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:

jpg, ca. 17 MB
just selecting automated correction (1), scharpening (2) --< full crash

The crash can be reproduced sometimes.

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

Thread 13 (Thread 0xacdddb40 (LWP 9043)):
#0  0xb772c424 in __kernel_vsyscall ()
#1  0xb4b2e7ab in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xad990442 in ?? () from /lib/i386-linux-gnu/libusb-1.0.so.0
#3  0xb322df70 in start_thread (arg=0xacdddb40) at pthread_create.c:312
#4  0xb4b3d70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 12 (Thread 0xa9a93b40 (LWP 9044)):
#0  0xb772c424 in __kernel_vsyscall ()
#1  0xb3231d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4b4a8ec in __pthread_cond_wait (cond=0xa011b70, mutex=0xa011b58) at forward.c:149
#3  0xb4e310f5 in wait (time=4294967295, this=0xa011b58) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0xa011acc, mutex=mutex@entry=0xa011ac8, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x0820dd94 in Digikam::ScanController::run (this=0x9f3afc0) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#6  0xb4e30b6f in QThreadPrivate::start (arg=0x9f3afc0) at thread/qthread_unix.cpp:349
#7  0xb322df70 in start_thread (arg=0xa9a93b40) at pthread_create.c:312
#8  0xb4b3d70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 11 (Thread 0xa90ffb40 (LWP 9045)):
#0  0xb772c424 in __kernel_vsyscall ()
#1  0xb4b2e7ab in poll () at ../sysdeps/unix/syscall-template.S:81
#2  0xb2e7320b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2e643e8 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2e64528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4f7295f in QEventDispatcherGlib::processEvents (this=0xa8700468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb4f41823 in QEventLoop::processEvents (this=this@entry=0xa90ff098, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4f41b49 in QEventLoop::exec (this=this@entry=0xa90ff098, flags=...) at kernel/qeventloop.cpp:204
#8  0xb4e2e23d in QThread::exec (this=this@entry=0xa012fa0) at thread/qthread.cpp:537
#9  0xb4f21c44 in QInotifyFileSystemWatcherEngine::run (this=0xa012fa0) at io/qfilesystemwatcher_inotify.cpp:265
#10 0xb4e30b6f in QThreadPrivate::start (arg=0xa012fa0) at thread/qthread_unix.cpp:349
#11 0xb322df70 in start_thread (arg=0xa90ffb40) at pthread_create.c:312
#12 0xb4b3d70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 10 (Thread 0xa86ffb40 (LWP 9053)):
#0  0xb772c424 in __kernel_vsyscall ()
#1  0xb3231d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4b4a8ec in __pthread_cond_wait (cond=0xa215140, mutex=0xa215128) at forward.c:149
#3  0xb4e310f5 in wait (time=4294967295, this=0xa215128) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0xa2171d8, mutex=mutex@entry=0xa2171d4, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6a3d2b4 in Digikam::ParkingThread::run (this=0xa2171c8) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#6  0xb4e30b6f in QThreadPrivate::start (arg=0xa2171c8) at thread/qthread_unix.cpp:349
#7  0xb322df70 in start_thread (arg=0xa86ffb40) at pthread_create.c:312
#8  0xb4b3d70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 9 (Thread 0xa2f96b40 (LWP 9055)):
#0  0xb323112e in __pthread_mutex_unlock_usercnt (mutex=0xa2600558, decr=1) at pthread_mutex_unlock.c:57
#1  0xb4b4ab34 in pthread_mutex_unlock (mutex=0xa2600558) at forward.c:194
#2  0xb2ea9140 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2e6399e in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2e642df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb2e64528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0xb4f7295f in QEventDispatcherGlib::processEvents (this=0xa2600468, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0xb4f41823 in QEventLoop::processEvents (this=this@entry=0xa2f96098, flags=...) at kernel/qeventloop.cpp:149
#8  0xb4f41b49 in QEventLoop::exec (this=this@entry=0xa2f96098, flags=...) at kernel/qeventloop.cpp:204
#9  0xb4e2e23d in QThread::exec (this=this@entry=0xa682cb8) at thread/qthread.cpp:537
#10 0xb4f21c44 in QInotifyFileSystemWatcherEngine::run (this=0xa682cb8) at io/qfilesystemwatcher_inotify.cpp:265
#11 0xb4e30b6f in QThreadPrivate::start (arg=0xa682cb8) at thread/qthread_unix.cpp:349
#12 0xb322df70 in start_thread (arg=0xa2f96b40) at pthread_create.c:312
#13 0xb4b3d70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 8 (Thread 0x98ea3b40 (LWP 9070)):
#0  0xb4e2f7f8 in QThreadData::current () at thread/qthread_unix.cpp:220
#1  0xb4f72d9b in postEventSourcePrepare (s=0x98f02920, timeout=0x98ea2f1c) at kernel/qeventdispatcher_glib.cpp:263
#2  0xb2e639b3 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0xb2e642df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0xb2e64528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0xb4f7295f in QEventDispatcherGlib::processEvents (this=0x98f02698, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#6  0xb4f41823 in QEventLoop::processEvents (this=this@entry=0x98ea3098, flags=...) at kernel/qeventloop.cpp:149
#7  0xb4f41b49 in QEventLoop::exec (this=this@entry=0x98ea3098, flags=...) at kernel/qeventloop.cpp:204
#8  0xb6a3c882 in Digikam::WorkerObjectRunnable::run (this=0x163afbc0) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:196
#9  0xb4e23f07 in QThreadPoolThread::run (this=0x14d080f8) at concurrent/qthreadpool.cpp:108
#10 0xb4e30b6f in QThreadPrivate::start (arg=0x14d080f8) at thread/qthread_unix.cpp:349
#11 0xb322df70 in start_thread (arg=0x98ea3b40) at pthread_create.c:312
#12 0xb4b3d70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 7 (Thread 0x96a10b40 (LWP 11662)):
#0  0xb772c424 in __kernel_vsyscall ()
#1  0xb3231d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4b4a8ec in __pthread_cond_wait (cond=0x16f2dc10, mutex=0x16f2dbf8) at forward.c:149
#3  0xb4e310f5 in wait (time=4294967295, this=0x16f2dbf8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x16f2d95c, mutex=mutex@entry=0x16f2d958, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xa2fcd2b4 in KIPIPlugins::KPRawThumbThread::run (this=0x18cc4678) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#6  0xb4e30b6f in QThreadPrivate::start (arg=0x18cc4678) at thread/qthread_unix.cpp:349
#7  0xb322df70 in start_thread (arg=0x96a10b40) at pthread_create.c:312
#8  0xb4b3d70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 6 (Thread 0x953c0b40 (LWP 11685)):
#0  0xb772c424 in __kernel_vsyscall ()
#1  0xb3231d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4b4a8ec in __pthread_cond_wait (cond=0x1d085430, mutex=0x1d085418) at forward.c:149
#3  0xb4e310f5 in wait (time=4294967295, this=0x1d085418) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x184ebe44, mutex=0x184ebe48, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6c97798 in KDcrawIface::RActionThreadBase::run() () from /usr/lib/libkdcraw.so.23
#6  0xb4e30b6f in QThreadPrivate::start (arg=0x173fc218) at thread/qthread_unix.cpp:349
#7  0xb322df70 in start_thread (arg=0x953c0b40) at pthread_create.c:312
#8  0xb4b3d70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 5 (Thread 0x94bbfb40 (LWP 11686)):
#0  0xb772c424 in __kernel_vsyscall ()
#1  0xb3231d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4b4a8ec in __pthread_cond_wait (cond=0x1d0854f0, mutex=0x1d0854d8) at forward.c:149
#3  0xb4e310f5 in wait (time=4294967295, this=0x1d0854d8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x1d17e028, mutex=0x16a70838, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6e3c8d3 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1d17e010, th=th@entry=0xa7980088) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#6  0xb6e3f81b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x1ac2fa20, th=0xa7980088) at ../../../threadweaver/Weaver/WorkingHardState.cpp:77
#7  0xb6e3c82a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x1d17e010, th=th@entry=0xa7980088) at ../../../threadweaver/Weaver/WeaverImpl.cpp:361
#8  0xb6e3f8f2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ac2fa20, th=0xa7980088, previous=0x1dd75540) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#9  0xb6e3b782 in ThreadWeaver::WeaverImpl::applyForWork (this=0x1d17e010, th=0xa7980088, previous=0x1dd75540) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#10 0xb6e3e283 in ThreadWeaver::Thread::run (this=0xa7980088) at ../../../threadweaver/Weaver/Thread.cpp:98
#11 0xb4e30b6f in QThreadPrivate::start (arg=0xa7980088) at thread/qthread_unix.cpp:349
#12 0xb322df70 in start_thread (arg=0x94bbfb40) at pthread_create.c:312
#13 0xb4b3d70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 4 (Thread 0x943beb40 (LWP 11687)):
#0  0xb772c424 in __kernel_vsyscall ()
#1  0xb3231d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4b4a8ec in __pthread_cond_wait (cond=0x1d0854f0, mutex=0x1d0854d8) at forward.c:149
#3  0xb4e310f5 in wait (time=4294967295, this=0x1d0854d8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x1d17e028, mutex=0x16a70838, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6e3c8d3 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1d17e010, th=th@entry=0x99267df0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#6  0xb6e3f81b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x1ac2fa20, th=0x99267df0) at ../../../threadweaver/Weaver/WorkingHardState.cpp:77
#7  0xb6e3c82a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x1d17e010, th=th@entry=0x99267df0) at ../../../threadweaver/Weaver/WeaverImpl.cpp:361
#8  0xb6e3f8f2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ac2fa20, th=0x99267df0, previous=0x1dd75938) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#9  0xb6e3b782 in ThreadWeaver::WeaverImpl::applyForWork (this=0x1d17e010, th=0x99267df0, previous=0x1dd75938) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#10 0xb6e3e283 in ThreadWeaver::Thread::run (this=0x99267df0) at ../../../threadweaver/Weaver/Thread.cpp:98
#11 0xb4e30b6f in QThreadPrivate::start (arg=0x99267df0) at thread/qthread_unix.cpp:349
#12 0xb322df70 in start_thread (arg=0x943beb40) at pthread_create.c:312
#13 0xb4b3d70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 3 (Thread 0x92dffb40 (LWP 11688)):
#0  0xb772c424 in __kernel_vsyscall ()
#1  0xb3231d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4b4a8ec in __pthread_cond_wait (cond=0x1d0854f0, mutex=0x1d0854d8) at forward.c:149
#3  0xb4e310f5 in wait (time=4294967295, this=0x1d0854d8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x1d17e028, mutex=0x16a70838, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6e3c8d3 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1d17e010, th=th@entry=0x9800a520) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#6  0xb6e3f81b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x1ac2fa20, th=0x9800a520) at ../../../threadweaver/Weaver/WorkingHardState.cpp:77
#7  0xb6e3c82a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x1d17e010, th=th@entry=0x9800a520) at ../../../threadweaver/Weaver/WeaverImpl.cpp:361
#8  0xb6e3f8f2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ac2fa20, th=0x9800a520, previous=0x1dd76ae8) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#9  0xb6e3b782 in ThreadWeaver::WeaverImpl::applyForWork (this=0x1d17e010, th=0x9800a520, previous=0x1dd76ae8) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#10 0xb6e3e283 in ThreadWeaver::Thread::run (this=0x9800a520) at ../../../threadweaver/Weaver/Thread.cpp:98
#11 0xb4e30b6f in QThreadPrivate::start (arg=0x9800a520) at thread/qthread_unix.cpp:349
#12 0xb322df70 in start_thread (arg=0x92dffb40) at pthread_create.c:312
#13 0xb4b3d70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 2 (Thread 0x925feb40 (LWP 11689)):
#0  0xb772c424 in __kernel_vsyscall ()
#1  0xb3231d4b in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:187
#2  0xb4b4a8ec in __pthread_cond_wait (cond=0x1d0854f0, mutex=0x1d0854d8) at forward.c:149
#3  0xb4e310f5 in wait (time=4294967295, this=0x1d0854d8) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=this@entry=0x1d17e028, mutex=0x16a70838, time=time@entry=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6e3c8d3 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x1d17e010, th=th@entry=0x97f01898) at ../../../threadweaver/Weaver/WeaverImpl.cpp:370
#6  0xb6e3f81b in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x1ac2fa20, th=0x97f01898) at ../../../threadweaver/Weaver/WorkingHardState.cpp:77
#7  0xb6e3c82a in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x1d17e010, th=th@entry=0x97f01898) at ../../../threadweaver/Weaver/WeaverImpl.cpp:361
#8  0xb6e3f8f2 in ThreadWeaver::WorkingHardState::applyForWork (this=0x1ac2fa20, th=0x97f01898, previous=0x19378908) at ../../../threadweaver/Weaver/WorkingHardState.cpp:68
#9  0xb6e3b782 in ThreadWeaver::WeaverImpl::applyForWork (this=0x1d17e010, th=0x97f01898, previous=0x19378908) at ../../../threadweaver/Weaver/WeaverImpl.cpp:356
#10 0xb6e3e283 in ThreadWeaver::Thread::run (this=0x97f01898) at ../../../threadweaver/Weaver/Thread.cpp:98
#11 0xb4e30b6f in QThreadPrivate::start (arg=0x97f01898) at thread/qthread_unix.cpp:349
#12 0xb322df70 in start_thread (arg=0x925feb40) at pthread_create.c:312
#13 0xb4b3d70e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:129

Thread 1 (Thread 0xace10900 (LWP 9042)):
[KCrash Handler]
#7  0x00df0075 in ?? ()
#8  0xae51a38e in sqlite3MemCompare (pMem1=pMem1@entry=0xbf909198, pMem2=<optimized out>, pColl=0x15f0b920) at sqlite3.c:60484
#9  0xae51a576 in sqlite3VdbeRecordCompare (nKey1=71, pKey1=0xa750cfa9, pPKey2=pPKey2@entry=0xbf909278) at sqlite3.c:64162
#10 0xae52fba2 in sqlite3BtreeMovetoUnpacked (pCur=0x191319b8, pIdxKey=0xbf909278, intKey=71, biasRight=0, pRes=0xbf9093a4) at sqlite3.c:55077
#11 0xae52fe1b in btreeMoveto (pCur=pCur@entry=0x191319b8, pKey=pKey@entry=0x17210348, nKey=71, bias=bias@entry=0, pRes=pRes@entry=0xbf9093a4) at sqlite3.c:51055
#12 0xae5337db in sqlite3BtreeInsert (pCur=0x191319b8, pKey=0x17210348, nKey=71, pData=pData@entry=0xae58644d, nData=nData@entry=0, nZero=nZero@entry=0, appendBias=appendBias@entry=0, seekResult=0) at sqlite3.c:57382
#13 0xae55ea64 in sqlite3VdbeExec (p=p@entry=0x1d1647b8) at sqlite3.c:71195
#14 0xae562d8e in sqlite3Step (p=0x1d1647b8) at sqlite3.c:64828
#15 sqlite3_step (pStmt=0x1d1647b8) at sqlite3.c:64894
#16 0xa928ce9c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x15c85ea0, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#17 0xa928debd in QSQLiteResult::exec (this=0x15defa88) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#18 0xb76d8e60 in QSqlQuery::exec (this=this@entry=0xbf909af8) at kernel/qsqlquery.cpp:949
#19 0xb69f1431 in Digikam::DatabaseCoreBackend::exec (this=0xa0859a8, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#20 0xb69f2f54 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0xa0859a8, sql=..., bindingMap=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1246
#21 0xb69f4717 in Digikam::DatabaseCoreBackend::execSql (this=0xa0859a8, sql=..., bindingMap=..., values=0x0, lastInsertId=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:944
#22 0xb69f4893 in Digikam::DatabaseCoreBackend::execDBAction (this=this@entry=0xa0859a8, action=..., bindingMap=..., values=values@entry=0x0, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:653
#23 0xb69f5d1c in Digikam::DatabaseCoreBackend::execUpsertDBAction (this=this@entry=0xa0859a8, action=..., id=..., fieldNames=..., values=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1271
#24 0xb69f6321 in Digikam::DatabaseCoreBackend::execUpsertDBAction (this=0xa0859a8, action=..., id=..., fieldNames=..., values=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1277
#25 0xb65d7851 in Digikam::AlbumDB::setImageUuid (this=0x9ec2098, imageId=419450, uuid=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:2330
#26 0xb662580e in Digikam::ImageInfo::setUuid (this=0x1547373c, uuid=...) at /build/buildd/digikam-3.5.0/core/libs/database/imageinfo.cpp:1249
#27 0x080c6f1a in Digikam::ImageWindow::prepareImageToSave (this=this@entry=0x15cb9d40) at /build/buildd/digikam-3.5.0/core/utilities/imageeditor/main/imagewindow.cpp:1083
#28 0x080c70b6 in Digikam::ImageWindow::saveCurrentVersion (this=0x15cb9d40) at /build/buildd/digikam-3.5.0/core/utilities/imageeditor/main/imagewindow.cpp:1118
#29 0xb6b5cd63 in Digikam::EditorWindow::qt_static_metacall (_o=0x80, _id=14614645, _a=0xbf90a088, _c=<optimized out>) at /build/buildd/digikam-3.5.0/obj-i686-linux-gnu/core/digikam/editorwindow.moc:191
#30 0xb4f580f7 in QMetaObject::activate (sender=sender@entry=0x15f0eb08, m=0x85df3f8 <QAction::staticMetaObject>, m@entry=0xb5df8718 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0xbf90a088) at kernel/qobject.cpp:3539
#31 0xb549772d in QAction::triggered (this=this@entry=0x15f0eb08, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#32 0xb5499324 in QAction::activate (this=0x15f0eb08, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#33 0xb5988870 in trigger (this=<optimized out>) at ../../include/QtGui/../../src/gui/kernel/qaction.h:218
#34 QToolButton::nextCheckState (this=0x15f2c940) at widgets/qtoolbutton.cpp:1152
#35 0xb58b6df3 in QAbstractButtonPrivate::click (this=this@entry=0x15f2e6b0) at widgets/qabstractbutton.cpp:530
#36 0xb58b6f3e in QAbstractButton::mouseReleaseEvent (this=this@entry=0x15f2c940, e=e@entry=0xbf90a5a4) at widgets/qabstractbutton.cpp:1123
#37 0xb59887e7 in QToolButton::mouseReleaseEvent (this=0x15f2c940, e=0xbf90a5a4) at widgets/qtoolbutton.cpp:723
#38 0xb54f83fa in QWidget::event (this=this@entry=0x15f2c940, event=event@entry=0xbf90a5a4) at kernel/qwidget.cpp:8376
#39 0xb58b7f42 in QAbstractButton::event (this=this@entry=0x15f2c940, e=e@entry=0xbf90a5a4) at widgets/qabstractbutton.cpp:1082
#40 0xb59888d4 in QToolButton::event (this=0x15f2c940, event=0xbf90a5a4) at widgets/qtoolbutton.cpp:1168
#41 0xb549e7f4 in QApplicationPrivate::notify_helper (this=0x9e62988, receiver=receiver@entry=0x15f2c940, e=0xbf90a5a4) at kernel/qapplication.cpp:4567
#42 0xb54a6ea0 in QApplication::notify (this=0xbf90ac58, receiver=receiver@entry=0x15f2c940, e=e@entry=0xbf90a5a4) at kernel/qapplication.cpp:4110
#43 0xb5fee0a4 in KApplication::notify (this=0xbf90ac58, receiver=0x15f2c940, event=0xbf90a5a4) at ../../kdeui/kernel/kapplication.cpp:311
#44 0xb4f42e4a in QCoreApplication::notifyInternal (this=0xbf90ac58, receiver=receiver@entry=0x15f2c940, event=event@entry=0xbf90a5a4) at kernel/qcoreapplication.cpp:953
#45 0xb54a4b53 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#46 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x15f2c940, event=0xbf90a5a4, alienWidget=0x15f2c940, nativeWidget=0x15f49a08, buttonDown=buttonDown@entry=0xb5e15ce4 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#47 0xb5528778 in QETWidget::translateMouseEvent (this=0x15f49a08, event=event@entry=0xbf90a7cc) at kernel/qapplication_x11.cpp:4634
#48 0xb5527ec5 in QApplication::x11ProcessEvent (this=0xbf90ac58, event=event@entry=0xbf90a7cc) at kernel/qapplication_x11.cpp:3627
#49 0xb5553524 in x11EventSourceDispatch (s=0x9e61d20, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#50 0xb2e641e3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#51 0xb2e64468 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#52 0xb2e64528 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#53 0xb4f7295f in QEventDispatcherGlib::processEvents (this=this@entry=0x9dcdf90, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#54 0xb55535de in QGuiEventDispatcherGlib::processEvents (this=0x9dcdf90, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#55 0xb4f41823 in QEventLoop::processEvents (this=this@entry=0xbf90aa88, flags=...) at kernel/qeventloop.cpp:149
#56 0xb4f41b49 in QEventLoop::exec (this=this@entry=0xbf90aa88, flags=...) at kernel/qeventloop.cpp:204
#57 0xb4f478fe in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#58 0xb549ca24 in QApplication::exec () at kernel/qapplication.cpp:3828
#59 0x080bc190 in main (argc=1, argv=0xbf90ad94) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

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

Possible duplicates by query: bug 334042, bug 334017, bug 333976, bug 333953, bug 333952.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-04-29 21:10:51 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 Andrea de Natale Sifola Galiani 2014-05-01 21:41:57 UTC
Created attachment 86393 [details]
New crash information added by DrKonqi

digikam (3.5.0) on KDE Platform 4.13.0 using Qt 4.8.6

- What I was doing when the application crashed: editando e salvando il programma crascha.

-- Backtrace (Reduced):
#7  0x00007f77ea81bdac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff68860160, pMem2=<optimized out>, pColl=0x4293d58) at sqlite3.c:60484
#8  0x00007f77ea81bf63 in sqlite3VdbeRecordCompare (nKey1=38, pKey1=0x7f77d402991c, pPKey2=pPKey2@entry=0x7fff68860460) at sqlite3.c:64162
#9  0x00007f77ea830579 in sqlite3BtreeMovetoUnpacked (pCur=0x5e178d0, pIdxKey=0x7fff68860460, intKey=0, biasRight=<optimized out>, pRes=0x7fff68860450) at sqlite3.c:55077
#10 0x00007f77ea8589c5 in sqlite3VdbeExec (p=p@entry=0x6193a58) at sqlite3.c:70168
#11 0x00007f77ea860ed7 in sqlite3Step (p=0x6193a58) at sqlite3.c:64828
Comment 3 caulier.gilles 2021-12-17 11:50:49 UTC
Fixed with #329697