Bug 296650 - Crash while uploading to PicasaWeb
Summary: Crash while uploading to PicasaWeb
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Google (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-24 00:28 UTC by Ronald Holshausen
Modified: 2018-01-30 21:20 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.0.0


Attachments
New crash information added by DrKonqi (18.03 KB, text/plain)
2012-04-01 21:23 UTC, Thomas Caswell
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ronald Holshausen 2012-03-24 00:28:35 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.8.1 (4.8.1)
Qt Version: 4.8.0
Operating System: Linux 3.0.0-16-generic x86_64
Distribution: Ubuntu 11.10

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

1. Selected Export to PicasaWeb
2. logged in with Google creds
3. Created a new album to upload to
4. Selected upload and digikam crashed

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

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

Thread 5 (Thread 0x7fe07d664700 (LWP 24396)):
#0  0x00007fe0957da034 in __pthread_mutex_lock (mutex=0x2c3b948) at pthread_mutex_lock.c:61
#1  0x00007fe0938b4023 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe0938b4dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe0938b5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007fe09ae25c26 in QEventDispatcherGlib::processEvents (this=0x2c050e0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007fe09adf5402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007fe09adf5657 in QEventLoop::exec (this=0x7fe07d663b30, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007fe09acf5067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#8  0x00007fe09add517f in QInotifyFileSystemWatcherEngine::run (this=0x2b2a750) at io/qfilesystemwatcher_inotify.cpp:248
#9  0x00007fe09acf808b in QThreadPrivate::start (arg=0x2b2a750) at thread/qthread_unix.cpp:298
#10 0x00007fe0957d7efc in start_thread (arg=0x7fe07d664700) at pthread_create.c:304
#11 0x00007fe099fa059d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fe07ce63700 (LWP 24398)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe09acf859b in wait (time=18446744073709551615, this=0x2ffee20) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2ff2b58, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe09dc51737 in Digikam::ParkingThread::run (this=0x2ff2b40) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#4  0x00007fe09acf808b in QThreadPrivate::start (arg=0x2ff2b40) at thread/qthread_unix.cpp:298
#5  0x00007fe0957d7efc in start_thread (arg=0x7fe07ce63700) at pthread_create.c:304
#6  0x00007fe099fa059d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe07b519700 (LWP 24399)):
#0  0x00007fe099f94473 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe0938b4f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe0938b5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe09ae25c26 in QEventDispatcherGlib::processEvents (this=0x3414470, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fe09adf5402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe09adf5657 in QEventLoop::exec (this=0x7fe07b518b30, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fe09acf5067 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fe09add517f in QInotifyFileSystemWatcherEngine::run (this=0x33d5b80) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe09acf808b in QThreadPrivate::start (arg=0x33d5b80) at thread/qthread_unix.cpp:298
#9  0x00007fe0957d7efc in start_thread (arg=0x7fe07b519700) at pthread_create.c:304
#10 0x00007fe099fa059d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe05f628700 (LWP 24588)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fe09acf859b in wait (time=18446744073709551615, this=0x64e2e10) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x5dec9f8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fe06ebf73e4 in KIPIPlugins::LoadRawThumbThread::run (this=0x4a149d0) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/common/libkipiplugins/dialogs/imagedialog.cpp:537
#4  0x00007fe09acf808b in QThreadPrivate::start (arg=0x4a149d0) at thread/qthread_unix.cpp:298
#5  0x00007fe0957d7efc in start_thread (arg=0x7fe05f628700) at pthread_create.c:304
#6  0x00007fe099fa059d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe0a0391a20 (LWP 24394)):
[KCrash Handler]
#6  setParams (found=0 '\000', expected=0 '\000', message=0x0, source=0x0, this=0x7fe09c97d79e) at io/qurl.cpp:280
#7  QUrlPrivate::parse (this=0x7fe09c97d716, parseOptions=QUrlPrivate::ParseAndSet) at io/qurl.cpp:3821
#8  0x00007fe09adae8fa in QUrl::operator== (this=0x7fff56b8e178, url=...) at io/qurl.cpp:6036
#9  0x0000000000499c6d in Digikam::ImagePropertiesSideBarDB::slotFileMetadataChanged (this=0x3abc830, url=<optimized out>) at /build/buildd/digikam-2.1.1/core/libs/imageproperties/imagepropertiessidebardb.cpp:382
#10 0x000000000049c551 in Digikam::ImagePropertiesSideBarDB::qt_metacall (this=0x3abc830, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff56b8dbe0) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/imagepropertiessidebardb.moc:118
#11 0x00007fe09ae0ac09 in QMetaObject::activate (sender=0x3e11720, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff56b8dbe0) at kernel/qobject.cpp:3566
#12 0x00000000005c8033 in Digikam::ImageAttributesWatch::signalFileMetadataChanged (this=<optimized out>, _t1=<optimized out>) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/imageattributeswatch.moc:143
#13 0x0000000000513855 in Digikam::KipiImageInfo::addAttributes (this=0x7fff56b8e170, res=<optimized out>) at /build/buildd/digikam-2.1.1/core/utilities/kipiiface/kipiimageinfo.cpp:275
#14 0x00007fe09e5dfa7d in KIPI::ImageInfo::attributes (this=<optimized out>) at ../../libkipi/imageinfo.cpp:102
#15 0x00007fe066824b23 in KIPIPicasawebExportPlugin::PicasawebWindow::slotListPhotosDoneForUpload (this=0x64db110, errCode=<optimized out>, errMsg=<optimized out>, photosList=...) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/picasawebexport/picasawebwindow.cpp:446
#16 0x00007fe06682595a in KIPIPicasawebExportPlugin::PicasawebWindow::qt_metacall (this=0x64db110, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff56b8e420) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/extra/kipi-plugins/picasawebexport/picasawebwindow.moc:115
#17 0x00007fe09ae0ac09 in QMetaObject::activate (sender=0x6532680, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff56b8e420) at kernel/qobject.cpp:3566
#18 0x00007fe06681259b 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
#19 0x00007fe06681968d in KIPIPicasawebExportPlugin::PicasawebTalker::parseResponseListPhotos (this=0x6532680, data=<optimized out>) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/picasawebexport/picasawebtalker.cpp:880
#20 0x00007fe06681aad4 in KIPIPicasawebExportPlugin::PicasawebTalker::slotResult (this=0x6532680, job=0x68bdc60) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/picasawebexport/picasawebtalker.cpp:660
#21 0x00007fe06681ae23 in KIPIPicasawebExportPlugin::PicasawebTalker::qt_metacall (this=0x6532680, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff56b8edc0) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/extra/kipi-plugins/picasawebexport/picasawebtalker.moc:115
#22 0x00007fe09ae0ac09 in QMetaObject::activate (sender=0x68bdc60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff56b8edc0) at kernel/qobject.cpp:3566
#23 0x00007fe09b27fac2 in KJob::result (this=<optimized out>, _t1=0x68bdc60) at ./kjob.moc:194
#24 0x00007fe09b27fb00 in KJob::emitResult (this=0x68bdc60) at ../../kdecore/jobs/kjob.cpp:318
#25 0x00007fe09cc7c034 in KIO::SimpleJob::slotFinished (this=0x68bdc60) at ../../kio/kio/job.cpp:494
#26 0x00007fe09cc83bed in KIO::TransferJob::slotFinished (this=0x68bdc60) at ../../kio/kio/job.cpp:1081
#27 0x00007fe09cc82551 in KIO::TransferJob::qt_metacall (this=0x68bdc60, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff56b8f1d0) at ./jobclasses.moc:369
#28 0x00007fe09ae0ac09 in QMetaObject::activate (sender=0x4d17db0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3566
#29 0x00007fe09cd2ab51 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:172
#30 0x00007fe09cd27a05 in KIO::SlaveInterface::dispatch (this=<optimized out>) at ../../kio/kio/slaveinterface.cpp:88
#31 0x00007fe09cd1abce in KIO::Slave::gotInput (this=0x4d17db0) at ../../kio/kio/slave.cpp:344
#32 0x00007fe09cd1b32c in KIO::Slave::qt_metacall (this=0x4d17db0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff56b8f670) at ./slave.moc:82
#33 0x00007fe09ae0ac09 in QMetaObject::activate (sender=0x4dc2d60, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3566
#34 0x00007fe09cc4caf7 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#35 KIO::ConnectionPrivate::dequeue (this=0x4136790) at ../../kio/kio/connection.cpp:71
#36 0x00007fe09cc4cb9d in KIO::Connection::qt_metacall (this=0x4dc2d60, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x6627330) at ./connection.moc:79
#37 0x00007fe09ae0fbc6 in QObject::event (this=0x4dc2d60, e=<optimized out>) at kernel/qobject.cpp:1195
#38 0x00007fe09b7ea104 in notify_helper (e=0x5848990, receiver=0x4dc2d60, this=0x2a71070) at kernel/qapplication.cpp:4555
#39 QApplicationPrivate::notify_helper (this=0x2a71070, receiver=0x4dc2d60, e=0x5848990) at kernel/qapplication.cpp:4527
#40 0x00007fe09b7eef83 in QApplication::notify (this=0x7fff56b901f0, receiver=0x4dc2d60, e=0x5848990) at kernel/qapplication.cpp:4416
#41 0x00007fe09c51c9a6 in KApplication::notify (this=0x7fff56b901f0, receiver=0x4dc2d60, event=0x5848990) at ../../kdeui/kernel/kapplication.cpp:311
#42 0x00007fe09adf661c in QCoreApplication::notifyInternal (this=0x7fff56b901f0, receiver=0x4dc2d60, event=0x5848990) at kernel/qcoreapplication.cpp:876
#43 0x00007fe09adfa3ea in sendEvent (event=0x5848990, receiver=0x4dc2d60) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#44 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x2a0a860) at kernel/qcoreapplication.cpp:1500
#45 0x00007fe09ae25793 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#46 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#47 0x00007fe0938b4a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#48 0x00007fe0938b5258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007fe0938b5429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007fe09ae25bbf in QEventDispatcherGlib::processEvents (this=0x2a0bd20, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#51 0x00007fe09b88f28e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#52 0x00007fe09adf5402 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#53 0x00007fe09adf5657 in QEventLoop::exec (this=0x7fff56b90070, flags=...) at kernel/qeventloop.cpp:204
#54 0x00007fe09adfa6e7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#55 0x00000000004893fd in main (argc=5, argv=<optimized out>) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 caulier.gilles 2012-03-24 14:58:24 UTC
Crash come from QUrl through image properties sidebar tab. It's a non sense.

Sound like a binary compatibility issue. Please update to last 2.5.0 and try again.

Gilles Caulier
Comment 2 Thomas Caswell 2012-04-01 21:23:18 UTC
Created attachment 70062 [details]
New crash information added by DrKonqi

digikam (2.6.0-rc) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:

0) export -> picasa a single photo
1) logged in using google credentials.
2) selected existing album
3) hit upload button

