Bug 306144 - Crashes with Export to Facebook
Summary: Crashes with Export to Facebook
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Facebook (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-01 18:34 UTC by Alexis Kauffmann
Modified: 2018-02-04 07:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 4.12.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexis Kauffmann 2012-09-01 18:34:49 UTC
Application: gwenview (2.9.0)
KDE Platform Version: 4.9.00
Qt Version: 4.8.2
Operating System: Linux 3.2.0-29-generic x86_64
Distribution: Ubuntu 12.04.1 LTS

-- Information about the crash:
- What I was doing when the application crashed: It never completes the task. As soon as I click on the button to send the picture, Gwenview crashes.

-- 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 0x7ff773c5a780 (LWP 5388))]

Thread 6 (Thread 0x7ff75e72b700 (LWP 5392)):
#0  0x00007ff76d490f69 in __pthread_mutex_lock (mutex=0x7ff758000a60) at pthread_mutex_lock.c:92
#1  0x00007ff76ce095a1 in g_mutex_lock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007ff76cdcd851 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff76cdcdf5b in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff76cdce164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff772aa89e6 in QEventDispatcherGlib::processEvents (this=0x7ff7580008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007ff772a77f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ff772a78177 in QEventLoop::exec (this=0x7ff75e72add0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ff772977057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007ff772a57c2f in QInotifyFileSystemWatcherEngine::run (this=0x16b5cc0) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007ff77297a07b in QThreadPrivate::start (arg=0x16b5cc0) at thread/qthread_unix.cpp:307
#11 0x00007ff76d48ee9a in start_thread (arg=0x7ff75e72b700) at pthread_create.c:308
#12 0x00007ff77062a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 5 (Thread 0x7ff75d4de700 (LWP 5393)):
#0  0x00007ff76d49205d in __pthread_mutex_unlock_usercnt (mutex=<optimized out>, decr=<optimized out>) at pthread_mutex_unlock.c:52
#1  __pthread_mutex_unlock (mutex=0x7ff750000a60) at pthread_mutex_unlock.c:290
#2  0x00007ff76ce095d1 in g_mutex_unlock () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007ff76cdcdf4e in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007ff76cdce164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007ff772aa89e6 in QEventDispatcherGlib::processEvents (this=0x7ff7500008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x00007ff772a77f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#7  0x00007ff772a78177 in QEventLoop::exec (this=0x7ff75d4dddd0, flags=...) at kernel/qeventloop.cpp:204
#8  0x00007ff772977057 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#9  0x00007ff772a57c2f in QInotifyFileSystemWatcherEngine::run (this=0x1b63170) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00007ff77297a07b in QThreadPrivate::start (arg=0x1b63170) at thread/qthread_unix.cpp:307
#11 0x00007ff76d48ee9a in start_thread (arg=0x7ff75d4de700) at pthread_create.c:308
#12 0x00007ff77062a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#13 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ff755dd9700 (LWP 5405)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff77297a58b in wait (time=18446744073709551615, this=0x17dd7d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x1789698, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff7735a13be in Gwenview::SemanticInfoThread::run (this=0x1789680) at ../../lib/semanticinfo/nepomuksemanticinfobackend.cpp:145
#4  0x00007ff77297a07b in QThreadPrivate::start (arg=0x1789680) at thread/qthread_unix.cpp:307
#5  0x00007ff76d48ee9a in start_thread (arg=0x7ff755dd9700) at pthread_create.c:308
#6  0x00007ff77062a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ff7555d8700 (LWP 5481)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff77297a58b in wait (time=18446744073709551615, this=0x2020430) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x210d588, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff75712ea24 in KIPIPlugins::KPRawThumbThread::run (this=0x31178a0) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:107
#4  0x00007ff77297a07b in QThreadPrivate::start (arg=0x31178a0) at thread/qthread_unix.cpp:307
#5  0x00007ff76d48ee9a in start_thread (arg=0x7ff7555d8700) at pthread_create.c:308
#6  0x00007ff77062a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ff7437fe700 (LWP 5823)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007ff77297a58b in wait (time=18446744073709551615, this=0x25830d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2582258, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00007ff75712ea24 in KIPIPlugins::KPRawThumbThread::run (this=0x25826e0) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:107
#4  0x00007ff77297a07b in QThreadPrivate::start (arg=0x25826e0) at thread/qthread_unix.cpp:307
#5  0x00007ff76d48ee9a in start_thread (arg=0x7ff7437fe700) at pthread_create.c:308
#6  0x00007ff77062a4bd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ff773c5a780 (LWP 5388)):
[KCrash Handler]
#6  0x00007ff7712c198f in parent (this=0x258e3c0) at ../../include/QtCore/../../src/corelib/kernel/qobject.h:273
#7  parentWidget (this=0x258e3c0) at ../../include/QtGui/../../src/gui/kernel/qwidget.h:1033
#8  QLayout::addChildWidget (this=<optimized out>, w=0x258e3c0) at kernel/qlayout.cpp:992
#9  0x00007ff7712a4c07 in QBoxLayout::insertWidget (this=<optimized out>, index=-1, widget=0x258e3c0, stretch=0, alignment=...) at kernel/qboxlayout.cpp:1032
#10 0x00007ff7712a4e5b in QBoxLayout::addWidget (this=<optimized out>, widget=<optimized out>, stretch=<optimized out>, alignment=...) at kernel/qboxlayout.cpp:1112
#11 0x00007ff71e11e531 in KIPIFacebookPlugin::FbWidget::FbWidget (this=0x25684b0, parent=<optimized out>, iface=0x1d003e0, import=false) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/facebook/fbwidget.cpp:165
#12 0x00007ff71e118bb4 in KIPIFacebookPlugin::FbWindow::FbWindow (this=0x2565c60, tmpFolder=..., import=false) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/facebook/fbwindow.cpp:77
#13 0x00007ff71e116adc in KIPIFacebookPlugin::Plugin_Facebook::slotExport (this=0x20e3d50) at /build/buildd/digikam-2.6.0/extra/kipi-plugins/facebook/plugin_facebook.cpp:125
#14 0x00007ff772a8d841 in QMetaObject::activate (sender=0x215a7d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffc8d81e60) at kernel/qobject.cpp:3547
#15 0x00007ff771291072 in QAction::triggered (this=<optimized out>, _t1=false) at .moc/release-shared/moc_qaction.cpp:277
#16 0x00007ff77129125f in QAction::activate (this=0x215a7d0, event=<optimized out>) at kernel/qaction.cpp:1257
#17 0x00007ff7716e33c9 in QMenuPrivate::activateCausedStack (this=0x31513e0, causedStack=..., action=0x215a7d0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1028
#18 0x00007ff7716e9522 in QMenuPrivate::activateAction (this=0x31513e0, action=0x215a7d0, action_e=QAction::Trigger, self=true) at widgets/qmenu.cpp:1120
#19 0x00007ff7712e7fb4 in QWidget::event (this=0x3112590, event=0x7fffc8d82880) at kernel/qwidget.cpp:8371
#20 0x00007ff7716eaabb in QMenu::event (this=0x3112590, e=0x7fffc8d82880) at widgets/qmenu.cpp:2469
#21 0x00007ff7712977b4 in notify_helper (e=0x7fffc8d82880, receiver=0x3112590, this=0x1642670) at kernel/qapplication.cpp:4556
#22 QApplicationPrivate::notify_helper (this=0x1642670, receiver=0x3112590, e=0x7fffc8d82880) at kernel/qapplication.cpp:4528
#23 0x00007ff77129cf2f in QApplication::notify (this=<optimized out>, receiver=0x3112590, e=0x7fffc8d82880) at kernel/qapplication.cpp:4099
#24 0x00007ff771fd2456 in KApplication::notify (this=0x7fffc8d83590, receiver=0x3112590, event=0x7fffc8d82880) at ../../kdeui/kernel/kapplication.cpp:311
#25 0x00007ff772a793ec in QCoreApplication::notifyInternal (this=0x7fffc8d83590, receiver=0x3112590, event=0x7fffc8d82880) at kernel/qcoreapplication.cpp:915
#26 0x00007ff771298782 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#27 QApplicationPrivate::sendMouseEvent (receiver=0x3112590, event=0x7fffc8d82880, alienWidget=0x0, nativeWidget=0x3112590, buttonDown=0x0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3167
#28 0x00007ff7713181e1 in QETWidget::translateMouseEvent (this=0x3112590, event=<optimized out>) at kernel/qapplication_x11.cpp:4551
#29 0x00007ff771316ace in QApplication::x11ProcessEvent (this=0x7fffc8d83590, event=0x7fffc8d83150) at kernel/qapplication_x11.cpp:3732
#30 0x00007ff771340052 in x11EventSourceDispatch (s=0x1647000, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#31 0x00007ff76cdcdd53 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#32 0x00007ff76cdce0a0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#33 0x00007ff76cdce164 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#34 0x00007ff772aa897f in QEventDispatcherGlib::processEvents (this=0x1616770, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#35 0x00007ff77133fcde in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#36 0x00007ff772a77f22 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#37 0x00007ff772a78177 in QEventLoop::exec (this=0x7fffc8d834f0, flags=...) at kernel/qeventloop.cpp:204
#38 0x00007ff772a7d4c7 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#39 0x0000000000427245 in main (argc=6, argv=0x7fffc8d838b8) at ../../app/main.cpp:142

This bug may be a duplicate of or related to bug 305893.

Possible duplicates by query: bug 305893.

Reported using DrKonqi
Comment 1 Alexis Kauffmann 2012-09-01 19:17:06 UTC
It seems that I have isolated the problem. Gwenview only crashes if I select the "Resize image before send" (my version is in Brazilian Portuguese, I'm not sure if this is the exact translation) option. If I uncheck this option to upload fullsized files, it works fine.
Comment 2 caulier.gilles 2013-12-23 14:32:06 UTC
This entry still valid using last kipi-plugins 3.5.0 ?

Gilles Caulier
Comment 3 caulier.gilles 2014-05-16 07:35:13 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 4 caulier.gilles 2014-09-08 06:57:32 UTC
This file still valid using last kipi-plugins 4.2.0 ?

Gilles Caulier
Comment 5 caulier.gilles 2015-06-26 13:45:24 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 6 caulier.gilles 2015-07-21 11:49:52 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