Bug 268760 - facebook uploader crashed
Summary: facebook uploader crashed
Status: RESOLVED WORKSFORME
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: 2011-03-17 17:39 UTC by unapiedra
Modified: 2018-01-30 21:23 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 2.5.0


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description unapiedra 2011-03-17 17:39:43 UTC
Application: gwenview (2.6.0)
KDE Platform Version: 4.6.1 (4.6.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-27-generic i686
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:
select a few pictures in gwenview and try to upload them to facebook. 
Logged in (worked).
Created new album (seemed to work but isn't shown on Facebook yet)
clicked upload (crashed, tried this twice failed both times). 

I compiled digikam from git (KDE repos) this includes some KIPI-plugins.

The crash can be reproduced every time.

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77dd930 (LWP 22711))]

Thread 6 (Thread 0xb57d9b70 (LWP 22712)):
#0  0x00d48416 in __kernel_vsyscall ()
#1  0x00c40df6 in __poll (fds=0xcd7ff4, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0x07f6ba1b in g_poll () from /lib/libglib-2.0.so.0
#3  0x07f5e43c in ?? () from /lib/libglib-2.0.so.0
#4  0x07f5e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#5  0x00a7959f in QEventDispatcherGlib::processEvents (this=0x9101410, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#6  0x00a49609 in QEventLoop::processEvents (this=0xb57d9290, flags=) at kernel/qeventloop.cpp:149
#7  0x00a49a8a in QEventLoop::exec (this=0xb57d9290, flags=...) at kernel/qeventloop.cpp:201
#8  0x00945b7e in QThread::exec (this=0x90f2458) at thread/qthread.cpp:490
#9  0x00a2835b in QInotifyFileSystemWatcherEngine::run (this=0x90f2458) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x00948df9 in QThreadPrivate::start (arg=0x90f2458) at thread/qthread_unix.cpp:266
#11 0x00d4ecc9 in start_thread (arg=0xb57d9b70) at pthread_create.c:304
#12 0x00c4f69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 5 (Thread 0xb4ae9b70 (LWP 22716)):
#0  0x00d3fe36 in clock_gettime (clock_id=13910004, tp=0xb4ae8f90) at ../sysdeps/unix/clock_gettime.c:100
#1  0x009a450b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x00a7b6e5 in QTimerInfoList::updateCurrentTime (this=0x948bf6c) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00a7b72a in QTimerInfoList::timerWait (this=0x948bf6c, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00a797a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xb4ae90bc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00a7983d in timerSourcePrepare (source=0x0, timeout=0xd43ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x07f5de6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x07f5e279 in ?? () from /lib/libglib-2.0.so.0
#9  0x07f5e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00a7959f in QEventDispatcherGlib::processEvents (this=0x93f5bf0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x00a49609 in QEventLoop::processEvents (this=0xb4ae9290, flags=) at kernel/qeventloop.cpp:149
#12 0x00a49a8a in QEventLoop::exec (this=0xb4ae9290, flags=...) at kernel/qeventloop.cpp:201
#13 0x00945b7e in QThread::exec (this=0x93339f0) at thread/qthread.cpp:490
#14 0x00a2835b in QInotifyFileSystemWatcherEngine::run (this=0x93339f0) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x00948df9 in QThreadPrivate::start (arg=0x93339f0) at thread/qthread_unix.cpp:266
#16 0x00d4ecc9 in start_thread (arg=0xb4ae9b70) at pthread_create.c:304
#17 0x00c4f69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xb04f0b70 (LWP 22754)):
#0  0x00d48416 in __kernel_vsyscall ()
#1  0x00d53884 in pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_timedwait.S:236
#2  0x00c5cdf4 in __pthread_cond_timedwait (cond=0x973a6e8, mutex=0x973a6d0, abstime=0xb04f0320) at forward.c:152
#3  0x019cbb3f in ?? () from /usr/lib/libxine.so.1
Backtrace stopped: previous frame inner to this frame (corrupt stack?)

