Bug 196331

Summary: Kopete crashed on starup while connecting to jabber/xmpp
Product: [Unmaintained] kopete Reporter: Florian Reinhard <florian.reinhard>
Component: Jabber PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: krystian, pascal
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Florian Reinhard 2009-06-13 14:57:28 UTC
Application that crashed: kopete
Version of the application: 0.70.90
KDE Version: 4.2.90 (KDE 4.2.90 (KDE 4.3 Beta2))
Qt Version: 4.5.1
Operating System: Linux 2.6.28-11-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
there isn't a lot to say: start kopete, connects automatically, crash. no idea why since it worked for the last two days.

 -- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[Current thread is 0 (LWP 4134)]

Thread 4 (Thread 0xb2efab90 (LWP 4269)):
#0  __pthread_mutex_unlock_usercnt (mutex=0x8de89f4, decr=1) at pthread_mutex_unlock.c:31
#1  0xb60e04f6 in pthread_mutex_unlock (mutex=0x8de89f4) at forward.c:184
#2  0xb5b546f1 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0xb5b54fdd in ?? () from /usr/lib/libglib-2.0.so.0
#4  0xb5b55268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0xb6e071f7 in QEventDispatcherGlib::processEvents (this=0x8c00170, flags={i = -1292918168}) at kernel/qeventdispatcher_glib.cpp:326
#6  0xb6dd9dda in QEventLoop::processEvents (this=0x8c6f4e8, flags={i = -1292918104}) at kernel/qeventloop.cpp:149
#7  0xb6dda21a in QEventLoop::exec (this=0x8c6f4e8, flags={i = -1292917960}) at kernel/qeventloop.cpp:200
#8  0xb2434e59 in QCA::SyncThread::run () from /usr/lib/libqca.so.2
#9  0xb6ce756e in QThreadPrivate::start (arg=0x8d9e720) at thread/qthread_unix.cpp:189
#10 0xb5cfc4ff in start_thread (arg=0xb2efab90) at pthread_create.c:297
#11 0xb60d149e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xb1fdeb90 (LWP 4270)):
#0  0xb5bd40ac in *__GI_clock_gettime (clock_id=-1245872140, tp=0xb1fde138) at ../sysdeps/unix/clock_gettime.c:100
#1  0xb6e08e2b in QTimerInfoList::getTime (this=0x8f16c34, t=@0x8f16c58) at kernel/qeventdispatcher_unix.cpp:339
#2  0xb6e09001 in QTimerInfoList::updateCurrentTime (this=0x8f16c34) at kernel/qeventdispatcher_unix.cpp:297
#3  0xb6e072f3 in timerSourceCheck (source=0x8f16c00) at kernel/qeventdispatcher_glib.cpp:156
#4  0xb5b546f6 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#5  0xb5b54fdd in ?? () from /usr/lib/libglib-2.0.so.0
#6  0xb5b55268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#7  0xb6e071f7 in QEventDispatcherGlib::processEvents (this=0x8d82660, flags={i = -1308761400}) at kernel/qeventdispatcher_glib.cpp:326
#8  0xb6dd9dda in QEventLoop::processEvents (this=0x8de9f80, flags={i = -1308761336}) at kernel/qeventloop.cpp:149
#9  0xb6dda21a in QEventLoop::exec (this=0x8de9f80, flags={i = -1308761288}) at kernel/qeventloop.cpp:200
#10 0xb2680672 in XMPP::SyncThread::run (this=0x8f02620) at /build/buildd/kdenetwork-4.2.90/kopete/protocols/jabber/libiris/iris/irisnet/corelib/netinterface.cpp:151
#11 0xb6ce756e in QThreadPrivate::start (arg=0x8f02620) at thread/qthread_unix.cpp:189
#12 0xb5cfc4ff in start_thread (arg=0xb1fdeb90) at pthread_create.c:297
#13 0xb60d149e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb17ddb90 (LWP 4271)):
#0  0xb8006430 in __kernel_vsyscall ()
#1  0xb5d000e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb60e02ed in __pthread_cond_wait (cond=0x8df14d0, mutex=0x8df14b8) at forward.c:139
#3  0xb6ce85b2 in QWaitCondition::wait (this=0x8df1200, mutex=0x8df11fc, time=4294967295) at thread/qwaitcondition_unix.cpp:87
#4  0xb75b6ae2 in QHostInfoAgent::run (this=0x8df11f0) at kernel/qhostinfo.cpp:260
#5  0xb6ce756e in QThreadPrivate::start (arg=0x8df11f0) at thread/qthread_unix.cpp:189
#6  0xb5cfc4ff in start_thread (arg=0xb17ddb90) at pthread_create.c:297
#7  0xb60d149e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb565f700 (LWP 4134)):
[KCrash Handler]
#6  JabberClient::slotCSConnected (this=0x8891798) at /build/buildd/kdenetwork-4.2.90/kopete/protocols/jabber/jabberclient.cpp:1104
#7  0xb25b0b20 in JabberClient::qt_metacall (this=0x8891798, _c=QMetaObject::InvokeMetaMethod, _id=29, _a=0xbfc232a8)
    at /build/buildd/kdenetwork-4.2.90/obj-i486-linux-gnu/kopete/protocols/jabber/jabberclient.moc:184
