Bug 334853

Summary: Digikam has crashed
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-05-16 06:26:59 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:

Digikam's export plugin for Facebook has crashed while exporting images.

-- 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 0x7fa67d619ac0 (LWP 14604))]

Thread 7 (Thread 0x7fa658ce7700 (LWP 14607)):
#0  0x00007fa677038fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fa65d892248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fa6722c8182 in start_thread (arg=0x7fa658ce7700) at pthread_create.c:312
#3  0x00007fa67704630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fa651fcf700 (LWP 14608)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa677e27816 in wait (time=18446744073709551615, this=0x202dc30) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x202db40, mutex=mutex@entry=0x202db38, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x202d8b0) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fa677e2732f in QThreadPrivate::start (arg=0x202d8b0) at thread/qthread_unix.cpp:349
#5  0x00007fa6722c8182 in start_thread (arg=0x7fa651fcf700) at pthread_create.c:312
#6  0x00007fa67704630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fa6517ce700 (LWP 14609)):
#0  0x00007fffc4f10a1f in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fa650fcd700 (LWP 14634)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa677e27816 in wait (time=18446744073709551615, this=0x240f500) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x205fc00, mutex=mutex@entry=0x205fbf8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fa67aca079a in Digikam::ParkingThread::run (this=0x205fbe0) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fa677e2732f in QThreadPrivate::start (arg=0x205fbe0) at thread/qthread_unix.cpp:349
#5  0x00007fa6722c8182 in start_thread (arg=0x7fa650fcd700) at pthread_create.c:312
#6  0x00007fa67704630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fa6435ef700 (LWP 14635)):
#0  0x00007fffc4f10a1f in ?? ()
#1  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fa6127fc700 (LWP 15081)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fa677e27816 in wait (time=18446744073709551615, this=0x48e4690) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x48e3880, mutex=mutex@entry=0x48e3878, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fa618142c3d in KIPIPlugins::KPRawThumbThread::run (this=0x48e3d00) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#4  0x00007fa677e2732f in QThreadPrivate::start (arg=0x48e3d00) at thread/qthread_unix.cpp:349
#5  0x00007fa6722c8182 in start_thread (arg=0x7fa6127fc700) at pthread_create.c:312
#6  0x00007fa67704630d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fa67d619ac0 (LWP 14604)):
[KCrash Handler]
#6  0x000000000207e1b0 in ?? ()
#7  0x00007fa661b93dac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fffc4ec9ee0, pMem2=<optimized out>, pColl=0x205a0b8) at sqlite3.c:60484
#8  0x00007fa661b93f63 in sqlite3VdbeRecordCompare (nKey1=18, pKey1=0x7fa64c13037f, pPKey2=pPKey2@entry=0x7fffc4eca1e0) at sqlite3.c:64162
#9  0x00007fa661ba8579 in sqlite3BtreeMovetoUnpacked (pCur=0x48e5b90, pIdxKey=0x7fffc4eca1e0, intKey=0, biasRight=<optimized out>, pRes=0x7fffc4eca1d0) at sqlite3.c:55077
#10 0x00007fa661bd09c5 in sqlite3VdbeExec (p=p@entry=0x48e6878) at sqlite3.c:70168
#11 0x00007fa661bd8ed7 in sqlite3Step (p=0x48e6878) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007fa643dfb11c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x54e8610, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007fa643dfbe48 in QSQLiteResult::exec (this=0x48e3e70) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007fa67d24db7d in QSqlQuery::exec (this=this@entry=0x7fffc4eca718) at kernel/qsqlquery.cpp:949
#16 0x00007fa67ac59a26 in Digikam::DatabaseCoreBackend::exec (this=0x1fc9610, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0x00007fa67ac59aac in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1fc9610, query=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1056
#18 0x00007fa67ac5ab50 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1fc9610, sql=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1005
#19 0x00007fa67ac5ab99 in Digikam::DatabaseCoreBackend::execSql (this=0x1fc9610, sql=..., boundValue1=..., values=values@entry=0x7fffc4eca760, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:902
#20 0x00007fa67a61e42e in Digikam::AlbumDB::getSetting (this=this@entry=0x1fecd40, keyword=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:972
#21 0x00007fa67a61ed5c in Digikam::AlbumDB::getFilterSettings (this=0x1fecd40, imageFilter=imageFilter@entry=0x7fffc4eca9a0, videoFilter=videoFilter@entry=0x0, audioFilter=audioFilter@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:1017
#22 0x000000000063a2c0 in Digikam::AlbumSettings::getRawFileFilter (this=this@entry=0x20e6d70) at /build/buildd/digikam-3.5.0/core/digikam/utils/albumsettings.cpp:958
#23 0x0000000000533f42 in Digikam::KipiInterface::hostSetting (this=this@entry=0x30172a0, settingName=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:363
#24 0x00000000005338b4 in Digikam::KipiInterface::currentSelection (this=0x30172a0) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:126
#25 0x00007fa61814fa06 in KIPIPlugins::KPImagesList::loadImagesFromCurrentSelection (this=0x5b34670) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/widgets/kpimageslist.cpp:773
#26 0x00007fa5f2e27b5b in KIPIFacebookPlugin::FbWidget::FbWidget (this=0x2c24220, parent=<optimized out>, iface=0x30172a0, import=<optimized out>) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/facebook/fbwidget.cpp:70
#27 0x00007fa5f2e249c0 in KIPIFacebookPlugin::FbWindow::FbWindow (this=0x2c26090, tmpFolder=..., import=<optimized out>) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/facebook/fbwindow.cpp:77
#28 0x00007fa5f2e21f0a in KIPIFacebookPlugin::Plugin_Facebook::slotExport (this=0x4a58dc0) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/facebook/plugin_facebook.cpp:129
#29 0x00007fa677f3d87a in QMetaObject::activate (sender=sender@entry=0x4a7c590, m=m@entry=0x7fa6793c5de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffc4ecaf30) at kernel/qobject.cpp:3539
#30 0x00007fa678915a62 in QAction::triggered (this=this@entry=0x4a7c590, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#31 0x00007fa678917433 in QAction::activate (this=this@entry=0x4a7c590, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#32 0x00007fa678d45489 in QMenuPrivate::activateCausedStack (this=this@entry=0x4636d00, causedStack=..., action=action@entry=0x4a7c590, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#33 0x00007fa678d499b9 in QMenuPrivate::activateAction (this=0x4636d00, action=0x4a7c590, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#34 0x00007fa678d4d385 in QMenu::mouseReleaseEvent (this=this@entry=0x4636c50, e=e@entry=0x7fffc4ecb660) at widgets/qmenu.cpp:2372
#35 0x00007fa6796dd665 in KMenu::mouseReleaseEvent (this=0x4636c50, e=0x7fffc4ecb660) at ../../kdeui/widgets/kmenu.cpp:464
#36 0x00007fa67896b50a in QWidget::event (this=this@entry=0x4636c50, event=event@entry=0x7fffc4ecb660) at kernel/qwidget.cpp:8376
#37 0x00007fa678d4d7bb in QMenu::event (this=0x4636c50, e=0x7fffc4ecb660) at widgets/qmenu.cpp:2481
#38 0x00007fa67891be2c in QApplicationPrivate::notify_helper (this=this@entry=0x1e4be10, receiver=receiver@entry=0x4636c50, e=e@entry=0x7fffc4ecb660) at kernel/qapplication.cpp:4567
#39 0x00007fa6789225dd in QApplication::notify (this=this@entry=0x7fffc4ecc2a0, receiver=receiver@entry=0x4636c50, e=e@entry=0x7fffc4ecb660) at kernel/qapplication.cpp:4110
#40 0x00007fa679626d1a in KApplication::notify (this=0x7fffc4ecc2a0, receiver=0x4636c50, event=0x7fffc4ecb660) at ../../kdeui/kernel/kapplication.cpp:311
#41 0x00007fa677f294dd in QCoreApplication::notifyInternal (this=0x7fffc4ecc2a0, receiver=receiver@entry=0x4636c50, event=event@entry=0x7fffc4ecb660) at kernel/qcoreapplication.cpp:953
#42 0x00007fa678921d93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#43 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x4636c50, event=event@entry=0x7fffc4ecb660, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x4636c50, buttonDown=buttonDown@entry=0x7fa679401318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#44 0x00007fa678996cfc in QETWidget::translateMouseEvent (this=this@entry=0x4636c50, event=event@entry=0x7fffc4ecb9b0) at kernel/qapplication_x11.cpp:4568
#45 0x00007fa678996269 in QApplication::x11ProcessEvent (this=0x7fffc4ecc2a0, event=event@entry=0x7fffc4ecb9b0) at kernel/qapplication_x11.cpp:3627
#46 0x00007fa6789bdb02 in x11EventSourceDispatch (s=0x1e46e90, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x00007fa66faefe04 in g_main_dispatch (context=0x1e4c420) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#48 g_main_context_dispatch (context=context@entry=0x1e4c420) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#49 0x00007fa66faf0048 in g_main_context_iterate (context=context@entry=0x1e4c420, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#50 0x00007fa66faf00ec in g_main_context_iteration (context=0x1e4c420, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#51 0x00007fa677f567a1 in QEventDispatcherGlib::processEvents (this=0x1d770d0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#52 0x00007fa6789bdbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007fa677f280af in QEventLoop::processEvents (this=this@entry=0x7fffc4ecbd80, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007fa677f283a5 in QEventLoop::exec (this=this@entry=0x7fffc4ecbd80, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007fa677f2db79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#56 0x00007fa67891a37c in QApplication::exec () at kernel/qapplication.cpp:3828
#57 0x0000000000492023 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-3.5.0/core/digikam/main/main.cpp:235

Possible duplicates by query: bug 334852, bug 334718, bug 334712, bug 334443, bug 334350.

Reported using DrKonqi
Comment 1 Jekyll Wu 2014-05-16 06:59:51 UTC

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