Bug 289725

Summary: Crash during upload on Picasaweb
Product: [Applications] digikam Reporter: Frédéric COIFFIER <frederic.coiffier>
Component: Plugin-WebService-GoogleAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 2.5.0
Sentry Crash Report:

Description Frédéric COIFFIER 2011-12-24 10:21:51 UTC
Application: digikam (2.4.1)
KDE Platform Version: 4.7.95 (4.8 RC1 (4.7.95)
Qt Version: 4.7.4
Operating System: Linux 3.1.5-gentoo x86_64
Distribution: "Gentoo Base System release 2.1"

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

I have reproduced the problem twice : When I upload only one photo on Picasa, Digikam crashes.

I tested few days ago and it worked fine but I usually upload several photos and I have upgraded my KDE 4.8rc1 (I don't know if there is a link)

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fb7d7f177e0 (LWP 14023))]

Thread 5 (Thread 0x7fb7d3378700 (LWP 14024)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000392a67a69b in wait (time=18446744073709551615, this=0x1b9b850) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1b9b6d8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005be928 in Digikam::ScanController::run (this=0x1b9b320) at /hdf/tmp/portage/media-gfx/digikam-2.4.1/work/digikam-2.4.1/core/digikam/database/scancontroller.cpp:647
#4  0x000000392a679fb5 in QThreadPrivate::start (arg=0x1b9b320) at thread/qthread_unix.cpp:331
#5  0x0000003c52e07d0c in start_thread (arg=0x7fb7d3378700) at pthread_create.c:301
#6  0x0000003c522dc88d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7fb7d2b77700 (LWP 14025)):
#0  0x0000003c52e0a324 in __pthread_mutex_lock (mutex=0x1c4b028) at pthread_mutex_lock.c:61
#1  0x0000003c56246615 in g_main_context_prepare (context=0x1c4b020, priority=0x7fb7d2b76c4c) at gmain.c:2764
#2  0x0000003c56247409 in g_main_context_iterate (context=0x1c4b020, block=1, dispatch=1, self=<optimized out>) at gmain.c:3069
#3  0x0000003c56247a41 in g_main_context_iteration (context=0x1c4b020, may_block=1) at gmain.c:3152
#4  0x000000392a78d046 in QEventDispatcherGlib::processEvents (this=0x1a32620, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x000000392a761442 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x000000392a761684 in QEventLoop::exec (this=0x7fb7d2b76d60, flags=...) at kernel/qeventloop.cpp:201
#7  0x000000392a677764 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x000000392a742ff8 in QInotifyFileSystemWatcherEngine::run (this=0x1c49010) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x000000392a679fb5 in QThreadPrivate::start (arg=0x1c49010) at thread/qthread_unix.cpp:331
#10 0x0000003c52e07d0c in start_thread (arg=0x7fb7d2b77700) at pthread_create.c:301
#11 0x0000003c522dc88d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7fb7d2376700 (LWP 14027)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000392a67a69b in wait (time=18446744073709551615, this=0x1cb12a0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1bebf68, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000030da32fcb7 in Digikam::ParkingThread::run (this=0x1bebf50) at /hdf/tmp/portage/media-gfx/digikam-2.4.1/work/digikam-2.4.1/core/libs/threads/threadmanager.cpp:119
#4  0x000000392a679fb5 in QThreadPrivate::start (arg=0x1bebf50) at thread/qthread_unix.cpp:331
#5  0x0000003c52e07d0c in start_thread (arg=0x7fb7d2376700) at pthread_create.c:301
#6  0x0000003c522dc88d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7fb7beb30700 (LWP 14049)):
#0  pthread_cond_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x000000392a67a69b in wait (time=18446744073709551615, this=0x5ad4160) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x37f4648, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fb7c983b6f4 in KIPIPlugins::LoadRawThumbThread::run (this=0x4a48a70) at /hdf/tmp/portage/media-plugins/kipi-plugins-2.4.1/work/digikam-2.4.1/extra/kipi-plugins/common/libkipiplugins/dialogs/imagedialog.cpp:547
#4  0x000000392a679fb5 in QThreadPrivate::start (arg=0x4a48a70) at thread/qthread_unix.cpp:331
#5  0x0000003c52e07d0c in start_thread (arg=0x7fb7beb30700) at pthread_create.c:301
#6  0x0000003c522dc88d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7fb7d7f177e0 (LWP 14023)):
[KCrash Handler]
#6  QString (other=..., this=0x53b4700) at /usr/include/qt4/QtCore/qstring.h:728
#7  node_create (avalue=..., akey=..., aupdate=0x7fffc612e7e0, adt=0x53ad170, this=<optimized out>) at /usr/include/qt4/QtCore/qmap.h:453
#8  QMap<QString, QVariant>::detach_helper (this=0x7fffc612ed40) at /usr/include/qt4/QtCore/qmap.h:760
#9  0x00007fb7c60c081c in detach (this=0x7fffc612ed40) at /usr/include/qt4/QtCore/qmap.h:202
#10 operator[] (akey=..., this=0x7fffc612ed40) at /usr/include/qt4/QtCore/qmap.h:526
#11 KIPIPicasawebExportPlugin::PicasawebWindow::slotListPhotosDoneForUpload (this=0x4c78bf0, errCode=<optimized out>, errMsg=<optimized out>, photosList=...) at /hdf/tmp/portage/media-plugins/kipi-plugins-2.4.1/work/digikam-2.4.1/extra/kipi-plugins/picasawebexport/picasawebwindow.cpp:432
#12 0x00007fb7c60c192a in KIPIPicasawebExportPlugin::PicasawebWindow::qt_metacall (this=0x4c78bf0, _c=<optimized out>, _id=<optimized out>, _a=0x7fffc612eef0) at /hdf/tmp/portage/media-plugins/kipi-plugins-2.4.1/work/kipi-plugins-2.4.1_build/picasawebexport/picasawebwindow.moc:115
#13 0x000000392a776867 in QMetaObject::activate (sender=0x54f8ea0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc612eef0) at kernel/qobject.cpp:3278
#14 0x00007fb7c60ada3b in KIPIPicasawebExportPlugin::PicasawebTalker::signalListPhotosDone (this=<optimized out>, _t1=0, _t2=<optimized out>, _t3=<optimized out>) at /hdf/tmp/portage/media-plugins/kipi-plugins-2.4.1/work/kipi-plugins-2.4.1_build/picasawebexport/picasawebtalker.moc:162
#15 0x00007fb7c60b4f88 in KIPIPicasawebExportPlugin::PicasawebTalker::parseResponseListPhotos (this=0x54f8ea0, data=<optimized out>) at /hdf/tmp/portage/media-plugins/kipi-plugins-2.4.1/work/digikam-2.4.1/extra/kipi-plugins/picasawebexport/picasawebtalker.cpp:883
#16 0x00007fb7c60b6244 in KIPIPicasawebExportPlugin::PicasawebTalker::slotResult (this=0x54f8ea0, job=0x36dd310) at /hdf/tmp/portage/media-plugins/kipi-plugins-2.4.1/work/digikam-2.4.1/extra/kipi-plugins/picasawebexport/picasawebtalker.cpp:663
#17 0x00007fb7c60b6583 in KIPIPicasawebExportPlugin::PicasawebTalker::qt_metacall (this=0x54f8ea0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffc612f920) at /hdf/tmp/portage/media-plugins/kipi-plugins-2.4.1/work/kipi-plugins-2.4.1_build/picasawebexport/picasawebtalker.moc:115
#18 0x000000392a776867 in QMetaObject::activate (sender=0x36dd310, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc612f920) at kernel/qobject.cpp:3278
#19 0x00007fb7dab93e82 in KJob::result (this=<optimized out>, _t1=0x36dd310) at /hdf/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95_build/kdecore/kjob.moc:194
#20 0x00007fb7dab93ec0 in KJob::emitResult (this=0x36dd310) at /hdf/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kdecore/jobs/kjob.cpp:318
#21 0x00007fb7db6c7fed in KIO::SimpleJob::slotFinished (this=0x36dd310) at /hdf/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kio/kio/job.cpp:494
#22 0x00007fb7db6cbfc2 in KIO::TransferJob::slotFinished (this=0x36dd310) at /hdf/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kio/kio/job.cpp:1081
#23 0x00007fb7db6d1dc1 in KIO::TransferJob::qt_metacall (this=0x36dd310, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffc612fd60) at /hdf/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95_build/kio/jobclasses.moc:369
#24 0x000000392a776867 in QMetaObject::activate (sender=0x4af5ad0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#25 0x00007fb7db775611 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at /hdf/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kio/kio/slaveinterface.cpp:172
#26 0x00007fb7db77253d in KIO::SlaveInterface::dispatch (this=0x4af5ad0) at /hdf/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kio/kio/slaveinterface.cpp:88
#27 0x00007fb7db76560e in KIO::Slave::gotInput (this=0x4af5ad0) at /hdf/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kio/kio/slave.cpp:344
#28 0x00007fb7db765d4c in KIO::Slave::qt_metacall (this=0x4af5ad0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffc61301d0) at /hdf/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95_build/kio/slave.moc:82
#29 0x000000392a776867 in QMetaObject::activate (sender=0x54fa090, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#30 0x00007fb7db698f57 in KIO::ConnectionPrivate::dequeue (this=0x370fca0) at /hdf/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kio/kio/connection.cpp:82
#31 0x00007fb7db69900d in KIO::Connection::qt_metacall (this=0x54fa090, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x4c74aa0) at /hdf/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95_build/kio/connection.moc:79
#32 0x000000392a77636a in QObject::event (this=0x54fa090, e=<optimized out>) at kernel/qobject.cpp:1217
#33 0x000000392adc9d04 in QApplicationPrivate::notify_helper (this=0x191f530, receiver=0x54fa090, e=0x4edf960) at kernel/qapplication.cpp:4481
#34 0x000000392adce87a in QApplication::notify (this=<optimized out>, receiver=0x54fa090, e=0x4edf960) at kernel/qapplication.cpp:4360
#35 0x00007fb7db18f786 in KApplication::notify (this=0x7fffc6130dd0, receiver=0x54fa090, event=0x4edf960) at /hdf/tmp/portage/kde-base/kdelibs-4.7.95/work/kdelibs-4.7.95/kdeui/kernel/kapplication.cpp:311
#36 0x000000392a76209b in QCoreApplication::notifyInternal (this=0x7fffc6130dd0, receiver=0x54fa090, event=0x4edf960) at kernel/qcoreapplication.cpp:787
#37 0x000000392a765854 in sendEvent (event=0x4edf960, receiver=0x54fa090) at kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x18c1610) at kernel/qcoreapplication.cpp:1428
#39 0x000000392a78ce53 in sendPostedEvents () at kernel/qcoreapplication.h:220
#40 postEventSourceDispatch (s=0x1921c00) at kernel/qeventdispatcher_glib.cpp:277
#41 0x0000003c56247072 in g_main_dispatch (context=0x1922210) at gmain.c:2441
#42 g_main_context_dispatch (context=0x1922210) at gmain.c:3011
#43 0x0000003c56247868 in g_main_context_iterate (context=0x1922210, block=1, dispatch=1, self=<optimized out>) at gmain.c:3089
#44 0x0000003c56247a41 in g_main_context_iteration (context=0x1922210, may_block=1) at gmain.c:3152
#45 0x000000392a78cfef in QEventDispatcherGlib::processEvents (this=0x18c31f0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#46 0x000000392ae6f3fe in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x000000392a761442 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x000000392a761684 in QEventLoop::exec (this=0x7fffc6130c00, flags=...) at kernel/qeventloop.cpp:201
#49 0x000000392a765b0b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#50 0x000000000068b9cd in main (argc=26305536, argv=0x7fff00000000) at /hdf/tmp/portage/media-gfx/digikam-2.4.1/work/digikam-2.4.1/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 Frédéric COIFFIER 2011-12-27 10:12:26 UTC
In fact, it seems that all Kipi export plugins are broken (Picasa, Facebook, Email...)
Comment 2 caulier.gilles 2011-12-27 16:30:36 UTC
Not reprodicble here. Sound like a broken binary compatibility with packages between digiKam and kipi-plugins.

Gilles Caulier
Comment 3 Frédéric COIFFIER 2011-12-27 18:46:46 UTC
You are right : I didn't rebuild Digikam and kipi-plugins after installing last libkipi 4.8rc1.

So, now that I have rebuilt Digikam, kipi-plugins, everything works fine.
Thank you Gilles.