Bug 341424 - digiKam crashes when cancelling export
Summary: digiKam crashes when cancelling export
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 4.0.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2014-11-30 01:30 UTC by jabog6
Modified: 2021-05-10 14:56 UTC (History)
2 users (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 jabog6 2014-11-30 01:30:57 UTC
Application: digikam (4.0.0)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 3.13.0-39-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
uploading a number of pictures to a folder on Picasaweb.  When I realized that it was the wrong folder, I hit "Close" in the "Export to Picasa Web Service" window, and all of digiKam crashed.

-- 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 0x7f1a86a32ac0 (LWP 6095))]

Thread 6 (Thread 0x7f1a5a9a4700 (LWP 6114)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1a81874816 in wait (time=18446744073709551615, this=0x2b12a90) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2b129a0, mutex=mutex@entry=0x2b12998, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005e3d9e in Digikam::ScanController::run (this=0x2b12710) at /build/buildd/digikam-4.0.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f1a8187432f in QThreadPrivate::start (arg=0x2b12710) at thread/qthread_unix.cpp:349
#5  0x00007f1a7b1078f4 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f1a7c076182 in start_thread (arg=0x7f1a5a9a4700) at pthread_create.c:312
#7  0x00007f1a7fb9afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7f1a5a1a3700 (LWP 6115)):
#0  0x00007f1a7fb8dc6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1a78ae9fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a78aea0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a819a37be in QEventDispatcherGlib::processEvents (this=0x7f1a4c0008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f1a819750af in QEventLoop::processEvents (this=this@entry=0x7f1a5a1a2a20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1a819753a5 in QEventLoop::exec (this=this@entry=0x7f1a5a1a2a20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1a81871c5f in QThread::exec (this=this@entry=0x2b14ed0) at thread/qthread.cpp:537
#7  0x00007f1a81956823 in QInotifyFileSystemWatcherEngine::run (this=0x2b14ed0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f1a8187432f in QThreadPrivate::start (arg=0x2b14ed0) at thread/qthread_unix.cpp:349
#9  0x00007f1a7b1078f4 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#10 0x00007f1a7c076182 in start_thread (arg=0x7f1a5a1a3700) at pthread_create.c:312
#11 0x00007f1a7fb9afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7f1a599a2700 (LWP 6135)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1a81874816 in wait (time=18446744073709551615, this=0x2b93500) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x3018160, mutex=mutex@entry=0x3018158, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f1a840b48aa in Digikam::ParkingThread::run (this=0x3018140) at /build/buildd/digikam-4.0.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f1a8187432f in QThreadPrivate::start (arg=0x3018140) at thread/qthread_unix.cpp:349
#5  0x00007f1a7b1078f4 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f1a7c076182 in start_thread (arg=0x7f1a599a2700) at pthread_create.c:312
#7  0x00007f1a7fb9afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f1a4bfff700 (LWP 6136)):
#0  0x00007f1a7fb8dc6d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f1a78ae9fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f1a78aea0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f1a819a37be in QEventDispatcherGlib::processEvents (this=0x7f1a440008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#4  0x00007f1a819750af in QEventLoop::processEvents (this=this@entry=0x7f1a4bffea20, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1a819753a5 in QEventLoop::exec (this=this@entry=0x7f1a4bffea20, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f1a81871c5f in QThread::exec (this=this@entry=0x313f9f0) at thread/qthread.cpp:537
#7  0x00007f1a81956823 in QInotifyFileSystemWatcherEngine::run (this=0x313f9f0) at io/qfilesystemwatcher_inotify.cpp:265
#8  0x00007f1a8187432f in QThreadPrivate::start (arg=0x313f9f0) at thread/qthread_unix.cpp:349
#9  0x00007f1a7b1078f4 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#10 0x00007f1a7c076182 in start_thread (arg=0x7f1a4bfff700) at pthread_create.c:312
#11 0x00007f1a7fb9afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f1a02ff5700 (LWP 6418)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f1a81874816 in wait (time=18446744073709551615, this=0x73e20c0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x716a000, mutex=mutex@entry=0x7169ff8, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f1a0c5d0c6d in KIPIPlugins::KPRawThumbThread::run (this=0x73e21a0) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#4  0x00007f1a8187432f in QThreadPrivate::start (arg=0x73e21a0) at thread/qthread_unix.cpp:349
#5  0x00007f1a7b1078f4 in ?? () from /usr/lib/nvidia-304/libGL.so.1
#6  0x00007f1a7c076182 in start_thread (arg=0x7f1a02ff5700) at pthread_create.c:312
#7  0x00007f1a7fb9afbd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f1a86a32ac0 (LWP 6095)):
[KCrash Handler]
#6  0x00000000062c4660 in ?? ()
#7  0x00007f1a6abb9dac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fff0c289c10, pMem2=<optimized out>, pColl=0x86bb598) at sqlite3.c:60484
#8  0x00007f1a6abb9f63 in sqlite3VdbeRecordCompare (nKey1=24, pKey1=0x7f1a5419e55e, pPKey2=pPKey2@entry=0x7fff0c289f10) at sqlite3.c:64162
#9  0x00007f1a6abce579 in sqlite3BtreeMovetoUnpacked (pCur=0x2f10d90, pIdxKey=0x7fff0c289f10, intKey=0, biasRight=<optimized out>, pRes=0x7fff0c289f00) at sqlite3.c:55077
#10 0x00007f1a6abf69c5 in sqlite3VdbeExec (p=p@entry=0x83b8e98) at sqlite3.c:70168
#11 0x00007f1a6abfeed7 in sqlite3Step (p=0x83b8e98) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007f1a5897b11c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x83c66a0, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007f1a5897be48 in QSQLiteResult::exec (this=0x34eb3f0) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007f1a8666ab7d in QSqlQuery::exec (this=this@entry=0x7fff0c28a448) at kernel/qsqlquery.cpp:949
#16 0x00007f1a8406da46 in Digikam::DatabaseCoreBackend::exec (this=0x2b8dc80, query=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1415
#17 0x00007f1a8406dacc in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2b8dc80, query=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1057
#18 0x00007f1a8406eb70 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x2b8dc80, sql=..., boundValue1=...) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:1006
#19 0x00007f1a8406ebb9 in Digikam::DatabaseCoreBackend::execSql (this=0x2b8dc80, sql=..., boundValue1=..., values=values@entry=0x7fff0c28a490, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/core/databasecorebackend.cpp:903
#20 0x00007f1a83a2fe2e in Digikam::AlbumDB::getSetting (this=this@entry=0x2b8e720, keyword=...) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:972
#21 0x00007f1a83a3075c in Digikam::AlbumDB::getFilterSettings (this=0x2b8e720, imageFilter=imageFilter@entry=0x7fff0c28a6d0, videoFilter=videoFilter@entry=0x0, audioFilter=audioFilter@entry=0x0) at /build/buildd/digikam-4.0.0/core/libs/database/albumdb.cpp:1017
#22 0x00000000006581a0 in Digikam::AlbumSettings::getRawFileFilter (this=this@entry=0x2da7520) at /build/buildd/digikam-4.0.0/core/digikam/utils/albumsettings.cpp:962
#23 0x000000000053dc62 in Digikam::KipiInterface::hostSetting (this=this@entry=0x5c28400, settingName=...) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:363
#24 0x000000000053e847 in Digikam::KipiInterface::currentSelection (this=0x5c28400) at /build/buildd/digikam-4.0.0/core/utilities/kipiiface/kipiinterface.cpp:126
#25 0x00007f1a0c5dda56 in KIPIPlugins::KPImagesList::loadImagesFromCurrentSelection (this=0x6aabf70) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/common/libkipiplugins/widgets/kpimageslist.cpp:773
#26 0x00007f19fda46c58 in KIPIPicasawebExportPlugin::PicasawebWindow::reactivate (this=0x70c5f00) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/picasawebexport/picasawebwindow.cpp:248
#27 0x00007f19fda38917 in KIPIPicasawebExportPlugin::Plugin_PicasawebExport::slotExport (this=0x5d0d800) at /build/buildd/digikam-4.0.0/extra/kipi-plugins/picasawebexport/plugin_picasawebexport.cpp:144
#28 0x00007f1a8198a87a in QMetaObject::activate (sender=sender@entry=0x5ec6020, m=m@entry=0x7f1a8153ede0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff0c28aab0) at kernel/qobject.cpp:3539
#29 0x00007f1a80a8ea62 in QAction::triggered (this=this@entry=0x5ec6020, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#30 0x00007f1a80a90433 in QAction::activate (this=this@entry=0x5ec6020, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#31 0x00007f1a80ebe489 in QMenuPrivate::activateCausedStack (this=this@entry=0x54b4c50, causedStack=..., action=action@entry=0x5ec6020, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1038
#32 0x00007f1a80ec29b9 in QMenuPrivate::activateAction (this=0x54b4c50, action=0x5ec6020, action_e=action_e@entry=QAction::Trigger, self=self@entry=true) at widgets/qmenu.cpp:1130
#33 0x00007f1a80ec6385 in QMenu::mouseReleaseEvent (this=this@entry=0x54b4a80, e=e@entry=0x7fff0c28b1e0) at widgets/qmenu.cpp:2372
#34 0x00007f1a82477615 in KMenu::mouseReleaseEvent (this=0x54b4a80, e=0x7fff0c28b1e0) at ../../kdeui/widgets/kmenu.cpp:464
#35 0x00007f1a80ae450a in QWidget::event (this=this@entry=0x54b4a80, event=event@entry=0x7fff0c28b1e0) at kernel/qwidget.cpp:8376
#36 0x00007f1a80ec67bb in QMenu::event (this=0x54b4a80, e=0x7fff0c28b1e0) at widgets/qmenu.cpp:2481
#37 0x00007f1a80a94e2c in QApplicationPrivate::notify_helper (this=this@entry=0x29c3ec0, receiver=receiver@entry=0x54b4a80, e=e@entry=0x7fff0c28b1e0) at kernel/qapplication.cpp:4567
#38 0x00007f1a80a9b5dd in QApplication::notify (this=this@entry=0x7fff0c28be20, receiver=receiver@entry=0x54b4a80, e=e@entry=0x7fff0c28b1e0) at kernel/qapplication.cpp:4110
#39 0x00007f1a823c0cca in KApplication::notify (this=0x7fff0c28be20, receiver=0x54b4a80, event=0x7fff0c28b1e0) at ../../kdeui/kernel/kapplication.cpp:311
#40 0x00007f1a819764dd in QCoreApplication::notifyInternal (this=0x7fff0c28be20, receiver=receiver@entry=0x54b4a80, event=event@entry=0x7fff0c28b1e0) at kernel/qcoreapplication.cpp:953
#41 0x00007f1a80a9ad93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#42 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x54b4a80, event=event@entry=0x7fff0c28b1e0, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x54b4a80, buttonDown=buttonDown@entry=0x7f1a8157a318 <qt_button_down>, lastMouseReceiver=..., spontaneous=spontaneous@entry=true) at kernel/qapplication.cpp:3178
#43 0x00007f1a80b0fcfc in QETWidget::translateMouseEvent (this=this@entry=0x54b4a80, event=event@entry=0x7fff0c28b530) at kernel/qapplication_x11.cpp:4568
#44 0x00007f1a80b0f269 in QApplication::x11ProcessEvent (this=0x7fff0c28be20, event=event@entry=0x7fff0c28b530) at kernel/qapplication_x11.cpp:3627
#45 0x00007f1a80b36b02 in x11EventSourceDispatch (s=0x29c3900, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#46 0x00007f1a78ae9e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#47 0x00007f1a78aea048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007f1a78aea0ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f1a819a37a1 in QEventDispatcherGlib::processEvents (this=0x28da5d0, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#50 0x00007f1a80b36bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0x00007f1a819750af in QEventLoop::processEvents (this=this@entry=0x7fff0c28b900, flags=...) at kernel/qeventloop.cpp:149
#52 0x00007f1a819753a5 in QEventLoop::exec (this=this@entry=0x7fff0c28b900, flags=...) at kernel/qeventloop.cpp:204
#53 0x00007f1a8197ab79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#54 0x00007f1a80a9337c in QApplication::exec () at kernel/qapplication.cpp:3828
#55 0x00000000004948f0 in main (argc=<optimized out>, argv=<optimized out>) at /build/buildd/digikam-4.0.0/core/digikam/main/main.cpp:236

Possible duplicates by query: bug 339650, bug 339070, bug 339068, bug 338448, bug 338358.

Reported using DrKonqi
Comment 1 caulier.gilles 2014-12-10 17:52:58 UTC
digiKam 4.5.0 have been released.

Crash still reproducible with this release ?

Gilles Caulier
Comment 2 caulier.gilles 2015-03-25 08:50:13 UTC
Problem still reproducible with last stable digiKam 4.8.0 ?

Gilles Caulier
Comment 3 caulier.gilles 2015-05-10 08:28:24 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 4 caulier.gilles 2021-05-10 14:56:45 UTC
Fixed with #329697