Bug 342750 - Crash while try to export
Summary: Crash while try to export
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Database-Sqlite (show other bugs)
Version: 4.1.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-11 21:35 UTC by ulimoebius
Modified: 2021-04-04 14:30 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ulimoebius 2015-01-11 21:35:12 UTC
Application: digikam (3.5.0)
KDE Platform Version: 4.13.3
Qt Version: 4.8.6
Operating System: Linux 3.13.0-43-generic x86_64
Distribution: Ubuntu 14.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed:
sometime: select some picture und click export->picasaweb
some other time: select some picture and click export->picasaweb and click "upload"

this crash heappend quit often

The crash can be reproduced sometimes.

-- 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 0x7fc357f5aac0 (LWP 18043))]

Thread 8 (Thread 0x7fc33361d700 (LWP 18047)):
#0  0x00007fc351971bad in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc3381c8248 in ?? () from /lib/x86_64-linux-gnu/libusb-1.0.so.0
#2  0x00007fc34cc01182 in start_thread (arg=0x7fc33361d700) at pthread_create.c:312
#3  0x00007fc35197eefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 7 (Thread 0x7fc32c0de700 (LWP 18048)):
#0  0x00007fc351971bad in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc34a428fe4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc34a42930a in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc3399d8336 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fc34a44df05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc34cc01182 in start_thread (arg=0x7fc32c0de700) at pthread_create.c:312
#6  0x00007fc35197eefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 6 (Thread 0x7fc32b8dd700 (LWP 18049)):
#0  0x00007fc34a3fa360 in pthread_mutex_unlock@plt () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fc34a46a9b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc34a428680 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc34a428f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc34a4290ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc34a429129 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fc34a44df05 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fc34cc01182 in start_thread (arg=0x7fc32b8dd700) at pthread_create.c:312
#8  0x00007fc35197eefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 5 (Thread 0x7fc31ab09700 (LWP 18053)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc352760816 in wait (time=18446744073709551615, this=0x19c5b20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x19c5a30, mutex=mutex@entry=0x19c5a28, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d5ede in Digikam::ScanController::run (this=0x19c57a0) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007fc35276032f in QThreadPrivate::start (arg=0x19c57a0) at thread/qthread_unix.cpp:349
#5  0x00007fc34cc01182 in start_thread (arg=0x7fc31ab09700) at pthread_create.c:312
#6  0x00007fc35197eefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fc31a308700 (LWP 18054)):
#0  0x00007fc34cc047ee in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7fc308000a60) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7fc308000a60) at pthread_mutex_unlock.c:310
#2  0x00007fc34a46a9b1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc34a428718 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fc34a428f03 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fc34a4290ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fc35288f7be in QEventDispatcherGlib::processEvents (this=0x7fc3080008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:436
#7  0x00007fc3528610af in QEventLoop::processEvents (this=this@entry=0x7fc31a307ae0, flags=...) at kernel/qeventloop.cpp:149
#8  0x00007fc3528613a5 in QEventLoop::exec (this=this@entry=0x7fc31a307ae0, flags=...) at kernel/qeventloop.cpp:204
#9  0x00007fc35275dc5f in QThread::exec (this=this@entry=0x1a79bf0) at thread/qthread.cpp:537
#10 0x00007fc352842823 in QInotifyFileSystemWatcherEngine::run (this=0x1a79bf0) at io/qfilesystemwatcher_inotify.cpp:265
#11 0x00007fc35276032f in QThreadPrivate::start (arg=0x1a79bf0) at thread/qthread_unix.cpp:349
#12 0x00007fc34cc01182 in start_thread (arg=0x7fc31a308700) at pthread_create.c:312
#13 0x00007fc35197eefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fc32a8db700 (LWP 18058)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc352760816 in wait (time=18446744073709551615, this=0x2897c50) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1d01d50, mutex=mutex@entry=0x1d01d48, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc3555d979a in Digikam::ParkingThread::run (this=0x1d01d30) at /build/buildd/digikam-3.5.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007fc35276032f in QThreadPrivate::start (arg=0x1d01d30) at thread/qthread_unix.cpp:349
#5  0x00007fc34cc01182 in start_thread (arg=0x7fc32a8db700) at pthread_create.c:312
#6  0x00007fc35197eefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fc2a57fa700 (LWP 18143)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc352760816 in wait (time=18446744073709551615, this=0x5bba400) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x5ccc410, mutex=mutex@entry=0x5ccc408, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fc2916a7c3d in KIPIPlugins::KPRawThumbThread::run (this=0x5ccc890) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#4  0x00007fc35276032f in QThreadPrivate::start (arg=0x5ccc890) at thread/qthread_unix.cpp:349
#5  0x00007fc34cc01182 in start_thread (arg=0x7fc2a57fa700) at pthread_create.c:312
#6  0x00007fc35197eefd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fc357f5aac0 (LWP 18043)):
[KCrash Handler]
#6  0x0000000001c18a40 in ?? ()
#7  0x00007fc33c4c9dac in sqlite3MemCompare (pMem1=pMem1@entry=0x7fffcba35290, pMem2=<optimized out>, pColl=0x1c305d8) at sqlite3.c:60484
#8  0x00007fc33c4c9f63 in sqlite3VdbeRecordCompare (nKey1=18, pKey1=0x7fc310310d5e, pPKey2=pPKey2@entry=0x7fffcba35590) at sqlite3.c:64162
#9  0x00007fc33c4de579 in sqlite3BtreeMovetoUnpacked (pCur=0x63eabc0, pIdxKey=0x7fffcba35590, intKey=0, biasRight=<optimized out>, pRes=0x7fffcba35580) at sqlite3.c:55077
#10 0x00007fc33c5069c5 in sqlite3VdbeExec (p=p@entry=0x6f34a08) at sqlite3.c:70168
#11 0x00007fc33c50eed7 in sqlite3Step (p=0x6f34a08) at sqlite3.c:64828
#12 sqlite3_step (pStmt=<optimized out>) at sqlite3.c:64894
#13 0x00007fc31910211c in QSQLiteResultPrivate::fetchNext (this=this@entry=0x5d24410, values=..., idx=idx@entry=0, initialFetch=initialFetch@entry=true) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:235
#14 0x00007fc319102e48 in QSQLiteResult::exec (this=0x6e33b60) at ../../../sql/drivers/sqlite/qsql_sqlite.cpp:447
#15 0x00007fc357b87b7d in QSqlQuery::exec (this=this@entry=0x7fffcba35ac8) at kernel/qsqlquery.cpp:949
#16 0x00007fc355592a26 in Digikam::DatabaseCoreBackend::exec (this=0x1ab0560, query=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1414
#17 0x00007fc355592aac in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1ab0560, query=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1056
#18 0x00007fc355593b50 in Digikam::DatabaseCoreBackend::execQuery (this=this@entry=0x1ab0560, sql=..., boundValue1=...) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:1005
#19 0x00007fc355593b99 in Digikam::DatabaseCoreBackend::execSql (this=0x1ab0560, sql=..., boundValue1=..., values=values@entry=0x7fffcba35b10, lastInsertId=lastInsertId@entry=0x0) at /build/buildd/digikam-3.5.0/core/libs/database/core/databasecorebackend.cpp:902
#20 0x00007fc354f5742e in Digikam::AlbumDB::getSetting (this=this@entry=0x1abda20, keyword=...) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:972
#21 0x00007fc354f57d5c in Digikam::AlbumDB::getFilterSettings (this=0x1abda20, imageFilter=imageFilter@entry=0x7fffcba35d60, videoFilter=videoFilter@entry=0x7fffcba35d80, audioFilter=audioFilter@entry=0x7fffcba35d70) at /build/buildd/digikam-3.5.0/core/libs/database/albumdb.cpp:1017
#22 0x00007fc354f6d61a in Digikam::CollectionScanner::loadNameFilters (this=this@entry=0x7fffcba35f60) at /build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:408
#23 0x00007fc354f6dd53 in Digikam::CollectionScanner::mainEntryPoint (this=this@entry=0x7fffcba35f60, complete=complete@entry=false) at /build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:806
#24 0x00007fc354f703e4 in Digikam::CollectionScanner::scanFile (this=this@entry=0x7fffcba35f60, fi=..., albumId=1259, imageId=imageId@entry=42641, mode=mode@entry=Digikam::CollectionScanner::NormalScan) at /build/buildd/digikam-3.5.0/core/libs/database/collectionscanner.cpp:767
#25 0x00007fc354f70613 in Digikam::CollectionScanner::scanFile (this=this@entry=0x7fffcba35f60, 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=0x19c57a0, filePath=...) at /build/buildd/digikam-3.5.0/core/digikam/database/scancontroller.cpp:560
#27 0x000000000052a30a in Digikam::KipiImageInfo::KipiImageInfo (this=0x6e279a0, interface=<optimized out>, url=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiimageinfo.cpp:85
#28 0x000000000053324e in Digikam::KipiInterface::info (this=0x38f7bd0, url=...) at /build/buildd/digikam-3.5.0/core/utilities/kipiiface/kipiinterface.cpp:175
#29 0x00007fc29169e365 in attribute (name=..., this=0x391ee80) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:73
#30 hasAttribute (name=..., this=0x391ee80) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:100
#31 KIPIPlugins::KPImageInfo::hasName (this=this@entry=0x7fffcba361f0) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:316
#32 0x00007fc2916a1edc in KIPIPlugins::KPImageInfo::name (this=this@entry=0x7fffcba361f0) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kpimageinfo.cpp:299
#33 0x00007fc28aa78350 in KIPIPicasawebExportPlugin::PicasawebWindow::slotListPhotosDoneForUpload (this=0x5d5c840, errCode=<optimized out>, errMsg=..., photosList=...) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/picasawebexport/picasawebwindow.cpp:425
#34 0x00007fc35287687a in QMetaObject::activate (sender=sender@entry=0x618f5f0, m=m@entry=0x7fc28ac84fc0 <KIPIPicasawebExportPlugin::PicasawebTalker::staticMetaObject>, local_signal_index=local_signal_index@entry=5, argv=argv@entry=0x7fffcba364c0) at kernel/qobject.cpp:3539
#35 0x00007fc28aa66a9b in KIPIPicasawebExportPlugin::PicasawebTalker::signalListPhotosDone (this=this@entry=0x618f5f0, _t1=_t1@entry=0, _t2=..., _t3=...) at /build/buildd/digikam-3.5.0/obj-x86_64-linux-gnu/extra/kipi-plugins/picasawebexport/picasawebtalker.moc:175
#36 0x00007fc28aa6d790 in KIPIPicasawebExportPlugin::PicasawebTalker::parseResponseListPhotos (this=this@entry=0x618f5f0, data=...) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/picasawebexport/picasawebtalker.cpp:928
#37 0x00007fc28aa6fa9c in KIPIPicasawebExportPlugin::PicasawebTalker::slotResult (this=0x618f5f0, job=0x4b89c00) at /build/buildd/digikam-3.5.0/extra/kipi-plugins/picasawebexport/picasawebtalker.cpp:691
#38 0x00007fc28aa6fb9c in KIPIPicasawebExportPlugin::PicasawebTalker::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/picasawebexport/picasawebtalker.moc:91
#39 0x00007fc35287687a in QMetaObject::activate (sender=sender@entry=0x4b89c00, m=m@entry=0x7fc35307c600 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fffcba36910) at kernel/qobject.cpp:3539
#40 0x00007fc352cec6d2 in KJob::result (this=this@entry=0x4b89c00, _t1=_t1@entry=0x4b89c00) at ./kjob.moc:207
#41 0x00007fc352cec710 in KJob::emitResult (this=this@entry=0x4b89c00) at ../../kdecore/jobs/kjob.cpp:318
#42 0x00007fc3546ba39a in KIO::SimpleJob::slotFinished (this=this@entry=0x4b89c00) at ../../kio/kio/job.cpp:496
#43 0x00007fc3546bb4ee in KIO::TransferJob::slotFinished (this=0x4b89c00) at ../../kio/kio/job.cpp:1110
#44 0x00007fc35287687a in QMetaObject::activate (sender=0x618e8a0, m=m@entry=0x7fc354a63580 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#45 0x00007fc354758533 in KIO::SlaveInterface::finished (this=<optimized out>) at ./slaveinterface.moc:184
#46 0x00007fc354759a76 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:176
#47 0x00007fc35475756e in KIO::SlaveInterface::dispatch (this=0x618e8a0) at ../../kio/kio/slaveinterface.cpp:92
#48 0x00007fc35474c1e6 in KIO::Slave::gotInput (this=0x618e8a0) at ../../kio/kio/slave.cpp:344
#49 0x00007fc35287687a in QMetaObject::activate (sender=0x618d020, m=m@entry=0x7fc354a5caa0 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#50 0x00007fc354687b40 in KIO::Connection::readyRead (this=<optimized out>) at ./connection.moc:105
#51 0x00007fc354688231 in KIO::ConnectionPrivate::dequeue (this=0x5d23a20) at ../../kio/kio/connection.cpp:82
#52 0x00007fc35287ac1e in QObject::event (this=0x618d020, e=<optimized out>) at kernel/qobject.cpp:1194
#53 0x00007fc353254e2c in QApplicationPrivate::notify_helper (this=this@entry=0x178b4f0, receiver=receiver@entry=0x618d020, e=e@entry=0x6f4ee00) at kernel/qapplication.cpp:4567
#54 0x00007fc35325b4a0 in QApplication::notify (this=this@entry=0x7fffcba37a80, receiver=receiver@entry=0x618d020, e=e@entry=0x6f4ee00) at kernel/qapplication.cpp:4353
#55 0x00007fc353f5fd1a in KApplication::notify (this=0x7fffcba37a80, receiver=0x618d020, event=0x6f4ee00) at ../../kdeui/kernel/kapplication.cpp:311
#56 0x00007fc3528624dd in QCoreApplication::notifyInternal (this=0x7fffcba37a80, receiver=receiver@entry=0x618d020, event=event@entry=0x6f4ee00) at kernel/qcoreapplication.cpp:953
#57 0x00007fc352865b3d in sendEvent (event=0x6f4ee00, receiver=0x618d020) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#58 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x170da60) at kernel/qcoreapplication.cpp:1577
#59 0x00007fc352865fe3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1470
#60 0x00007fc35288ff83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#61 postEventSourceDispatch (s=0x178bfb0) at kernel/qeventdispatcher_glib.cpp:287
#62 0x00007fc34a428e04 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#63 0x00007fc34a429048 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#64 0x00007fc34a4290ec in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#65 0x00007fc35288f7a1 in QEventDispatcherGlib::processEvents (this=0x16b6b50, flags=...) at kernel/qeventdispatcher_glib.cpp:434
#66 0x00007fc3532f6bb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#67 0x00007fc3528610af in QEventLoop::processEvents (this=this@entry=0x7fffcba37560, flags=...) at kernel/qeventloop.cpp:149
#68 0x00007fc3528613a5 in QEventLoop::exec (this=this@entry=0x7fffcba37560, flags=...) at kernel/qeventloop.cpp:204
#69 0x00007fc352866b79 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1225
#70 0x00007fc35325337c in QApplication::exec () at kernel/qapplication.cpp:3828
#71 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 342143, bug 341529, bug 341424, bug 339650, bug 339070.

Report to https://bugs.kde.org/

Reproducible: Sometimes

Steps to Reproduce:
sometime: select some picture und click export->picasaweb
some other time: select some picture and click export->picasaweb and click "upload"

Actual Results:  
crash

Expected Results:  
upload
Comment 1 caulier.gilles 2015-01-11 21:38:34 UTC

*** This bug has been marked as a duplicate of bug 329697 ***
Comment 2 caulier.gilles 2021-04-04 14:30:22 UTC
fixed with #329697