Bug 194466

Summary: crash durring logging to jabber.wp.pl
Product: [Unmaintained] kopete Reporter: Michał Kudła <m1k0>
Component: generalAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: Regnaron
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Michał Kudła 2009-05-28 21:14:28 UTC
Application that crashed: kopete
Version of the application: 0.70.85
KDE Version: 4.2.87 (KDE 4.2.87 (KDE 4.3 >= 20090519))
Qt Version: 4.5.1
Operating System: Linux 2.6.28-gentoo-r2 i686
Distribution: "Gentoo Base System release 2.0.0"

What I was doing when the application crashed:
crash durring logging to jabber.wp.pl

 -- Backtrace:
Application: Kopete (kopete), signal: Aborted
[Current thread is 0 (LWP 4511)]

Thread 4 (Thread 0xb353cb90 (LWP 4731)):
#0  0xb8042424 in __kernel_vsyscall ()
#1  0xb64ca5d6 in poll () from /lib/libc.so.6
#2  0xb5ec51a6 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x08756960 in ?? ()
#4  0x00000001 in ?? ()
#5  0xffffffff in ?? ()
#6  0x00000001 in ?? ()
#7  0xb6ed8084 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#8  0x5d8914ec in ?? ()
#9  0xf87589f4 in ?? ()
#10 0xe8fc7d89 in ?? ()
#11 0x00000000 in ?? ()

Thread 3 (Thread 0xb1a48b90 (LWP 4732)):
#0  0xb8042424 in __kernel_vsyscall ()
#1  0xb64ca5d6 in poll () from /lib/libc.so.6
#2  0xb5ec51a6 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x08548c40 in ?? ()
#4  0x00000001 in ?? ()
#5  0x00000849 in ?? ()
#6  0x00000001 in ?? ()
#7  0xb6ed8084 in __pthread_mutex_unlock_usercnt () from /lib/libpthread.so.0
#8  0x5d8914ec in ?? ()
#9  0xf87589f4 in ?? ()
#10 0xe8fc7d89 in ?? ()
#11 0x00000000 in ?? ()

Thread 2 (Thread 0xb1173b90 (LWP 4736)):
#0  0xb8042424 in __kernel_vsyscall ()
#1  0xb64cd1a1 in select () from /lib/libc.so.6
#2  0xb20a003c in posix_timer_do () from /usr/lib/libortp.so.5
#3  0xb1173344 in ?? ()

Thread 1 (Thread 0xb5939700 (LWP 4511)):
[KCrash Handler]
#6  0xb8042424 in __kernel_vsyscall ()
#7  0xb642f081 in raise () from /lib/libc.so.6
#8  0xb64308fe in abort () from /lib/libc.so.6
#9  0xb6f65475 in qt_message_output () from /usr/lib/qt4/libQtCore.so.4
#10 0xb6f65538 in qFatal () from /usr/lib/qt4/libQtCore.so.4
#11 0xb6f655f6 in qt_assert () from /usr/lib/qt4/libQtCore.so.4
#12 0xb123e72e in KopeteAccountConfig::load (this=0x84e8948) at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87/kopete/kopete/config/accounts/kopeteaccountconfig.cpp:186
#13 0xb123b850 in KopeteAccountConfig::slotAccountAdded (this=0x84e8948, account=0x873a768)
    at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87/kopete/kopete/config/accounts/kopeteaccountconfig.cpp:484
#14 0xb123e406 in KopeteAccountConfig::qt_metacall (this=0x84e8948, _c=QMetaObject::InvokeMetaMethod, _id=11, _a=0xbfd5e61c)
    at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87_build/kopete/kopete/config/accounts/kopeteaccountconfig.moc:103
#15 0xb70614d1 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#16 0xb7061a93 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#17 0xb7d9d188 in Kopete::AccountManager::accountRegistered (this=0x81e9e30, _t1=0x873a768)
    at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87_build/kopete/libkopete/kopeteaccountmanager.moc:124
#18 0xb7d9e150 in Kopete::AccountManager::registerAccount (this=0x81e9e30, account=0x873a768)
    at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87/kopete/libkopete/kopeteaccountmanager.cpp:221
#19 0xb224b4fc in JabberContact::slotDiscoFinished (this=0x862ba38) at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87/kopete/protocols/jabber/jabbercontact.cpp:1327
#20 0xb225023d in JabberContact::qt_metacall (this=0x862ba38, _c=QMetaObject::InvokeMetaMethod, _id=30, _a=0xbfd5e848)
    at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87_build/kopete/protocols/jabber/jabbercontact.moc:147
#21 0xb70614d1 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#22 0xb7061a93 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#23 0xb2281014 in XMPP::Task::finished (this=0x913f630) at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87_build/kopete/protocols/jabber/libiris/moc_xmpp_task.cpp:84
#24 0xb22c097a in XMPP::Task::done (this=0x913f630) at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:216
#25 0xb22c0a78 in XMPP::Task::setSuccess (this=0x913f630, code=1, str=@0xbfd5e9c8)
    at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:183