Thread 3 (Thread 0xaaea1b70 (LWP 22756)):
#0  0x00d3fe36 in clock_gettime (clock_id=13910004, tp=0xaaea0f80) at ../sysdeps/unix/clock_gettime.c:100
#1  0x009a450b in do_gettime () at tools/qelapsedtimer_unix.cpp:105
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:119
#3  0x00a7b6e5 in QTimerInfoList::updateCurrentTime (this=0x9b4edbc) at kernel/qeventdispatcher_unix.cpp:339
#4  0x00a7b72a in QTimerInfoList::timerWait (this=0x9b4edbc, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x00a797a8 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaaea10ac) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00a7983d in timerSourcePrepare (source=0x0, timeout=0xd43ff4) at kernel/qeventdispatcher_glib.cpp:169
#7  0x07f5de6a in g_main_context_prepare () from /lib/libglib-2.0.so.0
#8  0x07f5e279 in ?? () from /lib/libglib-2.0.so.0
#9  0x07f5e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#10 0x00a7959f in QEventDispatcherGlib::processEvents (this=0x973ade0, flags=...) at kernel/qeventdispatcher_glib.cpp:417
#11 0x00a49609 in QEventLoop::processEvents (this=0xaaea1280, flags=) at kernel/qeventloop.cpp:149
#12 0x00a49a8a in QEventLoop::exec (this=0xaaea1280, flags=...) at kernel/qeventloop.cpp:201
#13 0x00945b7e in QThread::exec (this=0x9b4e030) at thread/qthread.cpp:490
#14 0x06ef9d7a in ?? () from /usr/lib/qt4/plugins/phonon_backend/phonon_xine.so
#15 0x00948df9 in QThreadPrivate::start (arg=0x9b4e030) at thread/qthread_unix.cpp:266
#16 0x00d4ecc9 in start_thread (arg=0xaaea1b70) at pthread_create.c:304
#17 0x00c4f69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa48e6b70 (LWP 22779)):
#0  0x00d48416 in __kernel_vsyscall ()
#1  0x00d534dc in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:169
#2  0x00c5cd9d in __pthread_cond_wait (cond=0xa030b18, mutex=0xa030b00) at forward.c:139
#3  0x009499c7 in wait (this=0xa03659c, mutex=0xa036598, time=4294967295) at thread/qwaitcondition_unix.cpp:88
#4  QWaitCondition::wait (this=0xa03659c, mutex=0xa036598, time=4294967295) at thread/qwaitcondition_unix.cpp:160
#5  0x06c80ac2 in KIPIPlugins::LoadRawThumbThread::run() () from /usr/lib/libkipiplugins.so.1
#6  0x00948df9 in QThreadPrivate::start (arg=0xa036940) at thread/qthread_unix.cpp:266
#7  0x00d4ecc9 in start_thread (arg=0xa48e6b70) at pthread_create.c:304
#8  0x00c4f69e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77dd930 (LWP 22711)):
[KCrash Handler]
#7  0x83fffffd in ?? ()
#8  0x064b8d15 in Exiv2::ExifKey::clone() const () from /usr/lib/libexiv2.so.6
#9  0x0645d0e8 in Exiv2::Exifdatum::Exifdatum(Exiv2::Exifdatum const&) () from /usr/lib/libexiv2.so.6
#10 0x04e45258 in __gnu_cxx::new_allocator<Exiv2::Exifdatum>::construct (this=0xbfbc48af, __p=0x95dca68, __val=...) at /usr/include/c++/4.4/ext/new_allocator.h:105
#11 0x04e4512d in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::_M_create_node (this=0xbfbc4994, __x=...) at /usr/include/c++/4.4/bits/stl_list.h:464
#12 0x04e44f76 in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::_M_insert (this=0xbfbc4994, __position=..., __x=...) at /usr/include/c++/4.4/bits/stl_list.h:1407
#13 0x04e449cc in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::push_back (this=0xbfbc4994, __x=...) at /usr/include/c++/4.4/bits/stl_list.h:920
#14 0x04e440d8 in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::_M_initialize_dispatch<std::_List_const_iterator<Exiv2::Exifdatum> > (this=0xbfbc4994, __first=..., __last=...) at /usr/include/c++/4.4/bits/stl_list.h:1361
#15 0x04e4384f in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::list<std::_List_const_iterator<Exiv2::Exifdatum> > (this=0xbfbc4994, __first=..., __last=..., __a=...) at /usr/include/c++/4.4/bits/stl_list.h:577
#16 0x04e42f26 in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::insert<std::_List_const_iterator<Exiv2::Exifdatum> > (this=0x959d5e8, __position=..., __first=..., __last=...) at /usr/include/c++/4.4/bits/stl_list.h:1051
#17 0x04e4268e in std::list<Exiv2::Exifdatum, std::allocator<Exiv2::Exifdatum> >::operator= (this=0x959d5e8, __x=...) at /usr/include/c++/4.4/bits/list.tcc:147
#18 0x04e42010 in Exiv2::ExifData::operator= (this=0x959d5e8) at /usr/local/include/exiv2/exif.hpp:438
#19 0x04e40807 in KExiv2Iface::KExiv2::load (this=0xbfbc4bb4, filePath=...) at /home/chris/src/digikam/libkexiv2/libkexiv2/kexiv2.cpp:344
#20 0x02b5d8c2 in ?? () from /usr/lib/kde4/kipiplugin_facebook.so
#21 0x02b60a3b in ?? () from /usr/lib/kde4/kipiplugin_facebook.so
#22 0x02b60fa1 in ?? () from /usr/lib/kde4/kipiplugin_facebook.so
#23 0x00ee4399 in KDialog::qt_metacall (this=0x96c8690, _c=158107280, _id=-1078178920, _a=0xbfbc4e98) at ./kdialog.moc:190
#24 0x02b6270a in ?? () from /usr/lib/kde4/kipiplugin_facebook.so
#25 0x00a508ca in QMetaObject::metacall (object=0x96c8690, cl=106565620, idx=0, argv=0xbfbc4e98) at kernel/qmetaobject.cpp:237
#26 0x00a636ad in QMetaObject::activate (sender=0xa01e354, m=0xb7c0f8, local_signal_index=0, argv=0x659d448) at kernel/qobject.cpp:3280
#27 0x00a665a3 in QSignalMapper::mapped (this=0xa01e354, _t1=4096) at .moc/release-shared/moc_qsignalmapper.cpp:101
#28 0x00a677ed in QSignalMapper::map (this=0xa01e354, sender=0x9d72ed0) at kernel/qsignalmapper.cpp:266
#29 0x00a679ce in QSignalMapper::map (this=0xa01e354) at kernel/qsignalmapper.cpp:257
#30 0x00a67a9b in QSignalMapper::qt_metacall (this=0xa01e354, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfbc5038) at .moc/release-shared/moc_qsignalmapper.cpp:87
#31 0x00a508ca in QMetaObject::metacall (object=0xa01e354, cl=106565620, idx=8, argv=0xbfbc5038) at kernel/qmetaobject.cpp:237
#32 0x00a636ad in QMetaObject::activate (sender=0x9d72ed0, m=0x7c46704, local_signal_index=2, argv=0x659d448) at kernel/qobject.cpp:3280
#33 0x07a23019 in QAbstractButton::clicked (this=0x9d72ed0, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#34 0x076e2ff9 in QAbstractButtonPrivate::emitClicked (this=0xa03b3d8) at widgets/qabstractbutton.cpp:546
#35 0x076e46f4 in QAbstractButtonPrivate::click (this=0xa03b3d8) at widgets/qabstractbutton.cpp:539
#36 0x076e49ae in QAbstractButton::mouseReleaseEvent (this=0x9d72ed0, e=0xbfbc5780) at widgets/qabstractbutton.cpp:1121
#37 0x07312e08 in QWidget::event (this=0x9d72ed0, event=0xbfbc5780) at kernel/qwidget.cpp:8187
#38 0x076e2e9e in QAbstractButton::event (this=0x9d72ed0, e=0x645cdc0) at widgets/qabstractbutton.cpp:1080
#39 0x07790c22 in QPushButton::event (this=0x9d72ed0, e=0xbfbc5780) at widgets/qpushbutton.cpp:683
#40 0x072b4fdc in QApplicationPrivate::notify_helper (this=0x8ff47f8, receiver=0x9d72ed0, e=0xbfbc5780) at kernel/qapplication.cpp:4396
#41 0x072bbc2e in QApplication::notify (this=0xbfbc604c, receiver=0x9d72ed0, e=0xbfbc5780) at kernel/qapplication.cpp:3959
#42 0x00faf7da in KApplication::notify (this=0xbfbc604c, receiver=0x9d72ed0, event=0xbfbc5780) at ../../kdeui/kernel/kapplication.cpp:311
#43 0x00a4ab3b in QCoreApplication::notifyInternal (this=0xbfbc604c, receiver=0x9d72ed0, event=0xbfbc5780) at kernel/qcoreapplication.cpp:732
#44 0x072ba094 in sendEvent (receiver=0x9d72ed0, event=0xbfbc5780, alienWidget=0x9d72ed0, nativeWidget=0xa021a78, buttonDown=0x7c4f3c0, lastMouseReceiver=..., spontaneous=true) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#45 QApplicationPrivate::sendMouseEvent (receiver=0x9d72ed0, event=0xbfbc5780, alienWidget=0x9d72ed0, nativeWidget=0xa021a78, buttonDown=0x7c4f3c0, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3058
#46 0x07348d10 in QETWidget::translateMouseEvent (this=0xa021a78, event=0xbfbc5c9c) at kernel/qapplication_x11.cpp:4403
#47 0x07348151 in QApplication::x11ProcessEvent (this=0xbfbc604c, event=0xbfbc5c9c) at kernel/qapplication_x11.cpp:3414
#48 0x0737736a in x11EventSourceDispatch (s=0x8ff7a40, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#49 0x07f5a855 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#50 0x07f5e668 in ?? () from /lib/libglib-2.0.so.0
#51 0x07f5e848 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#52 0x00a79565 in QEventDispatcherGlib::processEvents (this=0x8fdf990, flags=...) at kernel/qeventdispatcher_glib.cpp:415
#53 0x07376be5 in QGuiEventDispatcherGlib::processEvents (this=0x8fdf990, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#54 0x00a49609 in QEventLoop::processEvents (this=0xbfbc5f94, flags=) at kernel/qeventloop.cpp:149
#55 0x00a49a8a in QEventLoop::exec (this=0xbfbc5f94, flags=...) at kernel/qeventloop.cpp:201
#56 0x00a4e00f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#57 0x072b3e07 in QApplication::exec () at kernel/qapplication.cpp:3672
#58 0x080846bd in _start ()

Reported using DrKonqi
Comment 1 Andi Clemens 2011-10-26 11:12:51 UTC
I just tested this with current trunk, I can not reproduce it.
Is this still valid? If so, can you provide an example image for uploading to facebook? It will be deleted again after the test series.
Comment 2 caulier.gilles 2011-11-03 12:44:26 UTC
kipi-plugins 2.2.0 is out since few weeks. Crash still valid with this version ?

Gilles Caulier