#8  0xb6df1a58 in QMetaObject::activate (sender=0x8f01a80, from_signal_index=9, to_signal_index=9, argv=0x0) at kernel/qobject.cpp:3120
#9  0xb6df26e2 in QMetaObject::activate (sender=0x8f01a80, m=0xb26f4024, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3194
#10 0xb25b8a37 in XMPP::ClientStream::connected (this=0x8f01a80) at /build/buildd/kdenetwork-4.2.90/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_xmpp_clientstream.cpp:144
#11 0xb2642c30 in XMPP::ClientStream::cr_connected (this=0x8f01a80) at /build/buildd/kdenetwork-4.2.90/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-core/stream.cpp:593
#12 0xb25bb6d8 in XMPP::ClientStream::qt_metacall (this=0x8f01a80, _c=QMetaObject::InvokeMetaMethod, _id=8, _a=0xbfc233e8)
    at /build/buildd/kdenetwork-4.2.90/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_xmpp_clientstream.cpp:116
#13 0xb6df1a58 in QMetaObject::activate (sender=0x88d0a00, from_signal_index=4, to_signal_index=4, argv=0x0) at kernel/qobject.cpp:3120
#14 0xb6df26e2 in QMetaObject::activate (sender=0x88d0a00, m=0xb26f4254, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3194
#15 0xb25b6337 in XMPP::Connector::connected (this=0x88d0a00) at /build/buildd/kdenetwork-4.2.90/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_xmpp.cpp:79
#16 0xb265c68f in XMPP::AdvancedConnector::bs_connected (this=0x88d0a00) at /build/buildd/kdenetwork-4.2.90/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-core/connector.cpp:605
#17 0xb25ba0b3 in XMPP::AdvancedConnector::qt_metacall (this=0x88d0a00, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbfc23508)
    at /build/buildd/kdenetwork-4.2.90/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_xmpp.cpp:156
#18 0xb6df1a58 in QMetaObject::activate (sender=0x8ded870, from_signal_index=10, to_signal_index=10, argv=0x0) at kernel/qobject.cpp:3120
#19 0xb6df26e2 in QMetaObject::activate (sender=0x8ded870, m=0xb26f4334, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3194
#20 0xb25b53f7 in BSocket::connected (this=0x8ded870) at /build/buildd/kdenetwork-4.2.90/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_bsocket.cpp:109
#21 0xb25cb517 in BSocket::qs_connected (this=0x8ded870) at /build/buildd/kdenetwork-4.2.90/kopete/protocols/jabber/libiris/iris/xmpp/cutestuff/bsocket.cpp:380
#22 0xb25b9c53 in BSocket::qt_metacall (this=0x8ded870, _c=QMetaObject::InvokeMetaMethod, _id=3, _a=0xbfc23608)
    at /build/buildd/kdenetwork-4.2.90/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/moc_bsocket.cpp:85
