Bug 293301

Summary: Crashes when uploading to PicasaWeb
Product: [Applications] digikam Reporter: Magnus Määttä <magnus>
Component: Plugin-WebService-GoogleAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: bonne, caulier.gilles, GSX
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 2.6.0
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Magnus Määttä 2012-02-04 15:32:50 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.8.00 (4.8.0
Qt Version: 4.7.4
Operating System: Linux 3.0.0-15-generic x86_64
Distribution: Ubuntu 11.10

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

Tried to upload 6 different jpeg files with default settings to PicasaWeb.

Crashes every time I try to upload the images. They are 5184x3456 pixels original, but should be resize to max 1200 pixels (width I guess).

The crash can be reproduced every time.

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

Thread 6 (Thread 0x7f827912b700 (LWP 6654)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f82944321ab in wait (time=18446744073709551615, this=0x16aabd0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x16aaa78, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00000000005c2e20 in Digikam::ScanController::run (this=0x16aa6f0) at /build/buildd/digikam-2.1.1/core/digikam/database/scancontroller.cpp:647
#4  0x00007f8294431d05 in QThreadPrivate::start (arg=0x16aa6f0) at thread/qthread_unix.cpp:331
#5  0x00007f828f16cefc in start_thread (arg=0x7f827912b700) at pthread_create.c:304
#6  0x00007f82936d489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7f827892a700 (LWP 6655)):
#0  0x00007f82936c8773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f828d249f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f828d24a429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8294543f3e in QEventDispatcherGlib::processEvents (this=0x16653d0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f8294517cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8294517ef7 in QEventLoop::exec (this=0x7f8278929b30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f829442f27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f82944facbf in QInotifyFileSystemWatcherEngine::run (this=0x16b4fd0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8294431d05 in QThreadPrivate::start (arg=0x16b4fd0) at thread/qthread_unix.cpp:331
#9  0x00007f828f16cefc in start_thread (arg=0x7f827892a700) at pthread_create.c:304
#10 0x00007f82936d489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7f8273fff700 (LWP 6657)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f82944321ab in wait (time=18446744073709551615, this=0x1eb6c40) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1eb67c8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f829737c737 in Digikam::ParkingThread::run (this=0x1eb67b0) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#4  0x00007f8294431d05 in QThreadPrivate::start (arg=0x1eb67b0) at thread/qthread_unix.cpp:331
#5  0x00007f828f16cefc in start_thread (arg=0x7f8273fff700) at pthread_create.c:304
#6  0x00007f82936d489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8271528700 (LWP 6658)):
#0  0x00007f82936c8773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f828d249f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f828d24a429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8294543f3e in QEventDispatcherGlib::processEvents (this=0x206a7b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f8294517cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8294517ef7 in QEventLoop::exec (this=0x7f8271527b30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f829442f27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f82944facbf in QInotifyFileSystemWatcherEngine::run (this=0x20506d0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8294431d05 in QThreadPrivate::start (arg=0x20506d0) at thread/qthread_unix.cpp:331
#9  0x00007f828f16cefc in start_thread (arg=0x7f8271528700) at pthread_create.c:304
#10 0x00007f82936d489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f82595e1700 (LWP 6683)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f82944321ab in wait (time=18446744073709551615, this=0x41facb0) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x49c0088, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007f82674a63e4 in KIPIPlugins::LoadRawThumbThread::run (this=0x4489250) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/common/libkipiplugins/dialogs/imagedialog.cpp:537
#4  0x00007f8294431d05 in QThreadPrivate::start (arg=0x4489250) at thread/qthread_unix.cpp:331
#5  0x00007f828f16cefc in start_thread (arg=0x7f82595e1700) at pthread_create.c:304
#6  0x00007f82936d489d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8299ac3a20 (LWP 6653)):
[KCrash Handler]
#6  ref (this=0x1) at ../../include/QtCore/../../src/corelib/arch/qatomic_x86_64.h:121
#7  QString (other=..., this=0x7fffeb24aac8) at ../../include/QtCore/../../src/corelib/tools/qstring.h:729
#8  QUrlPrivate::QUrlPrivate (this=0x7fffeb24aac0, copy=...) at io/qurl.cpp:3388
#9  0x00007f82944d7033 in QUrlPrivate::normalized (this=0x4c5c8e0) at io/qurl.cpp:3991
#10 0x00007f82944d7cb0 in QUrl::operator== (this=0x7fffeb24b2b8, url=<optimized out>) at io/qurl.cpp:5959
#11 0x0000000000499c6d in Digikam::ImagePropertiesSideBarDB::slotFileMetadataChanged (this=0x26f3560, url=<optimized out>) at /build/buildd/digikam-2.1.1/core/libs/imageproperties/imagepropertiessidebardb.cpp:382
#12 0x000000000049c551 in Digikam::ImagePropertiesSideBarDB::qt_metacall (this=0x26f3560, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffeb24ad20) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/core/digikam/imagepropertiessidebardb.moc:118
#13 0x00007f829452beba in QMetaObject::activate (sender=0x2a2f010, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffeb24ad20) at kernel/qobject.cpp:3278
#14 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
#15 0x0000000000513855 in Digikam::KipiImageInfo::addAttributes (this=0x7fffeb24b2b0, res=<optimized out>) at /build/buildd/digikam-2.1.1/core/utilities/kipiiface/kipiimageinfo.cpp:275
#16 0x00007f8297d0aa7d in KIPI::ImageInfo::attributes (this=<optimized out>) at ../../libkipi/imageinfo.cpp:102
#17 0x00007f8260e30b23 in KIPIPicasawebExportPlugin::PicasawebWindow::slotListPhotosDoneForUpload (this=0x4831f20, errCode=<optimized out>, errMsg=<optimized out>, photosList=...) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/picasawebexport/picasawebwindow.cpp:446
#18 0x00007f8260e3195a in KIPIPicasawebExportPlugin::PicasawebWindow::qt_metacall (this=0x4831f20, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffeb24b4f0) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/extra/kipi-plugins/picasawebexport/picasawebwindow.moc:115
#19 0x00007f829452beba in QMetaObject::activate (sender=0x49ffe00, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffeb24b4f0) at kernel/qobject.cpp:3278
#20 0x00007f8260e1e59b 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
#21 0x00007f8260e2568d in KIPIPicasawebExportPlugin::PicasawebTalker::parseResponseListPhotos (this=0x49ffe00, data=<optimized out>) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/picasawebexport/picasawebtalker.cpp:880
#22 0x00007f8260e26ad4 in KIPIPicasawebExportPlugin::PicasawebTalker::slotResult (this=0x49ffe00, job=0x4ce48d0) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/picasawebexport/picasawebtalker.cpp:660
#23 0x00007f8260e26e23 in KIPIPicasawebExportPlugin::PicasawebTalker::qt_metacall (this=0x49ffe00, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffeb24be20) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/extra/kipi-plugins/picasawebexport/picasawebtalker.moc:115
#24 0x00007f829452beba in QMetaObject::activate (sender=0x4ce48d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffeb24be20) at kernel/qobject.cpp:3278
#25 0x00007f829497e9d2 in KJob::result (this=<optimized out>, _t1=0x4ce48d0) at ./kjob.moc:194
#26 0x00007f829497ea10 in KJob::emitResult (this=0x4ce48d0) at ../../kdecore/jobs/kjob.cpp:318
#27 0x00007f8296390044 in KIO::SimpleJob::slotFinished (this=0x4ce48d0) at ../../kio/kio/job.cpp:494
#28 0x00007f8296397bfd in KIO::TransferJob::slotFinished (this=0x4ce48d0) at ../../kio/kio/job.cpp:1081
#29 0x00007f8296396561 in KIO::TransferJob::qt_metacall (this=0x4ce48d0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffeb24c1d0) at ./jobclasses.moc:369
#30 0x00007f829452beba in QMetaObject::activate (sender=0x39ca090, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#31 0x00007f829643e3d1 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:172
#32 0x00007f829643b285 in KIO::SlaveInterface::dispatch (this=0x39ca090) at ../../kio/kio/slaveinterface.cpp:88
#33 0x00007f829642e44e in KIO::Slave::gotInput (this=0x39ca090) at ../../kio/kio/slave.cpp:344
#34 0x00007f829642ebac in KIO::Slave::qt_metacall (this=0x39ca090, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffeb24c600) at ./slave.moc:82
#35 0x00007f829452beba in QMetaObject::activate (sender=0x3952f70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#36 0x00007f8296360af7 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#37 KIO::ConnectionPrivate::dequeue (this=0x4a14a40) at ../../kio/kio/connection.cpp:71
#38 0x00007f8296360b9d in KIO::Connection::qt_metacall (this=0x3952f70, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x44c0ec0) at ./connection.moc:79
#39 0x00007f829452fa5e in QObject::event (this=0x3952f70, e=<optimized out>) at kernel/qobject.cpp:1217
#40 0x00007f8294f1a474 in notify_helper (e=0x4c25f70, receiver=0x3952f70, this=0x1510880) at kernel/qapplication.cpp:4486
#41 QApplicationPrivate::notify_helper (this=0x1510880, receiver=0x3952f70, e=0x4c25f70) at kernel/qapplication.cpp:4458
#42 0x00007f8294f1f2e1 in QApplication::notify (this=0x7fffeb24cfc0, receiver=0x3952f70, e=0x4c25f70) at kernel/qapplication.cpp:4365
#43 0x00007f8295c2fae6 in KApplication::notify (this=0x7fffeb24cfc0, receiver=0x3952f70, event=0x4c25f70) at ../../kdeui/kernel/kapplication.cpp:311
#44 0x00007f8294518afc in QCoreApplication::notifyInternal (this=0x7fffeb24cfc0, receiver=0x3952f70, event=0x4c25f70) at kernel/qcoreapplication.cpp:787
#45 0x00007f829451c51f in sendEvent (event=0x4c25f70, receiver=0x3952f70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#46 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x14b3bd0) at kernel/qcoreapplication.cpp:1428
#47 0x00007f8294543a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#48 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#49 0x00007f828d249a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f828d24a258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f828d24a429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#52 0x00007f8294543ed6 in QEventDispatcherGlib::processEvents (this=0x14b5270, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#53 0x00007f8294fc210e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00007f8294517cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#55 0x00007f8294517ef7 in QEventLoop::exec (this=0x7fffeb24ce40, flags=...) at kernel/qeventloop.cpp:201
#56 0x00007f829451c789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#57 0x00000000004893fd in main (argc=5, argv=<optimized out>) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Possible duplicates by query: bug 289272.

Reported using DrKonqi
Comment 1 Magnus Määttä 2012-02-04 15:35:59 UTC
This did work before I upgraded to KDE 4.8.
Comment 2 caulier.gilles 2012-02-04 16:09:35 UTC
It crash indeep in Qt4. Sound like a binary compatibility broken. kipi-plugins need to be recompiled...

Gilles Caulier
Comment 3 caulier.gilles 2012-02-04 16:10:02 UTC
Try also to update kipi-plugins and digiKam to 2.5.0...

Gilles Caulier
Comment 4 bonne 2012-02-05 08:23:21 UTC
Created attachment 68518 [details]
New crash information added by DrKonqi

digikam (2.1.1) on KDE Platform 4.8.00 (4.8.0 using Qt 4.7.4

- What I was doing when the application crashed:

Did the same - tried to upload to flickr and crashes on clicking go.

-- Backtrace (Reduced):
#7  QString (other=..., this=0x7fffb71447a8) at ../../include/QtCore/../../src/corelib/tools/qstring.h:729
#8  QUrlPrivate::QUrlPrivate (this=0x7fffb7144790, copy=...) at io/qurl.cpp:3388
#9  0x00007f6660eb7033 in QUrlPrivate::normalized (this=0x7fffb71450a0) at io/qurl.cpp:3991
#10 0x00007f6660eb7cb0 in QUrl::operator== (this=0x7fffb7144f18, url=<optimized out>) at io/qurl.cpp:5959
#11 0x0000000000499c6d in Digikam::ImagePropertiesSideBarDB::slotFileMetadataChanged (this=0x1d02570, url=<optimized out>) at /build/buildd/digikam-2.1.1/core/libs/imageproperties/imagepropertiessidebardb.cpp:382
Comment 5 caulier.gilles 2012-02-05 08:49:19 UTC
It's definitivly a binary compatibility with Qt4. It's a packaging problem. kipi-plugins must be recompiled after an update of KDE/Qt.

Contact your distro team...

Gilles Caulier
Comment 6 bonne 2012-02-05 08:56:44 UTC
Thanks,
I can confirm that updating to newer packages fixes this problem. I am now using packages from the philip5/extra ppa from ubuntu and it works fine.
Comment 7 caulier.gilles 2012-04-09 18:59:14 UTC
*** Bug 297798 has been marked as a duplicate of this bug. ***