Bug 212983

Summary: kopete crashs at startup
Product: [Unmaintained] kopete Reporter: christian.blaicher
Component: Bonjour PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: andresbajotierra
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description christian.blaicher 2009-11-03 22:02:33 UTC
Application that crashed: kopete
Version of the application: 0.80.2
KDE Version: 4.3.2 (KDE 4.3.2)
Qt Version: 4.5.2
Operating System: Linux 2.6.31-14-generic i686
Distribution: Ubuntu 9.10

What I was doing when the application crashed:
kopete crashs at startup. I don't know why..

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

Thread 2 (Thread 0xb5902b70 (LWP 12206)):
#0  0x00ab4422 in __kernel_vsyscall ()
#1  0x00ef0e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00b8e78d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x068a2e67 in QWaitConditionPrivate::wait (this=0x918d8f8, mutex=0x918d8f4, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x918d8f8, mutex=0x918d8f4, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x01a24922 in QHostInfoAgent::run (this=0x918d8e8) at kernel/qhostinfo.cpp:260
#6  0x068a1e32 in QThreadPrivate::start (arg=0x918d8e8) at thread/qthread_unix.cpp:188
#7  0x00eec80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x00b817ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb783c700 (LWP 12203)):
[KCrash Handler]
#6  QBasicAtomicInt::deref (this=0x8f83aa0, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:132
#7  QString::operator= (this=0x8f83aa0, other=...) at tools/qstring.cpp:1132
#8  0x08606237 in ?? () from /usr/lib/kde4/kopete_bonjour.so
#9  0x0860dad5 in ?? () from /usr/lib/kde4/kopete_bonjour.so
#10 0x0860dd58 in ?? () from /usr/lib/kde4/kopete_bonjour.so
#11 0x069a8263 in QMetaObject::activate (sender=0x8f9d5c8, from_signal_index=4, to_signal_index=4, argv=0xbfc631f8) at kernel/qobject.cpp:3113
#12 0x069a8ec2 in QMetaObject::activate (sender=0x8f9d5c8, m=0x588e890, local_signal_index=0, argv=0xbfc631f8) at kernel/qobject.cpp:3187
#13 0x05879b13 in DNSSD::ServiceBrowser::serviceAdded (this=0x8f9d5c8, _t1=...) at ./servicebrowser.moc:85
#14 0x0587af1e in DNSSD::ServiceBrowserPrivate::gotNewService (this=0x8f30298, name=..., type=..., domain=...) at ../../dnssd/avahi-servicebrowser.cpp:121
#15 0x0587b2be in DNSSD::ServiceBrowserPrivate::qt_metacall (this=0x8f30298, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfc63384) at ./avahi-servicebrowser_p.moc:77
#16 0x069a8263 in QMetaObject::activate (sender=0x93094c8, from_signal_index=8, to_signal_index=8, argv=0xbfc63384) at kernel/qobject.cpp:3113
#17 0x069a8ec2 in QMetaObject::activate (sender=0x93094c8, m=0x588edc4, local_signal_index=3, argv=0xbfc63384) at kernel/qobject.cpp:3187
#18 0x0588a69b in OrgFreedesktopAvahiServiceBrowserInterface::ItemNew (this=0x93094c8, _t1=2, _t2=0, _t3=..., _t4=..., _t5=..., _t6=5) at avahi_servicebrowser_interface.moc:116
#19 0x0588a99e in OrgFreedesktopAvahiServiceBrowserInterface::qt_metacall (this=0x93094c8, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfc6353c) at avahi_servicebrowser_interface.moc:82
#20 0x0013f7b4 in QDBusConnectionPrivate::deliverCall (this=0x9357a60, object=0x93094c8, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:891
#21 0x00147197 in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#22 0x069a25fe in QObject::event (this=0x93094c8, e=0x8fc3280) at kernel/qobject.cpp:1111
#23 0x01eb4f54 in QApplicationPrivate::notify_helper (this=0x8cbb538, receiver=0x93094c8, e=0x8fc3280) at kernel/qapplication.cpp:4056
#24 0x01ebc67c in QApplication::notify (this=0xbfc63d44, receiver=0x93094c8, e=0x8fc3280) at kernel/qapplication.cpp:3603
#25 0x010f0bfa in KApplication::notify (this=0xbfc63d44, receiver=0x93094c8, event=0x8fc3280) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x069926cb in QCoreApplication::notifyInternal (this=0xbfc63d44, receiver=0x93094c8, event=0x8fc3280) at kernel/qcoreapplication.cpp:610
#27 0x069932b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x8c9dd10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8c9dd10) at kernel/qcoreapplication.cpp:1247
#29 0x0699347d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#30 0x069bd3ff in QCoreApplication::sendPostedEvents (s=0x8cbd910) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#31 postEventSourceDispatch (s=0x8cbd910) at kernel/qeventdispatcher_glib.cpp:210
#32 0x0479be78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x0479f720 in ?? () from /lib/libglib-2.0.so.0
#34 0x0479f853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x069bd02c in QEventDispatcherGlib::processEvents (this=0x8c9dee8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#36 0x01f55be5 in QGuiEventDispatcherGlib::processEvents (this=0x8c9dee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#37 0x06990c79 in QEventLoop::processEvents (this=0xbfc63ca4, flags=) at kernel/qeventloop.cpp:149
#38 0x069910ca in QEventLoop::exec (this=0xbfc63ca4, flags=...) at kernel/qeventloop.cpp:201
#39 0x0699353f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#40 0x01eb4dd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#41 0x08059a8c in _start ()

