Bug 289272

Summary: File upload to facebook fails
Product: [Applications] digikam Reporter: Robert Abel <r>
Component: Plugin-WebService-FacebookAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: caulier.gilles
Priority: NOR    
Version: 2.3.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 4.12.0
Sentry Crash Report:

Description Robert Abel 2011-12-18 12:05:59 UTC
Application: digikam (2.3.0)
KDE Platform Version: 4.7.4 (4.7.4)
Qt Version: 4.8.0
Operating System: Linux 2.6.37.6-0.9-desktop i686
Distribution: "openSUSE 11.4 (i586)"

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

Kipi Facebook Plugin/ digikam

I tried to upload a pic to my facebook account. Maybe the the problem comes from the pic source.
It is a mounted share (cifs) on a synology diskstation DS111 (Media server)

The crash can be reproduced every time.

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

Thread 5 (Thread 0xae0d0b70 (LWP 9216)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb419d105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4812aac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb55b8a20 in wait (this=0x86d07d4, mutex=0x86d07d0, time=4294967295) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x86d07d4, mutex=0x86d07d0, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0x081fd8f5 in _start ()

Thread 4 (Thread 0xad8cfb70 (LWP 9217)):
#0  0xb31be22b in clock_gettime () from /lib/librt.so.1
#1  0xb5618bb5 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0xb5701e46 in updateCurrentTime (this=0xacf0187c, tm=...) at kernel/qeventdispatcher_unix.cpp:343
#4  QTimerInfoList::timerWait (this=0xacf0187c, tm=...) at kernel/qeventdispatcher_unix.cpp:450
#5  0xb570066b in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xad8cf0cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0xb570070d in timerSourcePrepare (source=0xacf01848, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0xb3108a70 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0xb31098e2 in ?? () from /lib/libglib-2.0.so.0
#9  0xb3109fce in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0xb5700f57 in QEventDispatcherGlib::processEvents (this=0xacf00468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#11 0xb56ccf7d in QEventLoop::processEvents (this=0xad8cf270, flags=...) at kernel/qeventloop.cpp:149
#12 0xb56cd211 in QEventLoop::exec (this=0xad8cf270, flags=...) at kernel/qeventloop.cpp:204
#13 0xb55b4fad in QThread::exec (this=0x86d2af8) at thread/qthread.cpp:501
#14 0xb56a988d in QInotifyFileSystemWatcherEngine::run (this=0x86d2af8) at io/qfilesystemwatcher_inotify.cpp:248
#15 0xb55b7a6d in QThreadPrivate::start (arg=0x86d2af8) at thread/qthread_unix.cpp:298
#16 0xb4198b05 in start_thread () from /lib/libpthread.so.0
#17 0xb4804d1e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xaceffb70 (LWP 9219)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb419d105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4812aac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb55b8a20 in wait (this=0x8777110, mutex=0x877710c, time=4294967295) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0x8777110, mutex=0x877710c, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xb6abfc30 in ?? () from /usr/lib/libdigikamcore.so.2
#6  0xb55b7a6d in QThreadPrivate::start (arg=0x8777100) at thread/qthread_unix.cpp:298
#7  0xb4198b05 in start_thread () from /lib/libpthread.so.0
#8  0xb4804d1e in clone () from /lib/libc.so.6

Thread 2 (Thread 0x9e5c5b70 (LWP 9238)):
#0  0xffffe424 in __kernel_vsyscall ()
#1  0xb419d105 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb4812aac in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb55b8a20 in wait (this=0xa33d001c, mutex=0xa33d0018, time=4294967295) at thread/qwaitcondition_unix.cpp:86
#4  QWaitCondition::wait (this=0xa33d001c, mutex=0xa33d0018, time=4294967295) at thread/qwaitcondition_unix.cpp:158
#5  0xa5f2b3aa in KIPIPlugins::LoadRawThumbThread::run() () from /usr/lib/libkipiplugins.so.2
#6  0xb55b7a6d in QThreadPrivate::start (arg=0xa3c3e998) at thread/qthread_unix.cpp:298
#7  0xb4198b05 in start_thread () from /lib/libpthread.so.0
#8  0xb4804d1e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xaf329a80 (LWP 9215)):
[KCrash Handler]
#7  ref (this=0xbfe9a840, copy=...) at ../../src/corelib/arch/qatomic_i386.h:120
#8  QString (this=0xbfe9a840, copy=...) at ../../src/corelib/tools/qstring.h:726
#9  QUrlPrivate::QUrlPrivate (this=0xbfe9a840, copy=...) at io/qurl.cpp:3451
#10 0xb5681144 in QUrlPrivate::normalized (this=0xa306c9c0) at io/qurl.cpp:4054
#11 0xb5681ad6 in QUrl::operator== (this=0xbfe9ac9c, url=...) at io/qurl.cpp:6038
#12 0xb593f8e3 in KUrl::operator== (this=0xbfe9ac9c, _u=...) at /usr/src/debug/kdelibs-4.7.4/kdecore/io/kurl.cpp:609
#13 0x080cb4c2 in _start ()

Reported using DrKonqi
Comment 1 caulier.gilles 2011-12-20 10:25:53 UTC
Robert, 

This file still valid using kipi-plugins 2.4 ?

Gilles Caulier
Comment 2 caulier.gilles 2012-06-22 08:55:52 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 3 caulier.gilles 2013-12-23 14:14:13 UTC
We needs a fresh feedback here please...

Gilles Caulier
Comment 4 caulier.gilles 2015-06-26 13:46:09 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
Comment 5 caulier.gilles 2015-07-21 11:49:10 UTC
Git commit 946a4ed104c954f532efc27061a740b9904e317d by Shourya Singh Gupta.
Committed on 21/07/2015 at 10:37.
Pushed by shouryasinghgupta into branch 'master'.

Facebook up and running now
FIXED-IN: 4.12.0

M  +4    -1    facebook/fbwindow.cpp

http://commits.kde.org/kipi-plugins/946a4ed104c954f532efc27061a740b9904e317d