#26 0xb22c2f73 in XMPP::DiscoInfoTask::take (this=0x913f630, x=@0xbfd5eb50)
    at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_discoinfotask.cpp:162
#27 0xb22c0c4d in XMPP::Task::take (this=0x9299298, x=@0xbfd5eb50) at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/xmpp_task.cpp:139
#28 0xb2299b69 in XMPP::Client::distribute (this=0x9297580, x=@0xbfd5eb50)
    at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:580
#29 0xb229a7f0 in XMPP::Client::streamReadyRead (this=0x9297580) at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-im/client.cpp:527
#30 0xb22888c1 in XMPP::Client::qt_metacall (this=0x9297580, _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0xbfd5ec18)
    at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87_build/kopete/protocols/jabber/libiris/moc_xmpp_client.cpp:138
#31 0xb70614d1 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#32 0xb7061a93 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#33 0xb228251c in XMPP::Stream::readyRead (this=0x90ce5a0) at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87_build/kopete/protocols/jabber/libiris/moc_xmpp_stream.cpp:99
#34 0xb22ea8fc in XMPP::ClientStream::doReadyRead (this=0x90ce5a0) at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87/kopete/protocols/jabber/libiris/iris/xmpp/xmpp-core/stream.cpp:892
#35 0xb2288625 in XMPP::ClientStream::qt_metacall (this=0x90ce5a0, _c=QMetaObject::InvokeMetaMethod, _id=25, _a=0x90ce5a0)
    at /var/tmp/portage/kde-base/kopete-4.2.87/work/kopete-4.2.87_build/kopete/protocols/jabber/libiris/moc_xmpp_clientstream.cpp:133
#36 0xb70614d1 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#37 0xb7061a93 in QMetaObject::activate () from /usr/lib/qt4/libQtCore.so.4
#38 0xb7067f98 in ?? () from /usr/lib/qt4/libQtCore.so.4
#39 0x09032328 in ?? ()
#40 0xb70f8f04 in ?? () from /usr/lib/qt4/libQtCore.so.4
#41 0x00000000 in ?? ()
Comment 1 Oliver Putz 2009-05-30 11:39:10 UTC
I just experienced the same crash.

What I did:

1) Started kopete
2) Went to Settings->Configure->Add Account->Jabber and entered the credentials for an already existing jabber account
3) When I tried to log into the Jabber account, kopete crashed with the backtrace shown below.

The second time I tried logging into the account, all went well

Not sure if it has anything to do with it but two further informations:

1) The jabber account is used as a relay to an ICQ and an MSN account.
2) I aparently compiled kopete without msn support (cannot create a msn account directely)


[Thread debugging using libthread_db enabled]
[New Thread 0x7ffb8390e750 (LWP 586)]
[New Thread 0x4240b950 (LWP 588)]
[New Thread 0x4176d950 (LWP 587)]
[KCrash handler]
#5  0x00007ffb7e3dc235 in raise () from /lib/libc.so.6
#6  0x00007ffb7e3dd753 in abort () from /lib/libc.so.6
#7  0x00007ffb7fddf815 in qt_message_output (msgType=QtFatalMsg, 
    buf=<value optimized out>) at global/qglobal.cpp:2108
#8  0x00007ffb7fddf937 in qFatal (msg=<value optimized out>)
    at global/qglobal.cpp:2309
#9  0x00007ffb70813c5a in KopeteAccountConfig::load (this=0xeda0e0)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3/kopete/kopete/config/accounts/kopeteaccountconfig.cpp:183
#10 0x00007ffb7081396c in KopeteAccountConfig::qt_metacall (this=0xeda0e0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff8b958a80)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3_build/kopete/kopete/config/accounts/kopeteaccountconfig.moc:99
#11 0x00007ffb7feda900 in QMetaObject::activate (sender=0x8496d0, 
    from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=0xffffffffffffffff) at kernel/qobject.cpp:3025
#12 0x00007ffb8268a4dd in Kopete::AccountManager::accountRegistered (
    this=0xffffffff, _t1=0x1502280)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3_build/kopete/libkopete/kopeteaccountmanager.moc:122
#13 0x00007ffb8268b24f in Kopete::AccountManager::registerAccount (
    this=0x8496d0, account=0x1502280)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3/kopete/libkopete/kopeteaccountmanager.cpp:221
#14 0x00007ffb70536479 in JabberContact::slotDiscoFinished (this=0x1500f40)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3/kopete/protocols/jabber/jabbercontact.cpp:1327
#15 0x00007ffb7053a155 in JabberContact::qt_metacall (this=0x1500f40, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff8b958e50)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3_build/kopete/protocols/jabber/jabbercontact.moc:136
#16 0x00007ffb7feda900 in QMetaObject::activate (sender=0x14e8830, 
    from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=0xffffffffffffffff) at kernel/qobject.cpp:3025
