Kopete crashes when connecting to jabber server

Bug #368534 reported by zdenek.zikan
52
Affects Status Importance Assigned to Milestone
qca2 (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

This happens even if I delete kopete's configuration files and add a new account to kopete. After i go online (automatically after startup or manually) Kopete crashes with following stacktrace. It seems that the stacktrace is incomplete (#6 0x00000003 in ?? ()) but I don't know what debugging package to install, so if anybody helps me, I'll provide more complete stacktrace (it crashes every time, so reproducing is not a problem).

Program: Kopete (kopete), signal SIGSEGV

Thread 1 (Thread 0xb5603700 (LWP 8193)):
[KCrash Handler]
#6 0x00000003 in ?? ()
#7 0xb2df39a7 in QCA::Global::scan () from /usr/lib/libqca.so.2
#8 0xb2deaed6 in QCA::isSupported () from /usr/lib/libqca.so.2
#9 0xb2deb00e in QCA::isSupported () from /usr/lib/libqca.so.2
#10 0xb2f59d0c in JabberClient::connect (this=0xa2dff60, jid=@0xbfd8ad74, password=@0xbfd8b2b8, auth=true) at /build/buildd/kdenetwork-4.2.2/kopete/protocols/jabber/jabberclient.cpp:617
#11 0xb2f075eb in JabberAccount::connectWithPassword (this=0xa296168, password=@0xbfd8b2b8) at /build/buildd/kdenetwork-4.2.2/kopete/protocols/jabber/jabberaccount.cpp:432
#12 0xb2f0a62a in JabberAccount::qt_metacall (this=0xa296168, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbfd8b25c)
    at /build/buildd/kdenetwork-4.2.2/obj-i486-linux-gnu/kopete/protocols/jabber/jabberaccount.moc:140
#13 0xb6db4ca8 in QMetaObject::activate (sender=0xa38e714, from_signal_index=4, to_signal_index=4, argv=0xbfd8b25c) at kernel/qobject.cpp:3069
#14 0xb6db5932 in QMetaObject::activate (sender=0xa38e714, m=0xb7d1e314, local_signal_index=0, argv=0xbfd8b25c) at kernel/qobject.cpp:3143
#15 0xb7cc5b88 in KopetePasswordRequestBase::requestFinished (this=0xa316ac8, _t1=@0xbfd8b2b8) at /build/buildd/kdenetwork-4.2.2/obj-i486-linux-gnu/kopete/libkopete/kopetepassword.moc:147
#16 0xb7cc92ff in KopetePasswordGetRequestPrompt::processRequest (this=0xa38e6e8) at /build/buildd/kdenetwork-4.2.2/kopete/libkopete/kopetepassword.cpp:152
#17 0xb7cc7ee7 in KopetePasswordRequest::walletReceived (this=0xa38e6e8, wallet=0xa2cea88) at /build/buildd/kdenetwork-4.2.2/kopete/libkopete/kopetepassword.cpp:98
#18 0xb7cc5c64 in KopetePasswordRequestBase::qt_metacall (this=0xa38e6e8, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfd8b3fc)
    at /build/buildd/kdenetwork-4.2.2/obj-i486-linux-gnu/kopete/libkopete/kopetepassword.moc:133
#19 0xb6db4ca8 in QMetaObject::activate (sender=0xa3a2008, from_signal_index=4, to_signal_index=4, argv=0xbfd8b3fc) at kernel/qobject.cpp:3069
#20 0xb6db5932 in QMetaObject::activate (sender=0xa3a2008, m=0xb7d1f5a0, local_signal_index=0, argv=0xbfd8b3fc) at kernel/qobject.cpp:3143
#21 0xb7ce4523 in KopeteWalletSignal::walletOpened (this=0xa3a2008, _t1=0xa2cea88) at /build/buildd/kdenetwork-4.2.2/obj-i486-linux-gnu/kopete/libkopete/kopetewalletmanager.moc:148
#22 0xb7ce455a in Kopete::WalletManager::emitWalletOpened (this=0xb7d20f88, wallet=0xa2cea88) at /build/buildd/kdenetwork-4.2.2/kopete/libkopete/kopetewalletmanager.cpp:184
#23 0xb7ce4b76 in Kopete::WalletManager::slotWalletChangedStatus (this=0xb7d20f88) at /build/buildd/kdenetwork-4.2.2/kopete/libkopete/kopetewalletmanager.cpp:143
#24 0xb7ce5923 in Kopete::WalletManager::qt_metacall (this=0xb7d20f88, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfd8b58c)
    at /build/buildd/kdenetwork-4.2.2/obj-i486-linux-gnu/kopete/libkopete/kopetewalletmanager.moc:75
#25 0xb6db4ca8 in QMetaObject::activate (sender=0xa2cea88, from_signal_index=8, to_signal_index=8, argv=0xbfd8b58c) at kernel/qobject.cpp:3069
#26 0xb6db5932 in QMetaObject::activate (sender=0xa2cea88, m=0xb7493724, local_signal_index=4, argv=0xbfd8b58c) at kernel/qobject.cpp:3143
#27 0xb737b969 in KWallet::Wallet::walletOpened (this=0xa2cea88, _t1=true) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kdeui/kwallet.moc:139
#28 0xb737bc70 in KWallet::Wallet::walletAsyncOpened (this=0xa2cea88, tId=1, handle=2027646712) at /build/buildd/kde4libs-4.2.2/kdeui/util/kwallet.cpp:716
#29 0xb737ca2d in KWallet::Wallet::qt_metacall (this=0xa2cea88, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfd8b6a8) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kdeui/kwallet.moc:99
#30 0xb6db4ca8 in QMetaObject::activate (sender=0xa393280, from_signal_index=9, to_signal_index=9, argv=0xbfd8b6a8) at kernel/qobject.cpp:3069
#31 0xb6db5932 in QMetaObject::activate (sender=0xa393280, m=0xb7499600, local_signal_index=4, argv=0xbfd8b6a8) at kernel/qobject.cpp:3143
#32 0xb744ce39 in OrgKdeKWalletInterface::walletAsyncOpened (this=0xa393280, _t1=1, _t2=2027646712) at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kdeui/kwallet_interface.moc:300
#33 0xb744eac0 in OrgKdeKWalletInterface::qt_metacall (this=0xa393280, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfd8bbb8)
    at /build/buildd/kde4libs-4.2.2/obj-i486-linux-gnu/kdeui/kwallet_interface.moc:176
#34 0xb6eb8d7a in QDBusConnectionPrivate::deliverCall (this=0x9fd91d0, object=0xa393280, msg=@0xa2a0fa4, metaTypes=@0xa2a0fa8, slotIdx=9) at qdbusintegrator.cpp:891
#35 0xb6ec1187 in QDBusCallDeliveryEvent::placeMetaCall (this=0xa2a0f78, object=0xa393280) at qdbusintegrator_p.h:101
#36 0xb6daf3a0 in QObject::event (this=0xa393280, e=0xa2a0f78) at kernel/qobject.cpp:1118
#37 0xb6350f2c in QApplicationPrivate::notify_helper (this=0x9fd0938, receiver=0xa393280, e=0xa2a0f78) at kernel/qapplication.cpp:4084
#38 0xb635922e in QApplication::notify (this=0xbfd8c2cc, receiver=0xa393280, e=0xa2a0f78) at kernel/qapplication.cpp:3631
#39 0xb72ee94d in KApplication::notify (this=0xbfd8c2cc, receiver=0xa393280, event=0xa2a0f78) at /build/buildd/kde4libs-4.2.2/kdeui/kernel/kapplication.cpp:307
#40 0xb6d9ea3b in QCoreApplication::notifyInternal (this=0xbfd8c2cc, receiver=0xa393280, event=0xa2a0f78) at kernel/qcoreapplication.cpp:602
#41 0xb6d9f695 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9fb3df0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#42 0xb6d9f88d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1132
#43 0xb6dca7ef in postEventSourceDispatch (s=0x9fcfb68) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:218
#44 0xb5afab88 in IA__g_main_context_dispatch (context=0x9fd31e8) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#45 0xb5afe0eb in g_main_context_iterate (context=0x9fd31e8, block=1, dispatch=1, self=0x9fd0438) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#46 0xb5afe268 in IA__g_main_context_iteration (context=0x9fd31e8, may_block=1) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2511
#47 0xb6dca438 in QEventDispatcherGlib::processEvents (this=0x9fba6e8, flags={i = -1076313672}) at kernel/qeventdispatcher_glib.cpp:323
#48 0xb63f23f5 in QGuiEventDispatcherGlib::processEvents (this=0x9fba6e8, flags={i = -1076313624}) at kernel/qguieventdispatcher_glib.cpp:202
#49 0xb6d9d06a in QEventLoop::processEvents (this=0xbfd8c260, flags={i = -1076313560}) at kernel/qeventloop.cpp:149
#50 0xb6d9d4aa in QEventLoop::exec (this=0xbfd8c260, flags={i = -1076313496}) at kernel/qeventloop.cpp:200
#51 0xb6d9f959 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:880
#52 0xb6350da7 in QApplication::exec () at kernel/qapplication.cpp:3553
#53 0x0808c27f in main (argc=1, argv=0xbfd8c6b4) at /build/buildd/kdenetwork-4.2.2/kopete/kopete/main.cpp:102

Revision history for this message
zdenek.zikan (zdenek-zikan) wrote :

Distribution is Jaunty, version numbers:
$ kopete --version
Qt: 4.5.0
KDE: 4.2.2 (KDE 4.2.2)
Kopete: 0.70.2
$ dpkg --status libqca2 | grep Version
Version: 2.0.0-4
$ dpkg --status kopete | grep Version
Version: 4:4.2.2-0ubuntu2

affects: ubuntu → kopete (Ubuntu)
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

I'm setting this bug to private since the stacktrace contains your jabber ID and password.

visibility: public → private
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Nevermind, it's just the pointer to the address holding your password. Better safe than sorry though.

visibility: private → public
Revision history for this message
zdenek.zikan (zdenek-zikan) wrote :

Maybe it is the same bug as https://bugs.launchpad.net/ubuntu/+source/qca2/+bug/350882 but I'm not sure. Could somebody check it out?

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

It looks like it's crashing in the same function, but I don't know if we have enough info to determine if it's the exact same crash.
Regardless, it does appear to be a qca bug.

affects: kopete (Ubuntu) → qca2 (Ubuntu)
Revision history for this message
zdenek.zikan (zdenek-zikan) wrote :

Can somebody tell me how to get debugging packages for qca2? I couldn't find any in Jaunty repositories, so I'm wondering if there are any.

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

You might try the dbgsym packages. The following wiki page outlines how to get dbgsym packages for most of the software in Ubuntu:
https://wiki.kubuntu.org/DebuggingProgramCrash#Hardy%20Heron%208.04,%20Intrepid%20Ibex%208.10,%20and%20Jaunty%20Jackalope%209.04
(See the first section)

Revision history for this message
zdenek.zikan (zdenek-zikan) wrote :

Jonathan> Didn't help. QCA2 debugging packages don't seem to be there.

Revision history for this message
zdenek.zikan (zdenek-zikan) wrote :

I'm not sure how much is this information useful, but problem remains after upgrade to KDE 4.2.3 and Qt 4.5.1.

As for QCA2, I can see theat in upstream, there is already version 2.0.2, while in Ubuntu, there is 2.0.0 for very long time (since Hardy). Would you consider updating Jaunty's version of QCA2?

Revision history for this message
zdenek.zikan (zdenek-zikan) wrote :

The problem remains after upgrading to KDE 4.3 beta 1 on Jaunty. What about switching QCA2 to newer version. Is there any reason for still using the old (probably buggy version)? Or do you think that changes between 2.0.0 and 2.0.2 are not related to this bug?

Revision history for this message
Rohan Garg (rohangarg) wrote :

Hi
Can you still reproduce this crash with the latest version of Kubuntu i.e Lucid Lynx?

Changed in qca2 (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for qca2 (Ubuntu) because there has been no activity for 60 days.]

Changed in qca2 (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.