Bug 335059 - Crash when starting to export pictures via Facebook export
Summary: Crash when starting to export pictures via Facebook export
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 3.5.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-05-20 03:46 UTC by Thomas Dreibholz
Modified: 2021-12-17 11:50 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 7.5.0
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Dreibholz 2014-05-20 03:46:52 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 when starting to export pictures via Facebook export.

-- 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 0x7fc29c987ac0 (LWP 13056))]

Thread 7 (Thread 0x7fc278055700 (LWP 13057)):
#0  0x00007fc2963a6fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc27cc00248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fc291636182 in start_thread (arg=0x7fc278055700) at pthread_create.c:312
#3  0x00007fc2963b430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fc27133d700 (LWP 13059)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc297195816 in wait (time=18446744073709551615, this=0x1dcd7a0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1ca4320, mutex=mutex@entry=0x1ca4318, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x1ca4090) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fc29719532f in QThreadPrivate::start (arg=0x1ca4090) at thread/qthread_unix.cpp:349
#5  0x00007fc291636182 in start_thread (arg=0x7fc27133d700) at pthread_create.c:312
#6  0x00007fc2963b430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fc270b3c700 (LWP 13060)):
#0  0x00007fc2963a6fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc28ee5dfe4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fc264003280, timeout=-1, context=0x7fc2640009a0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7fc2640009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3729
#3  0x00007fc28ee5e0ec in g_main_context_iteration (context=0x7fc2640009a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007fc2972c47be in QEventDispatcherGlib::processEvents (this=0x7fc2640008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007fc2972960af in QEventLoop::processEvents (this=this@entry=0x7fc270b3bae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc2972963a5 in QEventLoop::exec (this=this@entry=0x7fc270b3bae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fc297192c5f in QThread::exec (this=this@entry=0x1d47fb0) at thread/qthread.cpp:537
#8  0x00007fc297277823 in QInotifyFileSystemWatcherEngine::run (this=0x1d47fb0) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fc29719532f in QThreadPrivate::start (arg=0x1d47fb0) at thread/qthread_unix.cpp:349
#10 0x00007fc291636182 in start_thread (arg=0x7fc270b3c700) at pthread_create.c:312
#11 0x00007fc2963b430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fc26bfff700 (LWP 13062)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc297195816 in wait (time=18446744073709551615, this=0x1dc3950) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x20783a0, mutex=mutex@entry=0x2078398, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc29a00e79a in Digikam::ParkingThread::run (this=0x2078380) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fc29719532f in QThreadPrivate::start (arg=0x2078380) at thread/qthread_unix.cpp:349
#5  0x00007fc291636182 in start_thread (arg=0x7fc26bfff700) at pthread_create.c:312
#6  0x00007fc2963b430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fc26a95c700 (LWP 13063)):
#0  0x00007fc2963a6fbd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc28ee5dfe4 in g_main_context_poll (priority=2147483647, n_fds=1, fds=0x7fc258003280, timeout=-1, context=0x7fc2580009a0) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:4028
#2  g_main_context_iterate (context=context@entry=0x7fc2580009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3729
#3  0x00007fc28ee5e0ec in g_main_context_iteration (context=0x7fc2580009a0, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#4  0x00007fc2972c47be in QEventDispatcherGlib::processEvents (this=0x7fc2580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#5  0x00007fc2972960af in QEventLoop::processEvents (this=this@entry=0x7fc26a95bae0, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fc2972963a5 in QEventLoop::exec (this=this@entry=0x7fc26a95bae0, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fc297192c5f in QThread::exec (this=this@entry=0x24b0d50) at thread/qthread.cpp:537
#8  0x00007fc297277823 in QInotifyFileSystemWatcherEngine::run (this=0x24b0d50) at io/qfilesystemwatcher_inotify.cpp:265
#9  0x00007fc29719532f in QThreadPrivate::start (arg=0x24b0d50) at thread/qthread_unix.cpp:349
#10 0x00007fc291636182 in start_thread (arg=0x7fc26a95c700) at pthread_create.c:312
#11 0x00007fc2963b430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fc2397fa700 (LWP 13121)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc297195816 in wait (time=18446744073709551615, this=0x6f6b330) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x6f6a100, mutex=mutex@entry=0x6f6a0f8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc244142c3d in KIPIPlugins::KPRawThumbThread::run (this=0x6f6a580) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#4  0x00007fc29719532f in QThreadPrivate::start (arg=0x6f6a580) at thread/qthread_unix.cpp:349
#5  0x00007fc291636182 in start_thread (arg=0x7fc2397fa700) at pthread_create.c:312
#6  0x00007fc2963b430d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fc29c987ac0 (LWP 13056)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007fc280f01e85 in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff0ae59c00, pMem2=0x6f6de98, pColl=0x20245a8) at sqlite3.c:60470
#8  0x00007fc280f01f63 in sqlite3VdbeRecordCompare (nKey1=18, pKey1=0x7fc26c0af67f, pPKey2=pPKey2@entry=0x7fff0ae59f00) at sqlite3.c:64162
#9  0x00007fc280f16579 in sqlite3BtreeMovetoUnpacked (pCur=0x6f6cf10, pIdxKey=0x7fff0ae59f00, intKey=0, biasRight=<optimized out>, pRes=0x7fff0ae59ef0) at sqlite3.c:55077
#10 0x00007fc280f3e9c5 in sqlite3VdbeExec (p=p@entry=0x6f6db68) at sqlite3.c:70168
#11 0x00007fc280f46ed7 in sqlite3Step (p=0x6f6db68) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007fc26b1e211c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x6f69d90, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007fc26b1e2e48 in QSQLiteResult::exec (this=0x6f6a5a0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007fc29c5bbb7d in QSqlQuery::exec (this=this@entry=0x7fff0ae5a438) at kernel/qsqlquery.cpp:949
#16 0x00007fc299fc7a26 in Digikam::DatabaseCoreBackend::exec (this=0x1ca81f0, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0x00007fc299fc7aac in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1ca81f0, query=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1056
#18 0x00007fc299fc8b50 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1ca81f0, sql=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1005
#19 0x00007fc299fc8b99 in Digikam::DatabaseCoreBackend::execSql (this=0x1ca81f0, sql=..., boundValue1=..., values=values@entry=0x7fff0ae5a480, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:902
#20 0x00007fc29998c42e in Digikam::AlbumDB::getSetting (this=this@entry=0x1ca82d0, keyword=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:972
#21 0x00007fc29998cd5c in Digikam::AlbumDB::getFilterSettings (this=0x1ca82d0, imageFilter=imageFilter@entry=0x7fff0ae5a6c0, 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=0x1dc45c0) at /build/buildd/digikam-3.5.0/core/digikam/utils/albumsettings.cpp:958
#23 0x0000000000533f42 in Digikam::KipiInterface::hostSetting (this=this@entry=0x2ce9af0, settingName=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:363
#24 0x00000000005338b4 in Digikam::KipiInterface::currentSelection (this=0x2ce9af0) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:126
#25 0x00007fc24414fa06 in KIPIPlugins::KPImagesList::loadImagesFromCurrentSelection (this=0x6f37f30) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/widgets/kpimageslist.cpp:773
#26 0x00007fc213628b5b in KIPIFacebookPlugin::FbWidget::FbWidget (this=0x6f363d0, parent=<optimized out>, iface=0x2ce9af0, import=<optimized out>) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/facebook/fbwidget.cpp:70
#27 0x00007fc2136259c0 in KIPIFacebookPlugin::FbWindow::FbWindow (this=0x45bb530, tmpFolder=..., import=<optimized out>) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/facebook/fbwindow.cpp:77
#28 0x00007fc213622f0a in KIPIFacebookPlugin::Plugin_Facebook::slotExport (this=0x46f3e00) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/facebook/plugin_facebook.cpp:129
#29 0x00007fc2972ab87a in QMetaObject::activate (sender=sender@entry=0x46c2040, m=m@entry=0x7fc298733de0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff0ae5ac50) at kernel/qobject.cpp:3539
#30 0x00007fc297c83a62 in QAction::triggered (this=this@entry=0x46c2040, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#31 0x00007fc297c85433 in QAction::activate (this=this@entry=0x46c2040, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#32 0x00007fc2980b3489 in QMenuPrivate::activateCausedStack (this=this@entry=0x42618c0, causedStack=..., action=action@entry=0x46c2040, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#33 0x00007fc2980b79b9 in QMenuPrivate::activateAction (this=0x42618c0, action=0x46c2040, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#34 0x00007fc2980bb385 in QMenu::mouseReleaseEvent (this=this@entry=0x43480b0, e=e@entry=0x7fff0ae5b380) at widgets/qmenu.cpp:2372
#35 0x00007fc298a4b665 in KMenu::mouseReleaseEvent (this=0x43480b0, e=0x7fff0ae5b380) at ../../kdeui/widgets/kmenu.cpp:464
#36 0x00007fc297cd950a in QWidget::event (this=this@entry=0x43480b0, event=event@entry=0x7fff0ae5b380) at kernel/qwidget.cpp:8376
#37 0x00007fc2980bb7bb in QMenu::event (this=0x43480b0, e=0x7fff0ae5b380) at widgets/qmenu.cpp:2481
#38 0x00007fc297c89e2c in QApplicationPrivate::notify_helper (this=this@entry=0x1bd0170, receiver=receiver@entry=0x43480b0, e=e@entry=0x7fff0ae5b380) at kernel/qapplication.cpp:4567
#39 0x00007fc297c905dd in QApplication::notify (this=this@entry=0x7fff0ae5bfc0, receiver=receiver@entry=0x43480b0, e=e@entry=0x7fff0ae5b380) at kernel/qapplication.cpp:4110
#40 0x00007fc298994d1a in KApplication::notify (this=0x7fff0ae5bfc0, receiver=0x43480b0, event=0x7fff0ae5b380) at ../../kdeui/kernel/kapplication.cpp:311
#41 0x00007fc2972974dd in QCoreApplication::notifyInternal (this=0x7fff0ae5bfc0, receiver=receiver@entry=0x43480b0, event=event@entry=0x7fff0ae5b380) at kernel/qcoreapplication.cpp:953
#42 0x00007fc297c8fd93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#43 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x43480b0, event=event@entry=0x7fff0ae5b380, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x43480b0, buttonDown=buttonDown@entry=0x7fc29876f318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#44 0x00007fc297d04cfc in QETWidget::translateMouseEvent (this=this@entry=0x43480b0, event=event@entry=0x7fff0ae5b6d0) at kernel/qapplication_x11.cpp:4568
#45 0x00007fc297d04269 in QApplication::x11ProcessEvent (this=0x7fff0ae5bfc0, event=event@entry=0x7fff0ae5b6d0) at kernel/qapplication_x11.cpp:3627
#46 0x00007fc297d2bb02 in x11EventSourceDispatch (s=0x1bcaf50, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x00007fc28ee5de04 in g_main_dispatch (context=0x1bd0650) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3064
#48 g_main_context_dispatch (context=context@entry=0x1bd0650) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3663
#49 0x00007fc28ee5e048 in g_main_context_iterate (context=context@entry=0x1bd0650, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3734
#50 0x00007fc28ee5e0ec in g_main_context_iteration (context=0x1bd0650, may_block=1) at /build/buildd/glib2.0-2.40.0/./glib/gmain.c:3795
#51 0x00007fc2972c47a1 in QEventDispatcherGlib::processEvents (this=0x1afbec0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#52 0x00007fc297d2bbb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007fc2972960af in QEventLoop::processEvents (this=this@entry=0x7fff0ae5baa0, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007fc2972963a5 in QEventLoop::exec (this=this@entry=0x7fff0ae5baa0, flags=...) at kernel/qeventloop.cpp:204
#55 0x00007fc29729bb79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#56 0x00007fc297c8837c 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

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

Possible duplicates by query: bug 335055, bug 335052, bug 335020, bug 334986, bug 334853.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-05-20 05:30:10 UTC

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