Bug 223795

Summary: Kopete crashes every time when Facebook-Plugin is installed
Product: [Unmaintained] kopete Reporter: m.wege
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: 0.99.90   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description m.wege 2010-01-22 15:45:14 UTC
Application: kopete (0.99.90)
KDE Platform Version: 4.3.90 (KDE 4.3.90 (KDE 4.4 RC1))
Qt Version: 4.6.0
Operating System: Linux 2.6.31-18-generic i686
Distribution: Ubuntu 9.10

-- Information about the crash:
I can reproduce this crash. It disappears when I remove the facebook-plugin and reappears when I reinstall it.

The crash can be reproduced every time.

 -- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 1 (Thread 0xb775e920 (LWP 23530))]

Thread 4 (Thread 0xb3be2b70 (LWP 23548)):
#0  0x00c04422 in __kernel_vsyscall ()
#1  0x00219e15 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122
#2  0x00cde87d in __pthread_cond_wait (cond=0xd553850, mutex=0xd553838) at forward.c:139
#3  0x05414307 in QWaitConditionPrivate::wait (this=0xd5535b0, mutex=0xd5535ac, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0xd5535b0, mutex=0xd5535ac, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x0493f102 in QHostInfoAgent::run (this=0xd5535a0) at kernel/qhostinfo.cpp:252
#6  0x054133ae in QThreadPrivate::start (arg=0xd5535a0) at thread/qthread_unix.cpp:244
#7  0x0021580e in start_thread (arg=0xb3be2b70) at pthread_create.c:300
#8  0x00cd18de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb33e1b70 (LWP 23549)):
#0  0x0021914f in __pthread_mutex_unlock_usercnt (mutex=0xd63031c, decr=0) at pthread_mutex_unlock.c:77
#1  0x00cdea86 in pthread_mutex_unlock (mutex=0xd63031c) at forward.c:184
#2  0x039db88b in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3  0x05540c0f in QEventDispatcherGlib::processEvents (this=0xd5d0ac0, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#4  0x055134c9 in QEventLoop::processEvents (this=0xd5b7ae0, flags=) at kernel/qeventloop.cpp:149
#5  0x0551391a in QEventLoop::exec (this=0xd5b7ae0, flags=...) at kernel/qeventloop.cpp:201
#6  0x017daa0a in QCA::SyncThread::run() () from /usr/lib/libqca.so.2
#7  0x054133ae in QThreadPrivate::start (arg=0xd5d0548) at thread/qthread_unix.cpp:244
#8  0x0021580e in start_thread (arg=0xb33e1b70) at pthread_create.c:300
#9  0x00cd18de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb2be0b70 (LWP 23550)):
#0  0x00b15e06 in *__GI_clock_gettime (clock_id=11640820, tp=0xb2be0038) at ../sysdeps/unix/clock_gettime.c:100
#1  0x0553dd1b in qt_gettime () at kernel/qcore_unix.cpp:109
#2  0x05542de5 in QTimerInfoList::updateCurrentTime (this=0xd767734) at kernel/qeventdispatcher_unix.cpp:340
#3  0x05540d0e in timerSourceCheckHelper (src=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:150
#4  0x039dacd1 in g_main_context_check () from /lib/libglib-2.0.so.0
#5  0x039db47c in ?? () from /lib/libglib-2.0.so.0
#6  0x039db863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#7  0x05540c0f in QEventDispatcherGlib::processEvents (this=0xd766140, flags=...) at kernel/qeventdispatcher_glib.cpp:409
#8  0x055134c9 in QEventLoop::processEvents (this=0xd766ad0, flags=) at kernel/qeventloop.cpp:149
#9  0x0551391a in QEventLoop::exec (this=0xd766ad0, flags=...) at kernel/qeventloop.cpp:201
#10 0x03213fab in ?? () from /usr/lib/kde4/kopete_jabber.so
#11 0x054133ae in QThreadPrivate::start (arg=0xd765d70) at thread/qthread_unix.cpp:244
#12 0x0021580e in start_thread (arg=0xb2be0b70) at pthread_create.c:300
#13 0x00cd18de in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb775e920 (LWP 23530)):
[KCrash Handler]
#6  0x00a8f9ca in Kopete::Contact::account() const () from /usr/lib/libkopete.so.4
#7  0x02c5e746 in ?? () from /usr/lib/kde4/kopete_facebook.so
#8  0x00ac13dc in Kopete::PasswordedAccount::connect(Kopete::OnlineStatus const&) () from /usr/lib/libkopete.so.4
#9  0x00803e5b in AddAccountWizard::accept() () from /usr/lib/libkopeteaddaccountwizard.so.1
#10 0x026a9226 in QDialog::qt_metacall (this=0xd7a7b58, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfed7c7c) at .moc/release-shared/moc_qdialog.cpp:96
#11 0x00ed349a in KDialog::qt_metacall (this=0xd7a7b58, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfed7c7c) at ./kdialog.moc:151
#12 0x00faf2aa in KPageDialog::qt_metacall (this=0xd7a7b58, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfed7c7c) at ./kpagedialog.moc:70
#13 0x00ebbc7a in KAssistantDialog::qt_metacall (this=0xd7a7b58, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfed7c7c) at ./kassistantdialog.moc:70
#14 0x00803c1a in AddAccountWizard::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkopeteaddaccountwizard.so.1
#15 0x0551a11a in QMetaObject::metacall (object=0xd7a7b58, cl=46637044, idx=0, argv=0xd7a7b58) at kernel/qmetaobject.cpp:237
#16 0x0552889b in QMetaObject::activate (sender=0xd7a7b58, m=0x1130b64, local_signal_index=6, argv=0x0) at kernel/qobject.cpp:3294
#17 0x00ecf037 in KDialog::user1Clicked (this=0xd7a7b58) at ./kdialog.moc:240
#18 0x00ed153e in KDialog::slotButtonClicked (this=0xd7a7b58, button=4096) at ../../kdeui/dialogs/kdialog.cpp:878
#19 0x00ed3819 in KDialog::qt_metacall (this=0xd7a7b58, _c=QMetaObject::InvokeMetaMethod, _id=33, _a=0xbfed7ee8) at ./kdialog.moc:190
#20 0x00faf2aa in KPageDialog::qt_metacall (this=0xd7a7b58, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfed7ee8) at ./kpagedialog.moc:70
#21 0x00ebbc7a in KAssistantDialog::qt_metacall (this=0xd7a7b58, _c=QMetaObject::InvokeMetaMethod, _id=69, _a=0xbfed7ee8) at ./kassistantdialog.moc:70
#22 0x00803c1a in AddAccountWizard::qt_metacall(QMetaObject::Call, int, void**) () from /usr/lib/libkopeteaddaccountwizard.so.1
#23 0x0551a11a in QMetaObject::metacall (object=0xd7a7b58, cl=46637044, idx=0, argv=0xd7a7b58) at kernel/qmetaobject.cpp:237
#24 0x0552889b in QMetaObject::activate (sender=0xe06d778, m=0x56280f8, local_signal_index=0, argv=0xbfed7ee8) at kernel/qobject.cpp:3294
#25 0x0552e053 in QSignalMapper::mapped (this=0xe06d778, _t1=4096) at .moc/release-shared/moc_qsignalmapper.cpp:101
#26 0x0552f2cd in QSignalMapper::map (this=0xe06d778, sender=0xe0928e8) at kernel/qsignalmapper.cpp:266
#27 0x0552f4ae in QSignalMapper::map (this=0xe06d778) at kernel/qsignalmapper.cpp:257
#28 0x0552f57b in QSignalMapper::qt_metacall (this=0xe06d778, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfed8088) at .moc/release-shared/moc_qsignalmapper.cpp:87
#29 0x0551a11a in QMetaObject::metacall (object=0xe06d778, cl=46637044, idx=8, argv=0xbfed8088) at kernel/qmetaobject.cpp:237
#30 0x0552889b in QMetaObject::activate (sender=0xe0928e8, m=0x2aa1a04, local_signal_index=2, argv=0xbfed8088) at kernel/qobject.cpp:3294
#31 0x02892789 in QAbstractButton::clicked (this=0xe0928e8, _t1=false) at .moc/release-shared/moc_qabstractbutton.cpp:206
#32 0x02575519 in QAbstractButtonPrivate::emitClicked (this=0xe092908) at widgets/qabstractbutton.cpp:546
#33 0x02576364 in QAbstractButtonPrivate::click (this=0xe092908) at widgets/qabstractbutton.cpp:539
#34 0x02576611 in QAbstractButton::mouseReleaseEvent (this=0xe0928e8, e=0xbfed8750) at widgets/qabstractbutton.cpp:1118
#35 0x021cbf9e in QWidget::event (this=0xe0928e8, event=0xbfed8750) at kernel/qwidget.cpp:7974
#36 0x025753be in QAbstractButton::event (this=0xe0928e8, e=0xbfed7a28) at widgets/qabstractbutton.cpp:1080
#37 0x0261eb12 in QPushButton::event (this=0xe0928e8, e=0xbfed8750) at widgets/qpushbutton.cpp:664
#38 0x0216f19c in QApplicationPrivate::notify_helper (this=0x9cf3c48, receiver=0xe0928e8, e=0xbfed8750) at kernel/qapplication.cpp:4242
#39 0x0217676b in QApplication::notify (this=0xbfed9004, receiver=0xe0928e8, e=0xbfed8750) at kernel/qapplication.cpp:3822
#40 0x00f6e67a in KApplication::notify (this=0xbfed9004, receiver=0xe0928e8, event=0xbfed8750) at ../../kdeui/kernel/kapplication.cpp:302
#41 0x05514eab in QCoreApplication::notifyInternal (this=0xbfed9004, receiver=0xe0928e8, event=0xbfed8750) at kernel/qcoreapplication.cpp:704
#42 0x0217571f in QCoreApplication::sendEvent (receiver=0xe0928e8, event=0xbfed8750, alienWidget=0xe0928e8, nativeWidget=0xd7a7b58, buttonDown=0x2aaa060, lastMouseReceiver=..., spontaneous=true)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#43 QApplicationPrivate::sendMouseEvent (receiver=0xe0928e8, event=0xbfed8750, alienWidget=0xe0928e8, nativeWidget=0xd7a7b58, buttonDown=0x2aaa060, lastMouseReceiver=..., spontaneous=true)
    at kernel/qapplication.cpp:2956
