Bug 323378

Summary: Crash when try to export to facebook
Product: [Applications] digikam Reporter: fabrizio <fabrizio>
Component: Plugin-WebService-FacebookAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles, levensondavid, minterior
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 4.1.0

Description fabrizio 2013-08-11 14:58:13 UTC
Application: digikam (3.3.0)
KDE Platform Version: 4.10.5
Qt Version: 4.8.4
Operating System: Linux 3.8.0-27-generic x86_64
Distribution: Ubuntu 13.04

-- Information about the crash:
- What I was doing when the application crashed:
Try to export a photo i facebook cause digikam crash with segmentation fault
a dialog with something appear shortly but I'ts impossible to see nothing (it seems the photo is dislayed inside the dialog) the the application crash ..

The crash can be reproduced every time.

-- Backtrace:
Application: digiKam (digikam), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f92aa9f9a80 (LWP 10797))]

Thread 6 (Thread 0x7f927fa07700 (LWP 10800)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f92a520414b in wait (time=18446744073709551615, this=0x1c52560) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1c52470, mutex=mutex@entry=0x1c52468, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000000005d2b21 in Digikam::ScanController::run (this=0x1c52200) at /build/buildd/digikam-3.3.0/core/digikam/database/scancontroller.cpp:725
#4  0x00007f92a5203bec in QThreadPrivate::start (arg=0x1c52200) at thread/qthread_unix.cpp:338
#5  0x00007f9291452764 in ?? () from /usr/lib/nvidia-304-updates/libGL.so.1
#6  0x00007f929f937f8e in start_thread (arg=0x7f927fa07700) at pthread_create.c:311
#7  0x00007f92a4420e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 5 (Thread 0x7f927f1fe700 (LWP 10801)):
#0  0x00007f929cf765d8 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f929cf371c2 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f929cf37304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f92a532f036 in QEventDispatcherGlib::processEvents (this=0x7f92700008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#4  0x00007f92a52ff38f in QEventLoop::processEvents (this=this@entry=0x7f927f1fda10, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f92a52ff618 in QEventLoop::exec (this=this@entry=0x7f927f1fda10, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007f92a5201410 in QThread::exec (this=this@entry=0x1c55b00) at thread/qthread.cpp:542
#7  0x00007f92a52e0edf in QInotifyFileSystemWatcherEngine::run (this=0x1c55b00) at io/qfilesystemwatcher_inotify.cpp:256
#8  0x00007f92a5203bec in QThreadPrivate::start (arg=0x1c55b00) at thread/qthread_unix.cpp:338
#9  0x00007f9291452764 in ?? () from /usr/lib/nvidia-304-updates/libGL.so.1
#10 0x00007f929f937f8e in start_thread (arg=0x7f927f1fe700) at pthread_create.c:311
#11 0x00007f92a4420e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 4 (Thread 0x7f927e9f5700 (LWP 10803)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f92a520414b in wait (time=18446744073709551615, this=0x1e94b40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x1e90e40, mutex=mutex@entry=0x1e90e38, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f92a825bad9 in Digikam::ParkingThread::run (this=0x1e90e20) at /build/buildd/digikam-3.3.0/core/libs/threads/threadmanager.cpp:119
#4  0x00007f92a5203bec in QThreadPrivate::start (arg=0x1e90e20) at thread/qthread_unix.cpp:338
#5  0x00007f9291452764 in ?? () from /usr/lib/nvidia-304-updates/libGL.so.1
#6  0x00007f929f937f8e in start_thread (arg=0x7f927e9f5700) at pthread_create.c:311
#7  0x00007f92a4420e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 3 (Thread 0x7f927d13c700 (LWP 10804)):
#0  __GI___pthread_mutex_unlock (mutex=0x7f9268000a90) at pthread_mutex_unlock.c:297
#1  0x00007f929cf765f1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f929cf37188 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f929cf37304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f92a532f036 in QEventDispatcherGlib::processEvents (this=0x7f92680008f0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#5  0x00007f92a52ff38f in QEventLoop::processEvents (this=this@entry=0x7f927d13ba10, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f92a52ff618 in QEventLoop::exec (this=this@entry=0x7f927d13ba10, flags=...) at kernel/qeventloop.cpp:204
#7  0x00007f92a5201410 in QThread::exec (this=this@entry=0x22c5e90) at thread/qthread.cpp:542
#8  0x00007f92a52e0edf in QInotifyFileSystemWatcherEngine::run (this=0x22c5e90) at io/qfilesystemwatcher_inotify.cpp:256
#9  0x00007f92a5203bec in QThreadPrivate::start (arg=0x22c5e90) at thread/qthread_unix.cpp:338
#10 0x00007f9291452764 in ?? () from /usr/lib/nvidia-304-updates/libGL.so.1
#11 0x00007f929f937f8e in start_thread (arg=0x7f927d13c700) at pthread_create.c:311
#12 0x00007f92a4420e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 2 (Thread 0x7f91ddfc9700 (LWP 10857)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f92a520414b in wait (time=18446744073709551615, this=0x6404990) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x64046a0, mutex=mutex@entry=0x6404698, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007f92341430c6 in KIPIPlugins::KPRawThumbThread::run (this=0x6404b20) at /build/buildd/digikam-3.3.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#4  0x00007f92a5203bec in QThreadPrivate::start (arg=0x6404b20) at thread/qthread_unix.cpp:338
#5  0x00007f9291452764 in ?? () from /usr/lib/nvidia-304-updates/libGL.so.1
#6  0x00007f929f937f8e in start_thread (arg=0x7f91ddfc9700) at pthread_create.c:311
#7  0x00007f92a4420e1d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Thread 1 (Thread 0x7f92aa9f9a80 (LWP 10797)):
[KCrash Handler]
#6  qVariantToHelper<QMap<QString, QVariant> > (d=..., t=<optimized out>, handler=<optimized out>) at kernel/qvariant.cpp:2115
#7  QVariant::toMap (this=0x31) at kernel/qvariant.cpp:2158
#8  0x00007f91df1252f2 in KIPIFacebookPlugin::FbTalker::parseExchangeSession (this=this@entry=0x5d33be0, data=...) at /build/buildd/digikam-3.3.0/extra/kipi-plugins/facebook/fbtalker.cpp:1034
#9  0x00007f91df1258ac in KIPIFacebookPlugin::FbTalker::slotResult (this=0x5d33be0, kjob=0x5d819b0) at /build/buildd/digikam-3.3.0/extra/kipi-plugins/facebook/fbtalker.cpp:842
#10 0x00007f91df125d54 in qt_static_metacall (_a=<optimized out>, _id=<optimized out>, _o=<optimized out>, _c=<optimized out>) at /build/buildd/digikam-3.3.0/obj-x86_64-linux-gnu/extra/kipi-plugins/facebook/fbtalker.moc:96
#11 KIPIFacebookPlugin::FbTalker::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /build/buildd/digikam-3.3.0/obj-x86_64-linux-gnu/extra/kipi-plugins/facebook/fbtalker.moc:77
#12 0x00007f92a53150ef in QMetaObject::activate (sender=sender@entry=0x5d819b0, m=m@entry=0x7f92a5b104e0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff878f0b40) at kernel/qobject.cpp:3539
#13 0x00007f92a5783a72 in KJob::result (this=this@entry=0x5d819b0, _t1=_t1@entry=0x5d819b0) at ./kjob.moc:208
#14 0x00007f92a5783ab0 in KJob::emitResult (this=this@entry=0x5d819b0) at ../../kdecore/jobs/kjob.cpp:318
#15 0x00007f92a7142eb5 in KIO::SimpleJob::slotFinished (this=this@entry=0x5d819b0) at ../../kio/kio/job.cpp:494
#16 0x00007f92a7143352 in KIO::TransferJob::slotFinished (this=0x5d819b0) at ../../kio/kio/job.cpp:1081
#17 0x00007f92a53150ef in QMetaObject::activate (sender=sender@entry=0x5d7b560, m=m@entry=0x7f92a74df620 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#18 0x00007f92a71db343 in KIO::SlaveInterface::finished (this=this@entry=0x5d7b560) at ./slaveinterface.moc:185
#19 0x00007f92a71de041 in KIO::SlaveInterface::dispatch (this=0x5d7b560, _cmd=104, rawdata=...) at ../../kio/kio/slaveinterface.cpp:172
#20 0x00007f92a71db17a in KIO::SlaveInterface::dispatch (this=0x5d7b560) at ../../kio/kio/slaveinterface.cpp:88
#21 0x00007f92a71cf71e in KIO::Slave::gotInput (this=0x5d7b560) at ../../kio/kio/slave.cpp:344
#22 0x00007f92a53150ef in QMetaObject::activate (sender=0x5d75800, m=m@entry=0x7f92a74d8b40 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3539
#23 0x00007f92a710e890 in KIO::Connection::readyRead (this=<optimized out>) at ./connection.moc:106
#24 0x00007f92a710ed82 in dequeue (this=<optimized out>) at ../../kio/kio/connection.cpp:82
#25 KIO::ConnectionPrivate::dequeue (this=0x6455b80) at ../../kio/kio/connection.cpp:71
#26 0x00007f92a531a5be in QObject::event (this=0x5d75800, e=<optimized out>) at kernel/qobject.cpp:1194
#27 0x00007f92a5cea8ec in QApplicationPrivate::notify_helper (this=this@entry=0x19d7d00, receiver=receiver@entry=0x5d75800, e=e@entry=0x5abb2a0) at kernel/qapplication.cpp:4567
#28 0x00007f92a5ced25b in QApplication::notify (this=this@entry=0x7fff878f21a0, receiver=receiver@entry=0x5d75800, e=e@entry=0x5abb2a0) at kernel/qapplication.cpp:4428
#29 0x00007f92a69f61a6 in KApplication::notify (this=0x7fff878f21a0, receiver=0x5d75800, event=0x5abb2a0) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007f92a530063e in QCoreApplication::notifyInternal (this=0x7fff878f21a0, receiver=receiver@entry=0x5d75800, event=event@entry=0x5abb2a0) at kernel/qcoreapplication.cpp:946
#31 0x00007f92a5304171 in sendEvent (event=0x5abb2a0, receiver=0x5d75800) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x195f340) at kernel/qcoreapplication.cpp:1570
#33 0x00007f92a53044a3 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1463
#34 0x00007f92a532ee83 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#35 postEventSourceDispatch (s=0x19d3c50) at kernel/qeventdispatcher_glib.cpp:279
#36 0x00007f929cf36f05 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007f929cf37248 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007f929cf37304 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007f92a532f016 in QEventDispatcherGlib::processEvents (this=0x194fae0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#40 0x00007f92a5d9013e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#41 0x00007f92a52ff38f in QEventLoop::processEvents (this=this@entry=0x7fff878f1b90, flags=...) at kernel/qeventloop.cpp:149
#42 0x00007f92a52ff618 in QEventLoop::exec (this=this@entry=0x7fff878f1b90, flags=...) at kernel/qeventloop.cpp:204
#43 0x00007f92a5304cf6 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1218
#44 0x00007f92a5ce8ffc in QApplication::exec () at kernel/qapplication.cpp:3828
#45 0x00000000004927fb in main (argc=5, argv=0x7fff878f23d8) at /build/buildd/digikam-3.3.0/core/digikam/main/main.cpp:235

Reported using DrKonqi
Comment 1 Jekyll Wu 2013-08-11 15:38:55 UTC
See https://bugs.kde.org/show_bug.cgi?id=320626#c1
Comment 2 Jekyll Wu 2013-08-13 15:35:38 UTC
*** Bug 320626 has been marked as a duplicate of this bug. ***
Comment 3 Jekyll Wu 2013-10-21 02:01:12 UTC
*** Bug 326335 has been marked as a duplicate of this bug. ***
Comment 4 caulier.gilles 2014-05-16 07:34:53 UTC
digiKam 4.0.0 is out :

http://www.digikam.org/node/713

Please check if this entry still valid with this new version.

Thanks in advance

Gilles Caulier
Comment 5 levensondavid 2014-05-17 04:40:54 UTC
Caulier,

I have not yet installed DigiKam 4.0, but I just tested with version 3.5.0
.  Once I placed the correct HTML link in the settings for uploading to
facebook, the upload worked perfectly and posted to my account as expected.
 It had been quite some time since I bothered to even try this.  Thank you
for the email.  It was a good reminder.

One thing I found when setting the facebook upload URL was that facebook
would show the correct URL, then fall back to a useless URL that got me
nowhere.  Once I figured that out tonight, it worked.  I am hopeful that
this was not the case with the original bug report, but I don't think so.

Thank you for continuing to work on this incident.  I am currently running
14.04 release of the OS.  If, you find other issues you want tested, you
are welcome to reach out to me.  I will do what I can to test functionality.

Kind Regards,
David



On Fri, May 16, 2014 at 12:34 AM, Gilles Caulier
<caulier.gilles@gmail.com>wrote:

> https://bugs.kde.org/show_bug.cgi?id=323378
>
> --- Comment #4 from Gilles Caulier <caulier.gilles@gmail.com> ---
> digiKam 4.0.0 is out :
>
> http://www.digikam.org/node/713
>
> Please check if this entry still valid with this new version.
>
> Thanks in advance
>
> Gilles Caulier
>
> --
> You are receiving this mail because:
> You are on the CC list for the bug.
>
Comment 6 caulier.gilles 2014-05-17 08:02:50 UTC
>I have not yet installed DigiKam 4.0, but I just tested with version 3.5.0.
>  Once I placed the correct HTML link in the settings for uploading to
>facebook, the upload worked perfectly and posted to my account as expected.
> It had been quite some time since I bothered to even try this.  Thank you
>for the email.  It was a good reminder.

Yes this is the right way to do ...

Gilles Caulier