Bug 290797 - crash when exporting images to flickr
Summary: crash when exporting images to flickr
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Flickr (show other bugs)
Version: 5.6.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-06 13:57 UTC by Blackpaw
Modified: 2018-01-30 21:32 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In: 4.0.0
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (11.21 KB, text/plain)
2012-03-12 21:14 UTC, Paulius
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Blackpaw 2012-01-06 13:57:04 UTC
Application: digikam (2.1.1)
KDE Platform Version: 4.7.95 (4.8 RC1 (4.7.95)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
Everytime I try to upload a image or set of image to flikr or PiccassaWeb digikam crashes. Previous versions have work fine for this. This is with exisiting groups or creating new ones

The crash can be reproduced every time.

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

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

Thread 5 (Thread 0x7fcef624e700 (LWP 6736)):
#0  0x00007fcf1208c773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fcf0bc0ff68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcf0bc10429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcf12f07f3e in QEventDispatcherGlib::processEvents (this=0x7fcef00008b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fcf12edbcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fcf12edbef7 in QEventLoop::exec (this=0x7fcef624db30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fcf12df327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fcf12ebecbf in QInotifyFileSystemWatcherEngine::run (this=0x21366e0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fcf12df5d05 in QThreadPrivate::start (arg=0x21366e0) at thread/qthread_unix.cpp:331
#9  0x00007fcf0db32efc in start_thread (arg=0x7fcef624e700) at pthread_create.c:304
#10 0x00007fcf1209889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fcef5a4d700 (LWP 6738)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fcf12df61ab in wait (time=18446744073709551615, this=0x2200650) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x277d628, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fcf15d3e737 in Digikam::ParkingThread::run (this=0x277d610) at /build/buildd/digikam-2.1.1/core/libs/threads/threadmanager.cpp:119
#4  0x00007fcf12df5d05 in QThreadPrivate::start (arg=0x277d610) at thread/qthread_unix.cpp:331
#5  0x00007fcf0db32efc in start_thread (arg=0x7fcef5a4d700) at pthread_create.c:304
#6  0x00007fcf1209889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fceee7f4700 (LWP 6739)):
#0  0x00007fcf1208c773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fcf0bc0ff68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fcf0bc10429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fcf12f07f3e in QEventDispatcherGlib::processEvents (this=0x2a49d50, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fcf12edbcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fcf12edbef7 in QEventLoop::exec (this=0x7fceee7f3b30, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fcf12df327f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007fcf12ebecbf in QInotifyFileSystemWatcherEngine::run (this=0x2a4be10) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fcf12df5d05 in QThreadPrivate::start (arg=0x2a4be10) at thread/qthread_unix.cpp:331
#9  0x00007fcf0db32efc in start_thread (arg=0x7fceee7f4700) at pthread_create.c:304
#10 0x00007fcf1209889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fceccba9700 (LWP 6771)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007fcf12df61ab in wait (time=18446744073709551615, this=0x43aa950) at thread/qwaitcondition_unix.cpp:88
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x53c85a8, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:160
#3  0x00007fcee44d73e4 in KIPIPlugins::LoadRawThumbThread::run (this=0x4c2a720) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/common/libkipiplugins/dialogs/imagedialog.cpp:537
#4  0x00007fcf12df5d05 in QThreadPrivate::start (arg=0x4c2a720) at thread/qthread_unix.cpp:331
#5  0x00007fcf0db32efc in start_thread (arg=0x7fceccba9700) at pthread_create.c:304
#6  0x00007fcf1209889d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fcf1847da20 (LWP 6734)):
[KCrash Handler]
#6  QUtf8::convertFromUnicode (uc=<optimized out>, len=<optimized out>, state=0x0) at codecs/qutfcodec.cpp:91
#7  0x00007fcf12e38cae in QString::toUtf8 (this=<optimized out>) at tools/qstring.cpp:3703
#8  0x00007fcee1f98656 in KIPIFlickrExportPlugin::MPForm::addPair (this=0x7fffe8bcfb70, name=..., value=..., contentType=...) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/flickrexport/mpform.cpp:95
#9  0x00007fcee1f89656 in KIPIFlickrExportPlugin::FlickrTalker::addPhoto (this=0x53f2230, photoPath=..., info=..., rescale=false, maxDim=1600, imageQuality=85) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/flickrexport/flickrtalker.cpp:589
#10 0x00007fcee1f80231 in KIPIFlickrExportPlugin::FlickrWindow::slotAddPhotoNext (this=0x52d0940) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/flickrexport/flickrwindow.cpp:658
#11 0x00007fcee1f814fd in KIPIFlickrExportPlugin::FlickrWindow::slotUser1 (this=0x52d0940) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/flickrexport/flickrwindow.cpp:612
#12 0x00007fcee1f81b2c in KIPIFlickrExportPlugin::FlickrWindow::qt_metacall (this=0x52d0940, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe8bd0530) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/extra/kipi-plugins/flickrexport/flickrwindow.moc:117
#13 0x00007fcf12eefeba in QMetaObject::activate (sender=0x52d0940, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3278
#14 0x00007fcf145483dc in KDialog::slotButtonClicked (this=0x52d0940, button=4096) at ../../kdeui/dialogs/kdialog.cpp:900
#15 0x00007fcf14548a42 in KDialog::qt_metacall (this=0x52d0940, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0x7fffe8bd0700) at ./kdialog.moc:190
#16 0x00007fcee1f81ad0 in KIPIFlickrExportPlugin::FlickrWindow::qt_metacall (this=0x52d0940, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffe8bd0700) at /build/buildd/digikam-2.1.1/obj-x86_64-linux-gnu/extra/kipi-plugins/flickrexport/flickrwindow.moc:96
#17 0x00007fcf12eefeba in QMetaObject::activate (sender=0x5333200, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe8bd0700) at kernel/qobject.cpp:3278
#18 0x00007fcf12ef608e in QSignalMapper::mapped (this=<optimized out>, _t1=4096) at .moc/release-shared/moc_qsignalmapper.cpp:101
#19 0x00007fcf12ef662b in QSignalMapper::map (this=0x5333200, sender=0x4f8c430) at kernel/qsignalmapper.cpp:266
#20 0x00007fcf12ef6a80 in QSignalMapper::qt_metacall (this=0x5333200, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0x7fffe8bd0850) at .moc/release-shared/moc_qsignalmapper.cpp:87
#21 0x00007fcf12eefeba in QMetaObject::activate (sender=0x4f8c430, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffe8bd0850) at kernel/qobject.cpp:3278
#22 0x00007fcf13f4e582 in QAbstractButton::clicked (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#23 0x00007fcf13c9413e in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:546
#24 0x00007fcf13c9547b in QAbstractButtonPrivate::click (this=0x5329790) at widgets/qabstractbutton.cpp:539
#25 0x00007fcf13c956ec in QAbstractButton::mouseReleaseEvent (this=0x4f8c430, e=0x7fffe8bd0f60) at widgets/qabstractbutton.cpp:1121
#26 0x00007fcf1392dc9a in QWidget::event (this=0x4f8c430, event=0x7fffe8bd0f60) at kernel/qwidget.cpp:8295
#27 0x00007fcf138dd424 in notify_helper (e=0x7fffe8bd0f60, receiver=0x4f8c430, this=0x1f9bc00) at kernel/qapplication.cpp:4486
#28 QApplicationPrivate::notify_helper (this=0x1f9bc00, receiver=0x4f8c430, e=0x7fffe8bd0f60) at kernel/qapplication.cpp:4458
#29 0x00007fcf138e2c6b in QApplication::notify (this=<optimized out>, receiver=0x4f8c430, e=0x7fffe8bd0f60) at kernel/qapplication.cpp:4047
#30 0x00007fcf145f1a46 in KApplication::notify (this=0x7fffe8bd1cd0, receiver=0x4f8c430, event=0x7fffe8bd0f60) at ../../kdeui/kernel/kapplication.cpp:311
#31 0x00007fcf12edcafc in QCoreApplication::notifyInternal (this=0x7fffe8bd1cd0, receiver=0x4f8c430, event=0x7fffe8bd0f60) at kernel/qcoreapplication.cpp:787
#32 0x00007fcf138de3f2 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#33 QApplicationPrivate::sendMouseEvent (receiver=0x4f8c430, event=0x7fffe8bd0f60, alienWidget=0x4f8c430, nativeWidget=0x52d0940, buttonDown=0x4f8c430, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3146
#34 0x00007fcf1395d945 in QETWidget::translateMouseEvent (this=0x52d0940, event=<optimized out>) at kernel/qapplication_x11.cpp:4568
#35 0x00007fcf1395c8be in QApplication::x11ProcessEvent (this=0x7fffe8bd1cd0, event=0x7fffe8bd1780) at kernel/qapplication_x11.cpp:3690
#36 0x00007fcf13985412 in x11EventSourceDispatch (s=0x1fa10a0, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#37 0x00007fcf0bc0fa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fcf0bc10258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007fcf0bc10429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007fcf12f07ed6 in QEventDispatcherGlib::processEvents (this=0x1f3f470, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#41 0x00007fcf1398507e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#42 0x00007fcf12edbcf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#43 0x00007fcf12edbef7 in QEventLoop::exec (this=0x7fffe8bd1b50, flags=...) at kernel/qeventloop.cpp:201
#44 0x00007fcf12ee0789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#45 0x00000000004893fd in main (argc=1, argv=<optimized out>) at /build/buildd/digikam-2.1.1/core/digikam/main/main.cpp:232

Reported using DrKonqi
Comment 1 caulier.gilles 2012-01-06 14:01:55 UTC
It crash in QT4. Please check libqt4 : QUtf8::convertFromUnicode. Perhaps try to update it...

Gilles Caulier
Comment 2 caulier.gilles 2012-01-06 14:02:28 UTC
Also, 2.5.0 release it out. Please update digiKam SC and try again...

Gilles Caulier
Comment 3 Elmar Höfner 2012-01-16 22:08:09 UTC
I'd like to confirm this bug with digikam-sc 2.5.0 and qt4 4.8.0.

Immediate crash when hitting "OK" on any kipi export tool. 
No other qt4 issues found yet.
Comment 4 Paulius 2012-03-12 21:14:58 UTC
Created attachment 69555 [details]
New crash information added by DrKonqi

digikam (2.1.1) on KDE Platform 4.8.1 (4.8.1) using Qt 4.8.0

- What I was doing when the application crashed:

Everytime when i try to upload images to flickr or sometimes to Google Picasa albums my digi Kam or Gwenview crash.

It's is major problem and i can't use this application anymore..

-- Backtrace (Reduced):
#6  QUtf8::convertFromUnicode (uc=<optimized out>, len=<optimized out>, state=0x0) at codecs/qutfcodec.cpp:91
#7  0x00007fbbfcb068fe in QString::toUtf8 (this=<optimized out>) at tools/qstring.cpp:3789
#8  0x00007fbbcd482656 in KIPIFlickrExportPlugin::MPForm::addPair (this=0x7fffeeefcf60, name=..., value=..., contentType=...) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/flickrexport/mpform.cpp:95
#9  0x00007fbbcd473656 in KIPIFlickrExportPlugin::FlickrTalker::addPhoto (this=0x46684a0, photoPath=..., info=..., rescale=true, maxDim=1600, imageQuality=85) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/flickrexport/flickrtalker.cpp:589
#10 0x00007fbbcd46a231 in KIPIFlickrExportPlugin::FlickrWindow::slotAddPhotoNext (this=0x427d3b0) at /build/buildd/digikam-2.1.1/extra/kipi-plugins/flickrexport/flickrwindow.cpp:658
Comment 5 caulier.gilles 2012-03-12 21:31:02 UTC
Sound like a binary compatibility issue with Qt4 library. Check your system

Gilles Caulier
Comment 6 caulier.gilles 2012-06-22 08:56:04 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 7 Elmar Höfner 2012-06-24 19:58:14 UTC
Still valid with yesterday's git & qt 4.8.1. Immediate crash on exporting.
KDE is 4.8.4
Comment 8 caulier.gilles 2013-12-23 14:06:38 UTC
This entry still valid using last digiKam and kipi-plugins 3.5.0 ?

Gilles Caulier
Comment 9 Elmar Höfner 2013-12-28 21:57:40 UTC
Hi, 
 
Works flawlessly with 4.0.0 beta1 (KDE 4.11.3), can't tell for 3.5.0.
Happy New Year!
 
Elmar Höfner

Am Montag, 23. Dezember 2013, 14:06:38 schrieben Sie:
> https://bugs.kde.org/show_bug.cgi?id=290797
> 
> --- Comment #8 from Gilles Caulier <caulier.gilles@gmail.com> ---
> This entry still valid using last digiKam and kipi-plugins 3.5.0 ?
> 
> Gilles Caulier