Bug 328472 - Crash on quit during Facebook upload
Summary: Crash on quit during Facebook upload
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Plugin-WebService-Facebook (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2013-12-06 01:54 UTC by Martin Holec
Modified: 2018-02-04 08:33 UTC (History)
2 users (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 Martin Holec 2013-12-06 01:54:09 UTC
Application: gwenview (4.11.3)
KDE Platform Version: 4.11.3
Qt Version: 4.8.5
Operating System: Linux 3.11.10-300.fc20.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
1. Start uploading photos to Facebook using KIPI plugin
2. Run another Gwenview instance
3. Close first Gwenview instance (which is still uploading photos).
4. Photo uploader crash

-- Backtrace:
Application: Gwenview (gwenview), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
81	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f9e052b2900 (LWP 1008))]

Thread 4 (Thread 0x7f9df9af9700 (LWP 1014)):
#0  0x0000003e9520b1fb in __pthread_mutex_unlock_usercnt (decr=1, mutex=0x7f9dec000a80) at pthread_mutex_unlock.c:57
#1  __GI___pthread_mutex_unlock (mutex=0x7f9dec000a80) at pthread_mutex_unlock.c:310
#2  0x000000392ec8a5d1 in g_mutex_unlock (mutex=mutex@entry=0x7f9dec0009c0) at gthread-posix.c:232
#3  0x000000392ec48be0 in g_main_context_prepare (context=context@entry=0x7f9dec0009c0, priority=priority@entry=0x7f9df9af8b40) at gmain.c:3338
#4  0x000000392ec494bb in g_main_context_iterate (context=context@entry=0x7f9dec0009c0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3693
#5  0x000000392ec496dc in g_main_context_iteration (context=0x7f9dec0009c0, may_block=1) at gmain.c:3774
#6  0x00000035e47b31a6 in QEventDispatcherGlib::processEvents (this=0x7f9dec0008e0, flags=...) at kernel/qeventdispatcher_glib.cpp:427
#7  0x00000035e478312f in QEventLoop::processEvents (this=this@entry=0x7f9df9af8c80, flags=...) at kernel/qeventloop.cpp:149
#8  0x00000035e478347d in QEventLoop::exec (this=this@entry=0x7f9df9af8c80, flags=...) at kernel/qeventloop.cpp:204
#9  0x00000035e4679bdf in QThread::exec (this=this@entry=0x23fc370) at thread/qthread.cpp:536
#10 0x00000035e4763a93 in QInotifyFileSystemWatcherEngine::run (this=0x23fc370) at io/qfilesystemwatcher_inotify.cpp:256
#11 0x00000035e467c3df in QThreadPrivate::start (arg=0x23fc370) at thread/qthread_unix.cpp:338
#12 0x0000003e95207f33 in start_thread (arg=0x7f9df9af9700) at pthread_create.c:309
#13 0x0000003e94af4ead in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7f9dea036700 (LWP 1033)):
#0  0x0000003e94aeaa8d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f9dd7cddbdc in linux_udev_event_thread_main () from /lib64/libusb-1.0.so.0
#2  0x0000003e95207f33 in start_thread (arg=0x7f9dea036700) at pthread_create.c:309
#3  0x0000003e94af4ead in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7f9dd1584700 (LWP 1034)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00000035e467c906 in wait (time=18446744073709551615, this=0x2ee2d40) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=this@entry=0x2ee2190, mutex=mutex@entry=0x2ee2188, time=time@entry=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x00000035eb23b9cd in KIPIPlugins::KPRawThumbThread::run (this=0x2e4e880) at /usr/src/debug/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/tools/kprawthumbthread.cpp:108
#4  0x00000035e467c3df in QThreadPrivate::start (arg=0x2e4e880) at thread/qthread_unix.cpp:338
#5  0x0000003e95207f33 in start_thread (arg=0x7f9dd1584700) at pthread_create.c:309
#6  0x0000003e94af4ead in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7f9e052b2900 (LWP 1008)):
[KCrash Handler]
#6  0x0000000002dbba3a in ?? ()
#7  0x00000035e9e1558c in KIPI::Interface::hasFeature (this=<optimized out>, feature=feature@entry=KIPI::HostSupportsProgressBar) at /usr/src/debug/libkipi-4.11.3/libkipi/interface.cpp:93
#8  0x00000035eb247830 in KIPIPlugins::KPProgressWidget::slotValueChanged (this=0x2f24870) at /usr/src/debug/digikam-3.5.0/extra/kipi-plugins/common/libkipiplugins/widgets/kpprogresswidget.cpp:75
#9  0x00000035e4798fa8 in QMetaObject::activate (sender=sender@entry=0x2f24870, m=m@entry=0x35e58ca4e0 <QProgressBar::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7fff9c20de00) at kernel/qobject.cpp:3547
#10 0x00000035e544ffce in QProgressBar::valueChanged (this=this@entry=0x2f24870, _t1=_t1@entry=18) at .moc/release-shared/moc_qprogressbar.cpp:195
#11 0x00000035e5220265 in QProgressBar::setValue (this=0x2f24870, value=value@entry=18) at widgets/qprogressbar.cpp:316
#12 0x00007f9dd1bd012c in KIPIFacebookPlugin::FbWindow::uploadNextPhoto (this=this@entry=0x2ec59e0) at /usr/src/debug/digikam-3.5.0/extra/kipi-plugins/facebook/fbwindow.cpp:729
#13 0x00007f9dd1bd0adc in KIPIFacebookPlugin::FbWindow::slotAddPhotoDone (this=0x2ec59e0, errCode=<optimized out>, errMsg=...) at /usr/src/debug/digikam-3.5.0/extra/kipi-plugins/facebook/fbwindow.cpp:790
#14 0x00000035e4798fa8 in QMetaObject::activate (sender=sender@entry=0x2e5ad90, m=m@entry=0x7f9dd1decb20 <KIPIFacebookPlugin::FbTalker::staticMetaObject>, local_signal_index=local_signal_index@entry=6, argv=argv@entry=0x7fff9c20e0c0) at kernel/qobject.cpp:3547
#15 0x00007f9dd1bd5076 in KIPIFacebookPlugin::FbTalker::signalAddPhotoDone (this=this@entry=0x2e5ad90, _t1=_t1@entry=0, _t2=...) at /usr/src/debug/digikam-3.5.0/x86_64-redhat-linux-gnu/extra/kipi-plugins/facebook/fbtalker.moc:172
#16 0x00007f9dd1bddbde in KIPIFacebookPlugin::FbTalker::parseResponseAddPhoto (this=this@entry=0x2e5ad90, data=...) at /usr/src/debug/digikam-3.5.0/extra/kipi-plugins/facebook/fbtalker.cpp:1291
#17 0x00007f9dd1be06a4 in KIPIFacebookPlugin::FbTalker::slotResult (this=0x2e5ad90, kjob=0x2352370) at /usr/src/debug/digikam-3.5.0/extra/kipi-plugins/facebook/fbtalker.cpp:870
#18 0x00007f9dd1be0874 in KIPIFacebookPlugin::FbTalker::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/digikam-3.5.0/x86_64-redhat-linux-gnu/extra/kipi-plugins/facebook/fbtalker.moc:95
#19 0x00000035e4798fa8 in QMetaObject::activate (sender=sender@entry=0x2352370, m=m@entry=0x35e6ed34a0 <KJob::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x7fff9c20e380) at kernel/qobject.cpp:3547
#20 0x00000035e6b393d2 in KJob::result (this=this@entry=0x2352370, _t1=_t1@entry=0x2352370) at /usr/src/debug/kdelibs-4.11.3/x86_64-redhat-linux-gnu/kdecore/kjob.moc:207
#21 0x00000035e6b39420 in KJob::emitResult (this=this@entry=0x2352370) at /usr/src/debug/kdelibs-4.11.3/kdecore/jobs/kjob.cpp:318
#22 0x00000035e8d0199a in KIO::SimpleJob::slotFinished (this=this@entry=0x2352370) at /usr/src/debug/kdelibs-4.11.3/kio/kio/job.cpp:496
#23 0x00000035e8d02d71 in KIO::TransferJob::slotFinished (this=0x2352370) at /usr/src/debug/kdelibs-4.11.3/kio/kio/job.cpp:1099
#24 0x00000035e4798fa8 in QMetaObject::activate (sender=0x2e79290, m=m@entry=0x35e90b9460 <KIO::SlaveInterface::staticMetaObject>, local_signal_index=local_signal_index@entry=4, argv=argv@entry=0x0) at kernel/qobject.cpp:3547
#25 0x00000035e8da76a3 in KIO::SlaveInterface::finished (this=<optimized out>) at /usr/src/debug/kdelibs-4.11.3/x86_64-redhat-linux-gnu/kio/slaveinterface.moc:184
#26 0x00000035e8da92f6 in KIO::SlaveInterface::dispatch (this=<optimized out>, _cmd=104, rawdata=...) at /usr/src/debug/kdelibs-4.11.3/kio/kio/slaveinterface.cpp:176
#27 0x00000035e8da662e in KIO::SlaveInterface::dispatch (this=0x2e79290) at /usr/src/debug/kdelibs-4.11.3/kio/kio/slaveinterface.cpp:92
#28 0x00000035e8d9a38e in KIO::Slave::gotInput (this=0x2e79290) at /usr/src/debug/kdelibs-4.11.3/kio/kio/slave.cpp:344
#29 0x00000035e4798fa8 in QMetaObject::activate (sender=0x2e9cfc0, m=m@entry=0x35e90b2980 <KIO::Connection::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x0) at kernel/qobject.cpp:3547
#30 0x00000035e8ccc5e0 in KIO::Connection::readyRead (this=<optimized out>) at /usr/src/debug/kdelibs-4.11.3/x86_64-redhat-linux-gnu/kio/connection.moc:105
#31 0x00000035e8cccd31 in KIO::ConnectionPrivate::dequeue (this=0x2ebade0) at /usr/src/debug/kdelibs-4.11.3/kio/kio/connection.cpp:82
#32 0x00000035e479d53e in QObject::event (this=0x2e9cfc0, e=<optimized out>) at kernel/qobject.cpp:1194
#33 0x00000035e4dc9dfc in QApplicationPrivate::notify_helper (this=this@entry=0x20623d0, receiver=receiver@entry=0x2e9cfc0, e=e@entry=0x22767e0) at kernel/qapplication.cpp:4562
#34 0x00000035e4dd0795 in QApplication::notify (this=this@entry=0x7fff9c20f120, receiver=receiver@entry=0x2e9cfc0, e=e@entry=0x22767e0) at kernel/qapplication.cpp:4348
#35 0x00000035e724a99a in KApplication::notify (this=0x7fff9c20f120, receiver=0x2e9cfc0, event=0x22767e0) at /usr/src/debug/kdelibs-4.11.3/kdeui/kernel/kapplication.cpp:311
#36 0x00000035e47845ed in QCoreApplication::notifyInternal (this=0x7fff9c20f120, receiver=receiver@entry=0x2e9cfc0, event=event@entry=0x22767e0) at kernel/qcoreapplication.cpp:949
#37 0x00000035e47876e7 in sendEvent (event=0x22767e0, receiver=0x2e9cfc0) at kernel/qcoreapplication.h:231
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x2024a20) at kernel/qcoreapplication.cpp:1573
#39 0x00000035e4787b93 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1466
#40 0x00000035e47b3903 in sendPostedEvents () at kernel/qcoreapplication.h:236
#41 postEventSourceDispatch (s=s@entry=0x205af20) at kernel/qeventdispatcher_glib.cpp:280
#42 0x000000392ec492a6 in g_main_dispatch (context=0x2062760) at gmain.c:3066
#43 g_main_context_dispatch (context=context@entry=0x2062760) at gmain.c:3642
#44 0x000000392ec49628 in g_main_context_iterate (context=context@entry=0x2062760, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3713
#45 0x000000392ec496dc in g_main_context_iteration (context=0x2062760, may_block=1) at gmain.c:3774
#46 0x00000035e47b3185 in QEventDispatcherGlib::processEvents (this=0x20262d0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#47 0x00000035e4e6bdb6 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#48 0x00000035e478312f in QEventLoop::processEvents (this=this@entry=0x7fff9c20f0b0, flags=...) at kernel/qeventloop.cpp:149
#49 0x00000035e478347d in QEventLoop::exec (this=this@entry=0x7fff9c20f0b0, flags=...) at kernel/qeventloop.cpp:204
#50 0x00000035e47889bb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1221
#51 0x00000035e4dc846c in QApplication::exec () at kernel/qapplication.cpp:3823
#52 0x0000000000427d71 in main (argc=<optimized out>, argv=0x7fff9c20f268) at /usr/src/debug/gwenview-4.11.3/app/main.cpp:139

Reported using DrKonqi
Comment 1 caulier.gilles 2014-05-16 07:34:18 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 2 caulier.gilles 2014-09-08 06:56:26 UTC
This file still valid using last kipi-plugins 4.2.0 ?

Gilles Caulier
Comment 3 caulier.gilles 2015-06-26 13:40:56 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 4 caulier.gilles 2015-07-21 11:49:42 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