Bug 304763 - Export of Picasaweb crashes
Summary: Export of Picasaweb crashes
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:
: 307702 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-08-07 23:29 UTC by Vamsi Kodali
Modified: 2018-02-04 08:30 UTC (History)
8 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.12.0


Attachments
New crash information added by DrKonqi (10.26 KB, text/plain)
2012-08-13 22:10 UTC, Ben Rousch
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Vamsi Kodali 2012-08-07 23:29:39 UTC
Application: gwenview (2.9.0)
KDE Platform Version: 4.9.00
Qt Version: 4.8.1
Operating System: Linux 3.2.0-27-generic x86_64
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed:
I was trying to upload pictures to my PicasaWeb albums. First, I selected all the photographs I want to upload then from the Export menu I chose the PicasaWeb option. After I login, choose the folder and click the Upload button, Gwenview crashes. Every single time. 
- Unusual behavior I noticed:

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fd917a057c0 (LWP 14501))]

Thread 5 (Thread 0x7fd900cac700 (LWP 14503)):
#0  0x00007fd9143ceb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd910b7f036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd910b7f164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd916857426 in QEventDispatcherGlib::processEvents (this=0x7fd8fc0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fd916826c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd916826ed7 in QEventLoop::exec (this=0x7fd900cabcd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd916725fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fd9168069ff in QInotifyFileSystemWatcherEngine::run (this=0x2638fe0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd916728fcb in QThreadPrivate::start (arg=0x2638fe0) at thread/qthread_unix.cpp:298
#9  0x00007fd90dbffb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007fd91123fe9a in start_thread (arg=0x7fd900cac700) at pthread_create.c:308
#11 0x00007fd9143da4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fd8fb975700 (LWP 14504)):
#0  0x00007fd9143ceb03 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fd910b7f036 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fd910b7f164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fd916857426 in QEventDispatcherGlib::processEvents (this=0x7fd8f40008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007fd916826c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fd916826ed7 in QEventLoop::exec (this=0x7fd8fb974cd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fd916725fa7 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#7  0x00007fd9168069ff in QInotifyFileSystemWatcherEngine::run (this=0x2723aa0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fd916728fcb in QThreadPrivate::start (arg=0x2723aa0) at thread/qthread_unix.cpp:298
#9  0x00007fd90dbffb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#10 0x00007fd91123fe9a in start_thread (arg=0x7fd8fb975700) at pthread_create.c:308
#11 0x00007fd9143da4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#12 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fd8f3fff700 (LWP 14507)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd9167294db in wait (time=18446744073709551615, this=0x258efa0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x258aa98, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd91734f3be in ?? () from /usr/lib/libgwenviewlib.so.4
#4  0x00007fd916728fcb in QThreadPrivate::start (arg=0x258aa80) at thread/qthread_unix.cpp:298
#5  0x00007fd90dbffb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007fd91123fe9a in start_thread (arg=0x7fd8f3fff700) at pthread_create.c:308
#7  0x00007fd9143da4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fd8f2ffd700 (LWP 14510)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fd9167294db in wait (time=18446744073709551615, this=0x3748b40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x374fa28, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007fd8f2345a24 in KIPIPlugins::KPRawThumbThread::run (this=0x369dd90) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:107
#4  0x00007fd916728fcb in QThreadPrivate::start (arg=0x369dd90) at thread/qthread_unix.cpp:298
#5  0x00007fd90dbffb74 in ?? () from /usr/lib/nvidia-current/libGL.so.1
#6  0x00007fd91123fe9a in start_thread (arg=0x7fd8f2ffd700) at pthread_create.c:308
#7  0x00007fd9143da4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#8  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fd917a057c0 (LWP 14501)):
[KCrash Handler]
#6  ref (this=0x10) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  QVariant::operator= (this=0x7fffd5face00, variant=...) at kernel/qvariant.cpp:1797
#8  0x00007fd8f2344cf4 in setting (name=..., this=<optimized out>) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/common/libkipiplugins/tools/kphostsettings.cpp:68
#9  KIPIPlugins::KPHostSettings::metadataSettings (this=0x7fffd5facf10) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/common/libkipiplugins/tools/kphostsettings.cpp:153
#10 0x00007fd8f233ac9d in KIPIPlugins::KPMetadata::init (this=0x7fffd5fad090) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/common/libkipiplugins/tools/kpmetadata.cpp:81
#11 0x00007fd8d535eca8 in KIPIPicasawebExportPlugin::PicasawebWindow::slotListPhotosDoneForUpload (this=0x37345e0, errCode=<optimized out>, errMsg=..., photosList=...) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/picasawebexport/picasawebwindow.cpp:430
#12 0x00007fd91683c281 in QMetaObject::activate (sender=0x3831e70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd5fad440) at kernel/qobject.cpp:3547
#13 0x00007fd8d534b86b in KIPIPicasawebExportPlugin::PicasawebTalker::signalListPhotosDone (this=<optimized out>, _t1=0, _t2=..., _t3=...) at /build/buildd/digikam-2.6.0/obj-x86_64-linux-gnu/extra/kipi-plugins/picasawebexport/picasawebtalker.moc:176
#14 0x00007fd8d53529ad in KIPIPicasawebExportPlugin::PicasawebTalker::parseResponseListPhotos (this=0x3831e70, data=...) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/picasawebexport/picasawebtalker.cpp:879
#15 0x00007fd8d5353d84 in KIPIPicasawebExportPlugin::PicasawebTalker::slotResult (this=0x3831e70, job=0x3ca47c0) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/picasawebexport/picasawebtalker.cpp:659
#16 0x00007fd91683c281 in QMetaObject::activate (sender=0x3ca47c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffd5faddb0) at kernel/qobject.cpp:3547
#17 0x00007fd914ad8192 in KJob::result (this=<optimized out>, _t1=0x3ca47c0) at ./kjob.moc:208
#18 0x00007fd914ad81d0 in KJob::emitResult (this=0x3ca47c0) at ../../kdecore/jobs/kjob.cpp:318
#19 0x00007fd916ea4de4 in KIO::SimpleJob::slotFinished (this=0x3ca47c0) at ../../kio/kio/job.cpp:494
#20 0x00007fd916eac73d in KIO::TransferJob::slotFinished (this=0x3ca47c0) at ../../kio/kio/job.cpp:1081
#21 0x00007fd91683c281 in QMetaObject::activate (sender=0x36e7e30, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#22 0x00007fd916f53441 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:172
#23 0x00007fd916f50195 in KIO::SlaveInterface::dispatch (this=0x36e7e30) at ../../kio/kio/slaveinterface.cpp:88
#24 0x00007fd916f4341e in KIO::Slave::gotInput (this=0x36e7e30) at ../../kio/kio/slave.cpp:344
#25 0x00007fd91683c281 in QMetaObject::activate (sender=0x3878dc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#26 0x00007fd916e75687 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#27 KIO::ConnectionPrivate::dequeue (this=0x3814220) at ../../kio/kio/connection.cpp:71
#28 0x00007fd916841446 in QObject::event (this=0x3878dc0, e=<optimized out>) at kernel/qobject.cpp:1195
#29 0x00007fd915047894 in notify_helper (e=0x399d850, receiver=0x3878dc0, this=0x245b460) at kernel/qapplication.cpp:4559
#30 QApplicationPrivate::notify_helper (this=0x245b460, receiver=0x3878dc0, e=0x399d850) at kernel/qapplication.cpp:4531
#31 0x00007fd91504c713 in QApplication::notify (this=0x7fffd5faf030, receiver=0x3878dc0, e=0x399d850) at kernel/qapplication.cpp:4420
#32 0x00007fd915d81456 in KApplication::notify (this=0x7fffd5faf030, receiver=0x3878dc0, event=0x399d850) at ../../kdeui/kernel/kapplication.cpp:311
#33 0x00007fd916827e9c in QCoreApplication::notifyInternal (this=0x7fffd5faf030, receiver=0x3878dc0, event=0x399d850) at kernel/qcoreapplication.cpp:876
#34 0x00007fd91682bc6a in sendEvent (event=0x399d850, receiver=0x3878dc0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#35 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x23f72b0) at kernel/qcoreapplication.cpp:1500
#36 0x00007fd916856f93 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#37 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:279
#38 0x00007fd910b7ed53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fd910b7f0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fd910b7f164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007fd9168573bf in QEventDispatcherGlib::processEvents (this=0x23f8770, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#42 0x00007fd9150efd5e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#43 0x00007fd916826c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#44 0x00007fd916826ed7 in QEventLoop::exec (this=0x7fffd5faef90, flags=...) at kernel/qeventloop.cpp:204
#45 0x00007fd91682bf67 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#46 0x0000000000427245 in ?? ()
#47 0x00007fd91430976d in __libc_start_main (main=0x426cc0, argc=6, ubp_av=0x7fffd5faf358, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffd5faf348) at libc-start.c:226
#48 0x00000000004274f1 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2012-08-08 05:46:14 UTC
Areillien,

