Bug 183549 - Kopete crashes when switching jabber account online
Summary: Kopete crashes when switching jabber account online
Status: RESOLVED WORKSFORME
Alias: None
Product: qca
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Justin Karneges
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-07 12:39 UTC by Zdeněk Zikán
Modified: 2010-01-21 22:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Zdeněk Zikán 2009-02-07 12:39:55 UTC
Version:           0.70.0 (using KDE 4.2.0)
OS:                Linux
Installed from:    Ubuntu Packages

I turn on Kopete, where I have one Jabber and one ICQ account. If I go online on ICQ, it works. If I try to switch Jabber account to "Online" Kopete crashes with this output on terminal:

$ kopete
kopete(16931) Kopete::IdentityManager::load: Created identity  "KGyEnYw1Ng"
kopete(16931) Kopete::IdleTimer::IdleTimer: Using platform idle timer
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
Calling appendChild() on a null node does nothing.
zdenek@localhost:~$ KCrash: Application 'kopete' crashing...
sock_file=/home/zdenek/.kde/socket-localhost/kdeinit4__0


and following backtrace:

Application: Kopete (kopete), signal SIGSEGV

Thread 1 (Thread 0xb58ad6c0 (LWP 16931)):
[KCrash Handler]
#6  0x00000003 in ?? ()
#7  0xb324b9a7 in QCA::Global::scan () from /usr/lib/libqca.so.2
#8  0xb3242ed6 in QCA::isSupported () from /usr/lib/libqca.so.2
#9  0xb324300e in QCA::isSupported () from /usr/lib/libqca.so.2
#10 0xb33b062c in JabberClient::connect () from /usr/lib/kde4/kopete_jabber.so
#11 0xb335efcb in ?? () from /usr/lib/kde4/kopete_jabber.so
#12 0xb336107a in ?? () from /usr/lib/kde4/kopete_jabber.so
#13 0xb6f1aa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0xb6f1b7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb7df4e68 in ?? () from /usr/lib/libkopete.so.4
#16 0xb7df854f in ?? () from /usr/lib/libkopete.so.4
#17 0xb7df7967 in ?? () from /usr/lib/libkopete.so.4
#18 0xb7df4f44 in ?? () from /usr/lib/libkopete.so.4
#19 0xb6f1aa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb6f1b7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb7e12663 in ?? () from /usr/lib/libkopete.so.4
#22 0xb7e1269a in Kopete::WalletManager::emitWalletOpened () from /usr/lib/libkopete.so.4
#23 0xb7e12cb6 in Kopete::WalletManager::slotWalletChangedStatus () from /usr/lib/libkopete.so.4
#24 0xb7e13a23 in Kopete::WalletManager::qt_metacall () from /usr/lib/libkopete.so.4
#25 0xb6f1aa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb6f1b7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb74c8d99 in KWallet::Wallet::walletOpened (this=0x8e6f5a0, _t1=true) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kdeui/kwallet.moc:137
#28 0xb74c90a0 in KWallet::Wallet::walletAsyncOpened (this=0x8e6f5a0, tId=4, handle=1433903728) at /build/buildd/kde4libs-4.2.0/kdeui/util/kwallet.cpp:716
#29 0xb74c9e5d in KWallet::Wallet::qt_metacall (this=0x8e6f5a0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbfdaf9f8) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kdeui/kwallet.moc:98
#30 0xb6f1aa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb6f1b7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb7598e09 in OrgKdeKWalletInterface::walletAsyncOpened (this=0x8ec0680, _t1=4, _t2=1433903728) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kdeui/kwallet_interface.moc:298
#33 0xb759ac58 in OrgKdeKWalletInterface::qt_metacall (this=0x8ec0680, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfdb0008)
    at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kdeui/kwallet_interface.moc:175