set to convert image (tiff) to a jpg + resize

-- Backtrace (Reduced):
#6  setParams (found=0 '\000', expected=0 '\000', message=0x0, source=0x0, this=0x7f51b705d5c7) at io/qurl.cpp:280
#7  QUrlPrivate::parse (this=0x7f51b705d53f, parseOptions=QUrlPrivate::ParseAndSet) at io/qurl.cpp:3821
#8  0x00007f51f1e4f7ea in QUrl::operator== (this=0x7fffb9c46668, url=...) at io/qurl.cpp:6036
#9  0x00000000004a5750 in Digikam::ImagePropertiesSideBarDB::slotFileMetadataChanged (this=0x30c6840, url=...) at /home/tcaswell/other_source/digikam-sc/core/libs/imageproperties/imagepropertiessidebardb.cpp:382
#10 0x00000000004a3c0c in Digikam::ImagePropertiesSideBarDB::qt_static_metacall (_o=0x30c6840, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fffb9c46130) at /home/tcaswell/other_source/digikam-sc/build/core/digikam/imagepropertiessidebardb.moc:95
Comment 3 Sheldon 2012-04-24 19:52:13 UTC
This happens to me as well. I'm on kubuntu with the following packages:

sheldonl@ubuntu:~$ dpkg -l | grep digikam
ii  digikam                                2:2.1.1-0ubuntu1                        digital photo management application for KDE
ii  digikam-data                           2:2.1.1-0ubuntu1                        digikam architecture-independent data
ii  libkface-data                          1.0~digikam2.1.1-0ubuntu1               Data files for libkface
ii  libkface1                              1.0~digikam2.1.1-0ubuntu1               LibFace wrapper for Qt/C++
ii  libkgeomap-data                        1.0~digikam2.1.1-0ubuntu1               Data files for libkgeomap
ii  libkgeomap1                            1.0~digikam2.1.1-0ubuntu1               World-map wrapper to browse and arrange photos over a map
ii  libkvkontakte-data                     1.0~digikam2.1.1-0ubuntu1               Data files for libkvkontakte
ii  libkvkontakte1                         1.0~digikam2.1.1-0ubuntu1               vkontakte.ru library
sheldonl@ubuntu:~$ dpkg -l | grep kipi
ii  kipi-plugins                           2:2.1.1-0ubuntu1                        image manipulation/handling plugins for KIPI aware programs
ii  kipi-plugins-common                    2:2.1.1-0ubuntu1                        kipi-plugins architecture-independent data
ii  libkipi-data                           4:4.8.2-0ubuntu1~ppa1~oneiric1          data files for kipi libraries
ii  libkipi8                               4:4.8.2-0ubuntu1~ppa1~oneiric1          library for apps that want to use kipi-plugins (runtime version)