This bug may be a duplicate of or related to bug 212742

Reported using DrKonqi
Comment 1 Dario Andres 2009-11-04 01:37:04 UTC
It is crashing in the Bonjour protocol code. 
- If you can reproduce the crash at will (or you experience this regularly), can you install the "kdenetwork-dbg" package and post a complete backtrace here? Thanks
Comment 2 christian.blaicher 2009-11-05 14:36:15 UTC
I installed the "kdenetwork-dbg" package. The error occurred again with activated bonjour protocol today.



Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7830700 (LWP 19806))]

Thread 2 (Thread 0xb58f4b70 (LWP 19809)):
#0  0x003b9422 in __kernel_vsyscall ()
#1  0x00601e15 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x00afc78d in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0x087ace67 in QWaitConditionPrivate::wait (this=0x9b04538, mutex=0x9b04534, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  QWaitCondition::wait (this=0x9b04538, mutex=0x9b04534, time=4294967295) at thread/qwaitcondition_unix.cpp:159
#5  0x03a7d922 in QHostInfoAgent::run (this=0x9b04528) at kernel/qhostinfo.cpp:260
#6  0x087abe32 in QThreadPrivate::start (arg=0x9b04528) at thread/qthread_unix.cpp:188
#7  0x005fd80e in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#8  0x00aef7ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb7830700 (LWP 19806)):
[KCrash Handler]
#6  QBasicAtomicInt::deref (this=0x9da8638, other=...) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:132
#7  QString::operator= (this=0x9da8638, other=...) at tools/qstring.cpp:1132
#8  0x08b8f237 in BonjourContact::setremoteHostName (this=0x9da8620, nremoteHostName=...) at ../../../../kopete/protocols/bonjour/bonjourcontact.cpp:147
#9  0x08b96ad5 in BonjourAccount::comingOnline (this=0x9af7a28, pointer=) at ../../../../kopete/protocols/bonjour/bonjouraccount.cpp:260
#10 0x08b96d58 in BonjourAccount::qt_metacall (this=0x9af7a28, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfea5d38) at ./bonjouraccount.moc:94
#11 0x088b2263 in QMetaObject::activate (sender=0x9905478, from_signal_index=4, to_signal_index=4, argv=0xbfea5d38) at kernel/qobject.cpp:3113
#12 0x088b2ec2 in QMetaObject::activate (sender=0x9905478, m=0x7ea3890, local_signal_index=0, argv=0xbfea5d38) at kernel/qobject.cpp:3187
#13 0x07e8eb13 in DNSSD::ServiceBrowser::serviceAdded (this=0x9905478, _t1=...) at ./servicebrowser.moc:85
#14 0x07e8ff1e in DNSSD::ServiceBrowserPrivate::gotNewService (this=0xa588090, name=..., type=..., domain=...) at ../../dnssd/avahi-servicebrowser.cpp:121
#15 0x07e902be in DNSSD::ServiceBrowserPrivate::qt_metacall (this=0xa588090, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0xbfea5ec4) at ./avahi-servicebrowser_p.moc:77
#16 0x088b2263 in QMetaObject::activate (sender=0x99f28b0, from_signal_index=8, to_signal_index=8, argv=0xbfea5ec4) at kernel/qobject.cpp:3113
#17 0x088b2ec2 in QMetaObject::activate (sender=0x99f28b0, m=0x7ea3dc4, local_signal_index=3, argv=0xbfea5ec4) at kernel/qobject.cpp:3187
#18 0x07e9f69b in OrgFreedesktopAvahiServiceBrowserInterface::ItemNew (this=0x99f28b0, _t1=2, _t2=0, _t3=..., _t4=..., _t5=..., _t6=5) at avahi_servicebrowser_interface.moc:116
#19 0x07e9f99e in OrgFreedesktopAvahiServiceBrowserInterface::qt_metacall (this=0x99f28b0, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfea607c) at avahi_servicebrowser_interface.moc:82
#20 0x001957b4 in QDBusConnectionPrivate::deliverCall (this=0x99aee00, object=0x99f28b0, msg=..., metaTypes=..., slotIdx=8) at qdbusintegrator.cpp:891
#21 0x0019d197 in QDBusCallDeliveryEvent::placeMetaCall(QObject*) () from /usr/lib/libQtDBus.so.4
#22 0x088ac5fe in QObject::event (this=0x99f28b0, e=0xa4d3ec0) at kernel/qobject.cpp:1111
#23 0x0166df54 in QApplicationPrivate::notify_helper (this=0x96903a8, receiver=0x99f28b0, e=0xa4d3ec0) at kernel/qapplication.cpp:4056
#24 0x0167567c in QApplication::notify (this=0xbfea6884, receiver=0x99f28b0, e=0xa4d3ec0) at kernel/qapplication.cpp:3603
#25 0x01145bfa in KApplication::notify (this=0xbfea6884, receiver=0x99f28b0, event=0xa4d3ec0) at ../../kdeui/kernel/kapplication.cpp:302
#26 0x0889c6cb in QCoreApplication::notifyInternal (this=0xbfea6884, receiver=0x99f28b0, event=0xa4d3ec0) at kernel/qcoreapplication.cpp:610
#27 0x0889d2b2 in QCoreApplication::sendEvent (receiver=0x0, event_type=0, data=0x965bd10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#28 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x965bd10) at kernel/qcoreapplication.cpp:1247
#29 0x0889d47d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#30 0x088c73ff in QCoreApplication::sendPostedEvents (s=0x9692b10) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#31 postEventSourceDispatch (s=0x9692b10) at kernel/qeventdispatcher_glib.cpp:210
#32 0x08447e78 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#33 0x0844b720 in ?? () from /lib/libglib-2.0.so.0
#34 0x0844b853 in g_main_context_iteration () from /lib/libglib-2.0.so.0
#35 0x088c702c in QEventDispatcherGlib::processEvents (this=0x965bee8, flags=...) at kernel/qeventdispatcher_glib.cpp:327
#36 0x0170ebe5 in QGuiEventDispatcherGlib::processEvents (this=0x965bee8, flags=...) at kernel/qguieventdispatcher_glib.cpp:202
#37 0x0889ac79 in QEventLoop::processEvents (this=0xbfea67e4, flags=) at kernel/qeventloop.cpp:149
#38 0x0889b0ca in QEventLoop::exec (this=0xbfea67e4, flags=...) at kernel/qeventloop.cpp:201
#39 0x0889d53f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#40 0x0166ddd7 in QApplication::exec () at kernel/qapplication.cpp:3525
#41 0x08059a8c in main (argc=3, argv=0xbfea6cb4) at ../../../kopete/kopete/main.cpp:104

I have disabled the Bonjour protocol for the next time. Thanks for your help! :)
Comment 3 Dario Andres 2009-12-06 22:57:52 UTC
This is mostly the same as bug 192087. Merging

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