#34 0xb700f26e in ?? () from /usr/lib/libQtDBus.so.4
#35 0xb7016627 in ?? () from /usr/lib/libQtDBus.so.4
#36 0xb6f15771 in QObject::event () from /usr/lib/libQtCore.so.4
#37 0xb65a98ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#38 0xb65b172e in QApplication::notify () from /usr/lib/libQtGui.so.4
#39 0xb743bfed in KApplication::notify (this=0xbfdb072c, receiver=0x8ec0680, event=0x8f52dd0) at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#40 0xb6f05e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#41 0xb6f06ae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#42 0xb6f06cdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#43 0xb6f3082f in ?? () from /usr/lib/libQtCore.so.4
#44 0xb5d6f6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#45 0xb5d72da3 in ?? () from /usr/lib/libglib-2.0.so.0
#46 0xb5d72f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#47 0xb6f30478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#48 0xb6643ea5 in ?? () from /usr/lib/libQtGui.so.4
#49 0xb6f0452a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#50 0xb6f046ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#51 0xb6f06da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#52 0xb65a9767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#53 0x0808b93f in _start ()
Comment 1 Dario Andres 2009-02-07 13:20:13 UTC
What is your "qca" package version?
As you can reproduce at will, may you install the "kdenetwork-dbg" package in order to get a complete backtrace?
Thanks
Comment 2 Zdeněk Zikán 2009-02-07 16:28:10 UTC
(In reply to comment #1)
> What is your "qca" package version?

libqca2: 2.0.0

> As you can reproduce at will, may you install the "kdenetwork-dbg" package in
> order to get a complete backtrace?

All right, here it is:

Application: Kopete (kopete), signal SIGSEGV

Thread 1 (Thread 0xb58406c0 (LWP 26165)):
[KCrash Handler]
#6  0x00000003 in ?? ()
#7  0xb31dd9a7 in QCA::Global::scan () from /usr/lib/libqca.so.2
#8  0xb31d4ed6 in QCA::isSupported () from /usr/lib/libqca.so.2
#9  0xb31d500e in QCA::isSupported () from /usr/lib/libqca.so.2
#10 0xb334262c in JabberClient::connect (this=0x8d23218, jid=@0xbf940544, password=@0xbf940a88, auth=true) at /build/buildd/kdenetwork-4.2.0/kopete/protocols/jabber/jabberclient.cpp:617
#11 0xb32f0fcb in JabberAccount::connectWithPassword (this=0x8ad7600, password=@0xbf940a88) at /build/buildd/kdenetwork-4.2.0/kopete/protocols/jabber/jabberaccount.cpp:431
#12 0xb32f307a in JabberAccount::qt_metacall (this=0x8ad7600, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf940a2c)
    at /build/buildd/kdenetwork-4.2.0/obj-i486-linux-gnu/kopete/protocols/jabber/jabberaccount.moc:139
#13 0xb6eada60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#14 0xb6eae7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#15 0xb7d87e68 in KopetePasswordRequestBase::requestFinished (this=0x8a2a258, _t1=@0xbf940a88) at /build/buildd/kdenetwork-4.2.0/obj-i486-linux-gnu/kopete/libkopete/kopetepassword.moc:143
#16 0xb7d8b54f in KopetePasswordGetRequestPrompt::processRequest (this=0x9033a40) at /build/buildd/kdenetwork-4.2.0/kopete/libkopete/kopetepassword.cpp:152
#17 0xb7d8a967 in KopetePasswordRequest::walletReceived (this=0x9033a40, wallet=0x97c1370) at /build/buildd/kdenetwork-4.2.0/kopete/libkopete/kopetepassword.cpp:98
#18 0xb7d87f44 in KopetePasswordRequestBase::qt_metacall (this=0x9033a40, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf940bcc)
    at /build/buildd/kdenetwork-4.2.0/obj-i486-linux-gnu/kopete/libkopete/kopetepassword.moc:130
#19 0xb6eada60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb6eae7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#21 0xb7da5663 in KopeteWalletSignal::walletOpened (this=0x8a92eb0, _t1=0x97c1370) at /build/buildd/kdenetwork-4.2.0/obj-i486-linux-gnu/kopete/libkopete/kopetewalletmanager.moc:144
#22 0xb7da569a in Kopete::WalletManager::emitWalletOpened (this=0xb7dd8f68, wallet=0x97c1370) at /build/buildd/kdenetwork-4.2.0/kopete/libkopete/kopetewalletmanager.cpp:184
#23 0xb7da5cb6 in Kopete::WalletManager::slotWalletChangedStatus (this=0xb7dd8f68) at /build/buildd/kdenetwork-4.2.0/kopete/libkopete/kopetewalletmanager.cpp:143
#24 0xb7da6a23 in Kopete::WalletManager::qt_metacall (this=0xb7dd8f68, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbf940d5c)
    at /build/buildd/kdenetwork-4.2.0/obj-i486-linux-gnu/kopete/libkopete/kopetewalletmanager.moc:74
#25 0xb6eada60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb6eae7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#27 0xb745bd99 in KWallet::Wallet::walletOpened (this=0x97c1370, _t1=true) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kdeui/kwallet.moc:137
#28 0xb745c0a0 in KWallet::Wallet::walletAsyncOpened (this=0x97c1370, tId=5, handle=1433903728) at /build/buildd/kde4libs-4.2.0/kdeui/util/kwallet.cpp:716
#29 0xb745ce5d in KWallet::Wallet::qt_metacall (this=0x97c1370, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0xbf940e78) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kdeui/kwallet.moc:98
#30 0xb6eada60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb6eae7e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb752be09 in OrgKdeKWalletInterface::walletAsyncOpened (this=0x8ef7e00, _t1=5, _t2=1433903728) at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kdeui/kwallet_interface.moc:298
#33 0xb752dc58 in OrgKdeKWalletInterface::qt_metacall (this=0x8ef7e00, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbf941488)
    at /build/buildd/kde4libs-4.2.0/obj-i486-linux-gnu/kdeui/kwallet_interface.moc:175
#34 0xb6fa226e in ?? () from /usr/lib/libQtDBus.so.4
#35 0xb6fa9627 in ?? () from /usr/lib/libQtDBus.so.4
#36 0xb6ea8771 in QObject::event () from /usr/lib/libQtCore.so.4
#37 0xb653c8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#38 0xb654472e in QApplication::notify () from /usr/lib/libQtGui.so.4
#39 0xb73cefed in KApplication::notify (this=0xbf941bac, receiver=0x8ef7e00, event=0x9519310) at /build/buildd/kde4libs-4.2.0/kdeui/kernel/kapplication.cpp:307
#40 0xb6e98e61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#41 0xb6e99ae5 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#42 0xb6e99cdd in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#43 0xb6ec382f in ?? () from /usr/lib/libQtCore.so.4
#44 0xb5d026f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#45 0xb5d05da3 in ?? () from /usr/lib/libglib-2.0.so.0
#46 0xb5d05f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#47 0xb6ec3478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#48 0xb65d6ea5 in ?? () from /usr/lib/libQtGui.so.4
#49 0xb6e9752a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#50 0xb6e976ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#51 0xb6e99da5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#52 0xb653c767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#53 0x0808b93f in main (argc=1, argv=0xbf941f94) at /build/buildd/kdenetwork-4.2.0/kopete/kopete/main.cpp:102
Comment 3 Brad Hards 2009-02-07 22:37:18 UTC
Can you please install the debug packages for QCA, if any, and try again?
Comment 4 Zdeněk Zikán 2009-03-29 00:23:59 UTC
Unfortunately, I cannot find any debug packages for qca2 or libqca2 in Ubuntu. But it seems to have the debugging information for qca in it, doesn't it?
#7  0xb31dd9a7 in QCA::Global::scan () from /usr/lib/libqca.so.2
#8  0xb31d4ed6 in QCA::isSupported () from /usr/lib/libqca.so.2
#9  0xb31d500e in QCA::isSupported () from /usr/lib/libqca.so.2
(Maybe I'm wrong, I don't understand process of creating those backtraces too much.)
Comment 5 disabled account 2010-01-16 23:02:23 UTC
Doesnt occur to me on KDE SC 4.3.90, is this still an issue?
Comment 6 Zdeněk Zikán 2010-01-21 22:27:41 UTC
No, the behaviour is gone, it doesn't crashes anymore (at least not under the same circumstances :-)). Resolving issue as "worksforme".