Bug 299071

Summary: Digikam crashed on export of one image to picasaweb
Product: [Applications] digikam Reporter: Raphael Ackermann <raphael.ackermann>
Component: Albums-PluginsAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.1.1   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.6.0
Sentry Crash Report:

Description Raphael Ackermann 2012-04-29 23:40:55 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.8.2 (4.8.2)
Qt Version: 4.8.1
Operating System: Linux 3.0.0-19-generic x86_64
Distribution: Ubuntu 11.10

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

I tried to export an image to a folder in picasaweb. Pressing Start Upload just causes this crash. All the time.

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

Thread 6 (Thread 0x7fdc303cc700 (LWP 7457)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fdc4e0c85ab in wait (time=18446744073709551615, this=0x23b5350) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x23b5248, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005c2e20 in Digikam::ScanController::run (this=0x23b4fe0) at /build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#4  0x00007fdc4e0c809b in QThreadPrivate::start (arg=0x23b4fe0) at thread/qthread_unix.cpp:298
#5  0x00007fdc48ba5efc in start_thread (arg=0x7fdc303cc700) at pthread_create.c:304
#6  0x00007fdc4d37059d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7fdc2fbcb700 (LWP 7458)):
#0  0x00007fdc48ba91fd in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x23e1d58) at pthread_mutex_unlock.c:290
#2  0x00007fdc46c81fe4 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdc46c82dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fdc46c83429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fdc4e1f65a6 in QEventDispatcherGlib::processEvents (this=0x23e1c70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007fdc4e1c5d82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007fdc4e1c5fd7 in QEventLoop::exec (this=0x7fdc2fbcab30, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007fdc4e0c5077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007fdc4e1a5aff in QInotifyFileSystemWatcherEngine::run (this=0x23e0580) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007fdc4e0c809b in QThreadPrivate::start (arg=0x23e0580) at thread/qthread_unix.cpp:298
#11 0x00007fdc48ba5efc in start_thread (arg=0x7fdc2fbcb700) at pthread_create.c:304
#12 0x00007fdc4d37059d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fdc2f3ca700 (LWP 7460)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fdc4e0c85ab in wait (time=18446744073709551615, this=0x2784e40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2784b88, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdc51022737 in Digikam::ParkingThread::run (this=0x2784b70) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#4  0x00007fdc4e0c809b in QThreadPrivate::start (arg=0x2784b70) at thread/qthread_unix.cpp:298
#5  0x00007fdc48ba5efc in start_thread (arg=0x7fdc2f3ca700) at pthread_create.c:304
#6  0x00007fdc4d37059d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fdc2db9d700 (LWP 7461)):
#0  0x00007fdc46c8208f in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007fdc46c82dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fdc46c83429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fdc4e1f65a6 in QEventDispatcherGlib::processEvents (this=0x2327c00, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fdc4e1c5d82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fdc4e1c5fd7 in QEventLoop::exec (this=0x7fdc2db9cb30, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fdc4e0c5077 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fdc4e1a5aff in QInotifyFileSystemWatcherEngine::run (this=0x2a399e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fdc4e0c809b in QThreadPrivate::start (arg=0x2a399e0) at thread/qthread_unix.cpp:298
#9  0x00007fdc48ba5efc in start_thread (arg=0x7fdc2db9d700) at pthread_create.c:304
#10 0x00007fdc4d37059d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fdc1f6f4700 (LWP 7527)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fdc4e0c85ab in wait (time=18446744073709551615, this=0x4998d40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x4998a48, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fdc1e8553e4 in KIPIPlugins::LoadRawThumbThread::run (this=0x4998eb0) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/common/libkipiplugins/dialogs/imagedialog.cpp:537
#4  0x00007fdc4e0c809b in QThreadPrivate::start (arg=0x4998eb0) at thread/qthread_unix.cpp:298
#5  0x00007fdc48ba5efc in start_thread (arg=0x7fdc1f6f4700) at pthread_create.c:304
#6  0x00007fdc4d37059d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fdc53760a20 (LWP 7456)):
[KCrash Handler]
#6  0x00007fdc509987c8 in Digikam::ImageInfo::albumId (this=<optimized out>) at /build/buildd/digikam-2.1.1/core/libs/database/imageinfo.cpp:315
#7  0x00000000005119fa in Digikam::KipiImageInfo::parentAlbum (this=<optimized out>) at /build/buildd/digikam-2.1.1/core/utilities/kipiiface/kipiimageinfo.cpp:65
#8  0x000000000051358e in Digikam::KipiImageInfo::addAttributes (this=0x7fffb76d9c30, res=...) at /build/buildd/digikam-2.1.1/core/utilities/kipiiface/kipiimageinfo.cpp:181
#9  0x00007fdc519b0a7d in KIPI::ImageInfo::attributes (this=<optimized out>) at ../../libkipi/imageinfo.cpp:102
#10 0x00007fdc123abb23 in KIPIPicasawebExportPlugin::PicasawebWindow::slotListPhotosDoneForUpload (this=0x4939e10, errCode=<optimized out>, errMsg=<optimized out>, photosList=...) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/picasawebexport/picasawebwindow.cpp:446
#11 0x00007fdc123ac95a in KIPIPicasawebExportPlugin::PicasawebWindow::qt_metacall (this=0x4939e10, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffb76d9ee0) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/extra/kipi-plugins/picasawebexport/picasawebwindow.moc:115
#12 0x00007fdc4e1db589 in QMetaObject::activate (sender=0x4a3b320, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb76d9ee0) at kernel/qobject.cpp:3566
#13 0x00007fdc1239959b in KIPIPicasawebExportPlugin::PicasawebTalker::signalListPhotosDone (this=<optimized out>, _t1=0, _t2=<optimized out>, _t3=<optimized out>) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/extra/kipi-plugins/picasawebexport/picasawebtalker.moc:162
#14 0x00007fdc123a068d in KIPIPicasawebExportPlugin::PicasawebTalker::parseResponseListPhotos (this=0x4a3b320, data=<optimized out>) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/picasawebexport/picasawebtalker.cpp:880
#15 0x00007fdc123a1ad4 in KIPIPicasawebExportPlugin::PicasawebTalker::slotResult (this=0x4a3b320, job=0x33e65c0) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/picasawebexport/picasawebtalker.cpp:660
#16 0x00007fdc123a1e23 in KIPIPicasawebExportPlugin::PicasawebTalker::qt_metacall (this=0x4a3b320, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffb76da880) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/extra/kipi-plugins/picasawebexport/picasawebtalker.moc:115
#17 0x00007fdc4e1db589 in QMetaObject::activate (sender=0x33e65c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffb76da880) at kernel/qobject.cpp:3566
#18 0x00007fdc4e650ac2 in KJob::result (this=<optimized out>, _t1=0x33e65c0) at ./kjob.moc:194
#19 0x00007fdc4e650b00 in KJob::emitResult (this=0x33e65c0) at ../../kdecore/jobs/kjob.cpp:318
#20 0x00007fdc5004d0b4 in KIO::SimpleJob::slotFinished (this=0x33e65c0) at ../../kio/kio/job.cpp:494
#21 0x00007fdc50054c6d in KIO::TransferJob::slotFinished (this=0x33e65c0) at ../../kio/kio/job.cpp:1081
#22 0x00007fdc500535d1 in KIO::TransferJob::qt_metacall (this=0x33e65c0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffb76dac90) at ./jobclasses.moc:369
#23 0x00007fdc4e1db589 in QMetaObject::activate (sender=0x4a3a3b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3566
#24 0x00007fdc500fba21 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:172
#25 0x00007fdc500f88d5 in KIO::SlaveInterface::dispatch (this=<optimized out>) at ../../kio/kio/slaveinterface.cpp:88
#26 0x00007fdc500eba9e in KIO::Slave::gotInput (this=0x4a3a3b0) at ../../kio/kio/slave.cpp:344
#27 0x00007fdc500ec1fc in KIO::Slave::qt_metacall (this=0x4a3a3b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffb76db130) at ./slave.moc:82
#28 0x00007fdc4e1db589 in QMetaObject::activate (sender=0x4a1fb90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3566
#29 0x00007fdc5001db77 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#30 KIO::ConnectionPrivate::dequeue (this=0x49a4fe0) at ../../kio/kio/connection.cpp:71
#31 0x00007fdc5001dc1d in KIO::Connection::qt_metacall (this=0x4a1fb90, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x4936660) at ./connection.moc:79
#32 0x00007fdc4e1e0546 in QObject::event (this=0x4a1fb90, e=<optimized out>) at kernel/qobject.cpp:1195
#33 0x00007fdc4ebbb2e4 in notify_helper (e=0x4b0c200, receiver=0x4a1fb90, this=0x223d4e0) at kernel/qapplication.cpp:4559
#34 QApplicationPrivate::notify_helper (this=0x223d4e0, receiver=0x4a1fb90, e=0x4b0c200) at kernel/qapplication.cpp:4531
#35 0x00007fdc4ebc0163 in QApplication::notify (this=0x7fffb76dbcb0, receiver=0x4a1fb90, e=0x4b0c200) at kernel/qapplication.cpp:4420
#36 0x00007fdc4f8edbf6 in KApplication::notify (this=0x7fffb76dbcb0, receiver=0x4a1fb90, event=0x4b0c200) at ../../kdeui/kernel/kapplication.cpp:311
#37 0x00007fdc4e1c6f9c in QCoreApplication::notifyInternal (this=0x7fffb76dbcb0, receiver=0x4a1fb90, event=0x4b0c200) at kernel/qcoreapplication.cpp:876
#38 0x00007fdc4e1cad6a in sendEvent (event=0x4b0c200, receiver=0x4a1fb90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#39 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x21d3a80) at kernel/qcoreapplication.cpp:1500
#40 0x00007fdc4e1f6113 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#41 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#42 0x00007fdc46c82a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#43 0x00007fdc46c83258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#44 0x00007fdc46c83429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#45 0x00007fdc4e1f653f in QEventDispatcherGlib::processEvents (this=0x223cec0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#46 0x00007fdc4ec604ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x00007fdc4e1c5d82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#48 0x00007fdc4e1c5fd7 in QEventLoop::exec (this=0x7fffb76dbb30, flags=...) at kernel/qeventloop.cpp:204
#49 0x00007fdc4e1cb067 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#50 0x00000000004893fd in main (argc=1, argv=<optimized out>) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 290983.

Reported using DrKonqi
Comment 1 caulier.gilles 2012-04-30 05:50:10 UTC
You use 2.1.1. Please  try with last 2.5.0. Sound like this bug has already fixed ...

Gilles Caulier
Comment 2 Raphael Ackermann 2012-04-30 21:44:25 UTC
yep. installed 2.5 from a ppa and upload works. 
thanks for the quick response and hint.