#17 0x00007ffb6ff9a1e2 in XMPP::Task::done (this=0x14e8830)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_task.cpp:217
#18 0x00007ffb6ff98fcc in XMPP::DiscoInfoTask::take (this=0x14e8830, 
    x=<value optimized out>)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_discoinfotask.cpp:162
#19 0x00007ffb6ff9a39f in XMPP::Task::take (this=<value optimized out>, 
    x=@0x7fff8b9594b0)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3/kopete/protocols/jabber/libiris/iris/xmpp-im/xmpp_task.cpp:140
#20 0x00007ffb6ff70118 in XMPP::Client::distribute (this=0x12590d0, 
    x=@0x7fff8b9594b0)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3/kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp:580
#21 0x00007ffb6ff70b0e in XMPP::Client::streamReadyRead (this=0x12590d0)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3/kopete/protocols/jabber/libiris/iris/xmpp-im/client.cpp:527
#22 0x00007ffb6ff2fc56 in XMPP::Client::qt_metacall (this=0x12590d0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff8b959600)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3_build/kopete/protocols/jabber/libiris/moc_xmpp_client.cpp:137
#23 0x00007ffb7feda900 in QMetaObject::activate (sender=0x13c8ee0, 
    from_signal_index=<value optimized out>, to_signal_index=6, 
    argv=0xffffffffffffffff) at kernel/qobject.cpp:3025
#24 0x00007ffb6ff2f571 in XMPP::ClientStream::qt_metacall (this=0x13c8ee0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fff8b959700)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3_build/kopete/protocols/jabber/libiris/moc_xmpp_clientstream.cpp:132
#25 0x00007ffb7feda900 in QMetaObject::activate (sender=0x14c5ef0, 
    from_signal_index=<value optimized out>, to_signal_index=4, 
    argv=0xffffffffffffffff) at kernel/qobject.cpp:3025
#26 0x00007ffb7fee071f in QSingleShotTimer::timerEvent (this=0x14c5ef0)
    at kernel/qtimer.cpp:300
#27 0x00007ffb7fed4453 in QObject::event (this=0x14c5ef0, e=0x24a)
    at kernel/qobject.cpp:1117
#28 0x00007ffb7f038a2d in QApplicationPrivate::notify_helper (this=0x6a2fe0, 
    receiver=0x14c5ef0, e=0x7fff8b959db0) at kernel/qapplication.cpp:3809
#29 0x00007ffb7f03fd8e in QApplication::notify (this=0x7fff8b95a0c0, 
    receiver=0x14c5ef0, e=0x7fff8b959db0) at kernel/qapplication.cpp:3774
#30 0x00007ffb809a6f84 in KApplication::notify (this=0x7fff8b95a0c0, 
    receiver=0x14c5ef0, event=0x7fff8b959db0)
    at /var/tmp/portage/kde-base/kdelibs-4.2.3/work/kdelibs-4.2.3/kdeui/kernel/kapplication.cpp:307
#31 0x00007ffb7fec5be0 in QCoreApplication::notifyInternal (
    this=0x7fff8b95a0c0, receiver=0x14c5ef0, event=0x7fff8b959db0)
    at kernel/qcoreapplication.cpp:589
#32 0x00007ffb7feeff66 in QTimerInfoList::activateTimers (this=0x6a0010)
    at kernel/qcoreapplication.h:215
#33 0x00007ffb7feecbbd in timerSourceDispatch (source=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:166
#34 0x00007ffb7af06614 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#35 0x00007ffb7af084d7 in g_main_context_iterate ()
   from /usr/lib/libglib-2.0.so.0
#36 0x00007ffb7af085bd in g_main_context_iteration ()
   from /usr/lib/libglib-2.0.so.0
#37 0x00007ffb7feecb1f in QEventDispatcherGlib::processEvents (this=0x699a90, 
    flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:325
#38 0x00007ffb7f0bee1f in QGuiEventDispatcherGlib::processEvents (this=0x24a, 
    flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007ffb7fec4812 in QEventLoop::processEvents (
    this=<value optimized out>, flags={i = -1953128464})
    at kernel/qeventloop.cpp:149
#40 0x00007ffb7fec49a5 in QEventLoop::exec (this=0x7fff8b95a030, flags=
      {i = -1953128384}) at kernel/qeventloop.cpp:196
#41 0x00007ffb7fec9747 in QCoreApplication::exec ()
    at kernel/qcoreapplication.cpp:851
#42 0x0000000000441a85 in main (argc=3, argv=0x7fff8b95ae88)
    at /var/tmp/portage/kde-base/kopete-4.2.3/work/kopete-4.2.3/kopete/kopete/main.cpp:102
Comment 2 Roman Jarosz 2009-05-30 11:50:44 UTC
Michał: I see you are using some recent KDE version, could you try to reproduce this crash with Kopete version after 2009-05-21 to be precise after commit 971166. You most likely have transport in jabber account right?
Comment 3 Roman Jarosz 2009-06-17 21:22:56 UTC
This is fixed.