#23 0xb6df1a58 in QMetaObject::activate (sender=0x916e8f0, from_signal_index=5, to_signal_index=5, argv=0x0) at kernel/qobject.cpp:3120
#24 0xb6df26e2 in QMetaObject::activate (sender=0x916e8f0, m=0xb26f630c, local_signal_index=1, argv=0x0) at kernel/qobject.cpp:3194
#25 0xb25cb267 in QTcpSocketSignalRelay::connected (this=0x916e8f0) at /build/buildd/kdenetwork-4.2.90/obj-i486-linux-gnu/kopete/protocols/jabber/libiris/bsocket.moc:113
#26 0xb25cb39b in QTcpSocketSignalRelay::qt_metacall (this=0x916e8f0, _c=QMetaObject::InvokeMetaMethod, _id=7, _a=0x8da6bd8)
    at /build/buildd/kdenetwork-4.2.90/kopete/protocols/jabber/libiris/iris/xmpp/cutestuff/bsocket.cpp:73
#27 0xb6dea6ab in QMetaCallEvent::placeMetaCall (this=0x8d97100, object=0x916e8f0) at kernel/qobject.cpp:489
#28 0xb6dec150 in QObject::event (this=0x916e8f0, e=0x8d97100) at kernel/qobject.cpp:1118
#29 0xb6396bcc in QApplicationPrivate::notify_helper (this=0x889c230, receiver=0x916e8f0, e=0x8d97100) at kernel/qapplication.cpp:4057
#30 0xb639eede in QApplication::notify (this=0xbfc23d5c, receiver=0x916e8f0, e=0x8d97100) at kernel/qapplication.cpp:3604
#31 0xb7339c4d in KApplication::notify (this=0xbfc23d5c, receiver=0x916e8f0, event=0x8d97100) at /build/buildd/kde4libs-4.2.90/kdeui/kernel/kapplication.cpp:302
#32 0xb6ddb7ab in QCoreApplication::notifyInternal (this=0xbfc23d5c, receiver=0x916e8f0, event=0x8d97100) at kernel/qcoreapplication.cpp:610
#33 0xb6ddc405 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8878580) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#34 0xb6ddc5fd in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1140
#35 0xb6e0758f in postEventSourceDispatch (s=0x889e320) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#36 0xb5b51b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#37 0xb5b550eb in ?? () from /usr/lib/libglib-2.0.so.0
#38 0xb5b55268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#39 0xb6e071d8 in QEventDispatcherGlib::processEvents (this=0x889c210, flags={i = -1077789624}) at kernel/qeventdispatcher_glib.cpp:324
#40 0xb6438765 in QGuiEventDispatcherGlib::processEvents (this=0x889c210, flags={i = -1077789576}) at kernel/qguieventdispatcher_glib.cpp:202
#41 0xb6dd9dda in QEventLoop::processEvents (this=0xbfc23cf0, flags={i = -1077789512}) at kernel/qeventloop.cpp:149
#42 0xb6dda21a in QEventLoop::exec (this=0xbfc23cf0, flags={i = -1077789448}) at kernel/qeventloop.cpp:200
#43 0xb6ddc6c9 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:888
#44 0xb6396a47 in QApplication::exec () at kernel/qapplication.cpp:3526
#45 0x08059773 in main (argc=3, argv=0xbfc24164) at /build/buildd/kdenetwork-4.2.90/kopete/kopete/main.cpp:104

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

Reported using DrKonqi
Comment 1 Dario Andres 2009-06-13 15:06:30 UTC
*** Bug 195901 has been marked as a duplicate of this bug. ***
Comment 2 Roman Jarosz 2009-06-15 22:56:41 UTC
SVN commit 982433 by rjarosz:

Fix bug 195901 Kopete Crash after system start.

BUG: 195901

 M  +1 -1      jabberclient.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=982433
Comment 3 Roman Jarosz 2009-06-15 22:57:46 UTC
Do you know what kind of jabber connection do you use? Http proxy?
Comment 4 Florian Reinhard 2009-06-15 23:04:09 UTC
(In reply to comment #3)
> Do you know what kind of jabber connection do you use? Http proxy?

i'm using proxy.eu.jabber.org for filetransfers if it's that what you mean.
Comment 5 Dario Andres 2009-06-19 15:01:53 UTC
*** Bug 197085 has been marked as a duplicate of this bug. ***