Bug 335684

Summary: Crash problem still exists in KDE 4.13.1
Product: [Applications] digikam Reporter: Thomas Dreibholz <dreibh>
Component: Database-SqliteAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: 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:

Description Thomas Dreibholz 2014-06-02 05:53:55 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.1
Qt Version: 4.8.6
Operating System: Linux 3.13.0-24-generic x86_64
Distribution: Ubuntu 14.04 LTS

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

Crash problem still exists in KDE 4.13.1 version of Digikam (Kubuntu 14.04).

-- 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 0x7f8dcb954ac0 (LWP 17947))]

Thread 7 (Thread 0x7f8da7021700 (LWP 17949)):
#0  0x00007f8dc5373fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f8dabbcc248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007f8dc0603182 in start_thread (arg=0x7f8da7021700) at pthread_create.c:312
#3  0x00007f8dc538130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7f8da0305700 (LWP 17950)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8dc6162816 in wait (time=18446744073709551615, this=0x2cec2f0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2cec200, mutex=mutex@entry=0x2cec1f8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x2cebf70) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f8dc616232f in QThreadPrivate::start (arg=0x2cebf70) at thread/qthread_unix.cpp:349
#5  0x00007f8dc0603182 in start_thread (arg=0x7f8da0305700) at pthread_create.c:312
#6  0x00007f8dc538130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f8d9fb04700 (LWP 17951)):
#0  0x00007fff83bfea1f in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8d9f303700 (LWP 17953)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8dc6162816 in wait (time=18446744073709551615, this=0x31e50d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2cfc090, mutex=mutex@entry=0x2cfc088, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f8dc8fdb79a in Digikam::ParkingThread::run (this=0x2cfc070) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f8dc616232f in QThreadPrivate::start (arg=0x2cfc070) at thread/qthread_unix.cpp:349
#5  0x00007f8dc0603182 in start_thread (arg=0x7f8d9f303700) at pthread_create.c:312
#6  0x00007f8dc538130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f8d9d933700 (LWP 17954)):
#0  0x00007fff83bfea1f in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8d58ff9700 (LWP 18023)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f8dc6162816 in wait (time=18446744073709551615, this=0x35a9260) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x35a8450, mutex=mutex@entry=0x35a8448, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f8d605d0c3d in KIPIPlugins::KPRawThumbThread::run (this=0x35a88d0) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#4  0x00007f8dc616232f in QThreadPrivate::start (arg=0x35a88d0) at thread/qthread_unix.cpp:349
#5  0x00007f8dc0603182 in start_thread (arg=0x7f8d58ff9700) at pthread_create.c:312
#6  0x00007f8dc538130d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f8dcb954ac0 (LWP 17947)):
[KCrash Handler]
#6  0x0000000000000070 in ?? ()
#7  0x00007f8dafecddac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff83b74cb0, pMem2=<optimized out>, pColl=0x54e69d8) at sqlite3.c:60484
#8  0x00007f8dafecdf63 in sqlite3VdbeRecordCompare (nKey1=18, pKey1=0x7f8d98187dcf, pPKey2=pPKey2@entry=0x7fff83b74fb0) at sqlite3.c:64162
#9  0x00007f8dafee2579 in sqlite3BtreeMovetoUnpacked (pCur=0x7513850, pIdxKey=0x7fff83b74fb0, intKey=0, biasRight=<optimized out>, pRes=0x7fff83b74fa0) at sqlite3.c:55077
#10 0x00007f8daff0a9c5 in sqlite3VdbeExec (p=p@entry=0x3076938) at sqlite3.c:70168
#11 0x00007f8daff12ed7 in sqlite3Step (p=0x3076938) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007f8d9e2b411c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x6ab2890, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007f8d9e2b4e48 in QSQLiteResult::exec (this=0x3b3f750) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007f8dcb588b7d in QSqlQuery::exec (this=this@entry=0x7fff83b754e8) at kernel/qsqlquery.cpp:949
#16 0x00007f8dc8f94a26 in Digikam::DatabaseCoreBackend::exec (this=0x2cfe120, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0x00007f8dc8f94aac in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2cfe120, query=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1056
#18 0x00007f8dc8f95b50 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2cfe120, sql=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1005
#19 0x00007f8dc8f95b99 in Digikam::DatabaseCoreBackend::execSql (this=0x2cfe120, sql=..., boundValue1=..., values=values@entry=0x7fff83b75530, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:902
#20 0x00007f8dc895942e in Digikam::AlbumDB::getSetting (this=this@entry=0x2d00ff0, keyword=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:972
#21 0x00007f8dc8959d5c in Digikam::AlbumDB::getFilterSettings (this=0x2d00ff0, imageFilter=imageFilter@entry=0x7fff83b75780, videoFilter=videoFilter@entry=0x7fff83b757a0, audioFilter=audioFilter@entry=0x7fff83b75790) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:1017
#22 0x00007f8dc896f61a in Digikam::CollectionScanner::loadNameFilters (this=this@entry=0x7fff83b75980) at /build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:408
#23 0x00007f8dc896fd53 in Digikam::CollectionScanner::mainEntryPoint (this=this@entry=0x7fff83b75980, complete=complete@entry=false) at /build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:806
#24 0x00007f8dc89723e4 in Digikam::CollectionScanner::scanFile (this=this@entry=0x7fff83b75980, fi=..., albumId=301, imageId=imageId@entry=37994, mode=mode@entry=Digikam::CollectionScanner::NormalScan) at /build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:767
#25 0x00007f8dc8972613 in Digikam::CollectionScanner::scanFile (this=this@entry=0x7fff83b75980, info=..., mode=Digikam::CollectionScanner::NormalScan) at /build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:762
#26 0x00000000005d529d in Digikam::ScanController::scannedInfo (this=0x2cebf70, filePath=...) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:560
#27 0x000000000052a30a in Digikam::KipiImageInfo::KipiImageInfo (this=0x689a720, interface=<optimized out>, url=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiimageinfo.cpp:85
#28 0x000000000053324e in Digikam::KipiInterface::info (this=0x47946e0, url=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:175
#29 0x00007f8d605cd4b5 in attribute (name=..., this=0x6853130) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:73
#30 hasAttribute (name=..., this=0x6853130) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:100
#31 KIPIPlugins::KPImageInfo::hasDescription (this=this@entry=0x7fff83b75ba0) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:227
#32 0x00007f8d605ccfea in KIPIPlugins::KPImageInfo::description (this=this@entry=0x7fff83b75ba0) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:192
#33 0x00007f8d43252f80 in KIPIFacebookPlugin::FbWindow::getImageCaption (this=this@entry=0x6f39a50, fileName=...) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/facebook/fbwindow.cpp:657
#34 0x00007f8d43255d0e in KIPIFacebookPlugin::FbWindow::uploadNextPhoto (this=this@entry=0x6f39a50) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/facebook/fbwindow.cpp:748
#35 0x00007f8d43256505 in KIPIFacebookPlugin::FbWindow::slotAddPhotoDone (this=0x6f39a50, errCode=<optimized out>, errMsg=...) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/facebook/fbwindow.cpp:790
#36 0x00007f8dc627887a in QMetaObject::activate (sender=sender@entry=0x755f510, m=m@entry=0x7f8d43471ba0 <KIPIFacebookPlugin::FbTalker::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff83b75e70) at kernel/qobject.cpp:3539
#37 0x00007f8d4325a896 in KIPIFacebookPlugin::FbTalker::signalAddPhotoDone (this=this@entry=0x755f510, _t1=_t1@entry=0, _t2=...) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/extra/kipi-plugins/facebook/fbtalker.moc:172
#38 0x00007f8d43262e1c in KIPIFacebookPlugin::FbTalker::parseResponseAddPhoto (this=this@entry=0x755f510, data=...) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/facebook/fbtalker.cpp:1291
#39 0x00007f8d432657ec in KIPIFacebookPlugin::FbTalker::slotResult (this=0x755f510, kjob=0x7509fa0) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/facebook/fbtalker.cpp:870
#40 0x00007f8d4326591c in KIPIFacebookPlugin::FbTalker::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/extra/kipi-plugins/facebook/fbtalker.moc:95
#41 0x00007f8dc627887a in QMetaObject::activate (sender=sender@entry=0x7509fa0, m=m@entry=0x7f8dc6a7e600 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff83b760d0) at kernel/qobject.cpp:3539
#42 0x00007f8dc66ee622 in KJob::result (this=this@entry=0x7509fa0, _t1=_t1@entry=0x7509fa0) at ./kjob.moc:207
#43 0x00007f8dc66ee660 in KJob::emitResult (this=this@entry=0x7509fa0) at ../../kdecore/jobs/kjob.cpp:318
#44 0x00007f8dc80bc39a in KIO::SimpleJob::slotFinished (this=this@entry=0x7509fa0) at ../../kio/kio/job.cpp:496
#45 0x00007f8dc80bd4ee in KIO::TransferJob::slotFinished (this=0x7509fa0) at ../../kio/kio/job.cpp:1110
#46 0x00007f8dc627887a in QMetaObject::activate (sender=0x72083b0, m=m@entry=0x7f8dc8465580 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#47 0x00007f8dc815a4e3 in KIO::SlaveInterface::finished (this=<optimized out>) at ./slaveinterface.moc:184
#48 0x00007f8dc815ba26 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:176
#49 0x00007f8dc815951e in KIO::SlaveInterface::dispatch (this=0x72083b0) at ../../kio/kio/slaveinterface.cpp:92
#50 0x00007f8dc814e196 in KIO::Slave::gotInput (this=0x72083b0) at ../../kio/kio/slave.cpp:344
#51 0x00007f8dc627887a in QMetaObject::activate (sender=0x47bf730, m=m@entry=0x7f8dc845eaa0 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#52 0x00007f8dc8089b40 in KIO::Connection::readyRead (this=<optimized out>) at ./connection.moc:105
#53 0x00007f8dc808a231 in KIO::ConnectionPrivate::dequeue (this=0x6899110) at ../../kio/kio/connection.cpp:82
#54 0x00007f8dc627cc1e in QObject::event (this=0x47bf730, e=<optimized out>) at kernel/qobject.cpp:1194
#55 0x00007f8dc6c56e2c in QApplicationPrivate::notify_helper (this=this@entry=0x2c227a0, receiver=receiver@entry=0x47bf730, e=e@entry=0x7db7c40) at kernel/qapplication.cpp:4567
#56 0x00007f8dc6c5d4a0 in QApplication::notify (this=this@entry=0x7fff83b77240, receiver=receiver@entry=0x47bf730, e=e@entry=0x7db7c40) at kernel/qapplication.cpp:4353
#57 0x00007f8dc7961d1a in KApplication::notify (this=0x7fff83b77240, receiver=0x47bf730, event=0x7db7c40) at ../../kdeui/kernel/kapplication.cpp:311
#58 0x00007f8dc62644dd in QCoreApplication::notifyInternal (this=0x7fff83b77240, receiver=receiver@entry=0x47bf730, event=event@entry=0x7db7c40) at kernel/qcoreapplication.cpp:953
#59 0x00007f8dc6267b3d in sendEvent (event=0x7db7c40, receiver=0x47bf730) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#60 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2b91450) at kernel/qcoreapplication.cpp:1577
#61 0x00007f8dc6267fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#62 0x00007f8dc6291f83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#63 postEventSourceDispatch (s=0x2c213c0) at kernel/qeventdispatcher_glib.cpp:287
#64 0x00007f8dbde2ae04 in g_main_dispatch (context=0x2c22c80) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#65 g_main_context_dispatch (context=context@entry=0x2c22c80) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#66 0x00007f8dbde2b048 in g_main_context_iterate (context=context@entry=0x2c22c80, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#67 0x00007f8dbde2b0ec in g_main_context_iteration (context=0x2c22c80, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#68 0x00007f8dc62917a1 in QEventDispatcherGlib::processEvents (this=0x2b4df70, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#69 0x00007f8dc6cf8bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#70 0x00007f8dc62630af in QEventLoop::processEvents (this=this@entry=0x7fff83b76d20, flags=...) at kernel/qeventloop.cpp:149
#71 0x00007f8dc62633a5 in QEventLoop::exec (this=this@entry=0x7fff83b76d20, flags=...) at kernel/qeventloop.cpp:204
#72 0x00007f8dc6268b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#73 0x00007f8dc6c5537c in QApplication::exec () at kernel/qapplication.cpp:3828
#74 0x0000000000492023 in main (argc=<optimized out>, argv=<optimized out>) 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 329697.

Possible duplicates by query: bug 335667, bug 335630, bug 335622, bug 335574, bug 335529.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-06-02 06:42:18 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2021-12-17 11:50:59 UTC
Fixed with #329697