#44 0x021fed18 in QETWidget::translateMouseEvent (this=0xd7a7b58, event=0xbfed8c6c) at kernel/qapplication_x11.cpp:4368
#45 0x021fe1f1 in QApplication::x11ProcessEvent (this=0xbfed9004, event=0xbfed8c6c) at kernel/qapplication_x11.cpp:3379
#46 0x0222d04a in x11EventSourceDispatch (s=0x9cf6100, callback=0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#47 0x039d7e88 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#48 0x039db730 in ?? () from /lib/libglib-2.0.so.0
#49 0x039db863 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#50 0x05540bd5 in QEventDispatcherGlib::processEvents (this=0x9cf3030, flags=...) at kernel/qeventdispatcher_glib.cpp:407
#51 0x0222cb75 in QGuiEventDispatcherGlib::processEvents (this=0x9cf3030, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#52 0x055134c9 in QEventLoop::processEvents (this=0xbfed8f64, flags=) at kernel/qeventloop.cpp:149
#53 0x0551391a in QEventLoop::exec (this=0xbfed8f64, flags=...) at kernel/qeventloop.cpp:201
#54 0x05517b0f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#55 0x0216f237 in QApplication::exec () at kernel/qapplication.cpp:3570
#56 0x080598ae in _start ()

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

Possible duplicates by query: bug 222863, bug 218825, bug 196099.

Reported using DrKonqi
Comment 1 m.wege 2010-01-22 15:57:57 UTC
This is the last output I see in the konsole before crashing when starting Kopete there.

kopete(23530) FacebookContact::FacebookContact:  uniqueName:  "xxxxx" , displayName:  "xxxx"
kopete(23530) KopeteWindow::slotIdentityStatusIconChanged: QVariant(, )
kopete(23530)/libkopete Kopete::OnlineStatusManager::cacheLookupByObject: Missed  "Offline/facebook_protocol/#000000//16/a"  in icon cache!
KCrash: Application 'kopete' crashing...
Comment 2 Dario Andres 2010-01-22 16:00:00 UTC
This indeed looks related to bug 218937.
- Are you using an updated version of the plugin ?
- Did you recompiled the facebook plugin when you updated your KDE Software Compilation version ?
Regards
Comment 3 Roman Jarosz 2010-02-07 23:50:14 UTC

*** This bug has been marked as a duplicate of bug 218937 ***