It's not reproducible here using digiKam.

The crash is about settings taken from KIPI host application (metadata management config).

If Gwenview do not reimplement KIPI::Interface::hostSettings() method, it must return a default bool value through libkipi. The conversion to bool do not must crash application in Qt in libkipiplugins...

Or perhaps it's a binary compatibility issue with libkipi on user computer ?

Gilles Caulier
Comment 2 Ben Rousch 2012-08-13 22:10:50 UTC
Created attachment 73147 [details]
New crash information added by DrKonqi

gwenview (2.9.0) on KDE Platform 4.9.00 using Qt 4.8.1

- What I was doing when the application crashed:
I attempted to upload photos to picasaweb. Login succeeded, but upon upload the application crashes.

-- Backtrace (Reduced):
#7  QVariant::operator= (this=0x7fffabd20840, variant=...) at kernel/qvariant.cpp:1797
#8  0x00007f0c30751d8c in setting (name=..., this=<optimized out>) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/common/libkipiplugins/tools/kphostsettings.cpp:68
#9  KIPIPlugins::KPHostSettings::metadataSettings (this=0x7fffabd20940) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/common/libkipiplugins/tools/kphostsettings.cpp:154
#10 0x00007f0c30747c9d in KIPIPlugins::KPMetadata::init (this=0x7fffabd20ac0) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/common/libkipiplugins/tools/kpmetadata.cpp:81
#11 0x00007f0c0e06eca8 in KIPIPicasawebExportPlugin::PicasawebWindow::slotListPhotosDoneForUpload (this=0x18bdf80, errCode=<optimized out>, errMsg=..., photosList=...) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/picasawebexport/picasawebwindow.cpp:430
Comment 3 caulier.gilles 2012-08-14 06:57:47 UTC
Backtrace already reported tin another place. It's a libkipi binary compatibility issue with your distro...