I don't have all the debug libs installed so I can't give a trace yet.
Comment 4 Parsifal.Herzog 2012-06-10 18:05:42 UTC
This happens (in Digicam 2.6.0,) when there is a duplicate file already on Picasaweb. Gwenview (using same kipi plugin) offers a cryptic "Upload failed" message box, but does not crash under the same circumstances.
Comment 5 caulier.gilles 2012-06-22 08:56:05 UTC
Official Kipi-plugins 2.6.0 release is out since few days now :

http://www.digikam.org/drupal/node/656

Please, check if this entry still valid, or update report accordingly.

Thanks in advance.

Gilles Caulier
Comment 6 Parsifal.Herzog 2012-06-22 17:15:16 UTC
Yes, problem occurs with kipi-plugins 2.6.0:

$ rpm -q digikam
digikam-2.6.0-1.mga2
$ rpm -q kipi-plugins
kipi-plugins-2.6.0-1.mga2
$ digikam -v
Qt: 4.8.1
KDE Development Platform: 4.8.2 (4.8.2)
digiKam: 2.6.0
$
Comment 7 caulier.gilles 2013-12-23 14:11:14 UTC
This entry still valid using last kipi-plugins 3.5.0 ?

Gilles Caulier
Comment 8 Parsifal.Herzog 2013-12-23 19:05:46 UTC
On 23/12/13 06:11 AM, Gilles Caulier wrote:
> https://bugs.kde.org/show_bug.cgi?id=296650
>
> --- Comment #7 from Gilles Caulier <caulier.gilles@gmail.com> ---
> This entry still valid using last kipi-plugins 3.5.0 ?
>
> Gilles Caulier
>
I have kipi-plugins-3.1.0.

The problem occurred when attempting to upload a file which was already 
present on Picasaweb. This version does not crash under this 
circumstance: it now presents a very useful dialog to resolve the 
conflict. The various options presented seem to work correctly.

This was the first time I tried this since just recently upgrading from 
Mageia 2 (I586) with Digikam 2.6.0 to Mageia 3 (X86-64) with Digikam 
3.1.0. Hopefully the issue is not related in some way to processor 
architecture.

Thank you, for your fine work - it is very very useful to me!
     Parsifal
Comment 9 Sheldon 2013-12-30 18:54:53 UTC
Seems fixed now. Just tested it.