Check your system...

Gilles Caulier
Comment 4 Ben Rousch 2012-08-14 11:50:27 UTC
Thanks. I'll let Ubuntu know about it.
Comment 5 Vamsi Kodali 2012-08-14 16:25:37 UTC
(In reply to comment #3)
> Backtrace already reported tin another place. It's a libkipi binary
> compatibility issue with your distro...
> 
> Check your system...
> 
> Gilles Caulier

Hello, 
If the issue is with some sort of setting(s) on my system, could you please direct me what they could be and where I can find them? I can at least change them to the correct ones...

Thanks,
Vamsi.
Comment 6 caulier.gilles 2012-08-14 17:00:54 UTC
As i said previously, look libkipi package...

Gilles Caulier
Comment 7 caulier.gilles 2012-08-29 07:17:53 UTC
*** Bug 305893 has been marked as a duplicate of this bug. ***
Comment 8 caulier.gilles 2012-09-14 21:22:52 UTC
*** Bug 306792 has been marked as a duplicate of this bug. ***
Comment 9 caulier.gilles 2012-09-17 13:37:28 UTC
*** Bug 306868 has been marked as a duplicate of this bug. ***
Comment 10 Jekyll Wu 2012-10-02 08:35:11 UTC
*** Bug 307702 has been marked as a duplicate of this bug. ***
Comment 11 caulier.gilles 2015-06-26 13:47:35 UTC
New Kipi-plugins 4.11.0 is available :

https://www.digikam.org/node/740

Can you reproduce the problem with this release ?

Gilles Caulier