Bug 203806 - DNS problems causes crashes (std::string, MSN::NotificationServerConnection::registerHandlers,NotificationServerConnection) libmsn beta7
Summary: DNS problems causes crashes (std::string, MSN::NotificationServerConnection::...
Status: RESOLVED FIXED
Alias: None
Product: kopete
Classification: Unmaintained
Component: WLM Plugin (other bugs)
Version First Reported In: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Kopete Developers
URL:
Keywords:
: 207569 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-08-14 10:57 UTC by Ari Simonen
Modified: 2009-09-16 14:45 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ari Simonen 2009-08-14 10:57:15 UTC
Application that crashed: kopete
Version of the application: 0.70.90
KDE Version: 4.3.00 (KDE 4.3.0)
Qt Version: 4.5.2
Operating System: Linux 2.6.30-ARCH i686

What I was doing when the application crashed:
DNS daemon on my server was down, when I started Kopete for the first time on my workstation. Kopete crashed. I tried to start it again few times, but it crashed instantly. I got it working by starting the DNS daemon.

I'm using one WLM Messenger account, which gets connected automatically on startup.

 -- Backtrace:
Application: Kopete (kopete), signal: Segmentation fault
[KCrash Handler]
#6  0xb67b4e18 in _int_malloc () from /lib/libc.so.6
#7  0xb67b724f in malloc () from /lib/libc.so.6
#8  0xb69471d9 in operator new () from /usr/lib/libstdc++.so.6
#9  0xb6922200 in std::string::_Rep::_S_create () from /usr/lib/libstdc++.so.6
#10 0xb6923001 in std::string::_S_construct<char const*> () from /usr/lib/libstdc++.so.6
#11 0xb69231e6 in std::basic_string<char, std::char_traits<char>, std::allocator<char> >::basic_string () from /usr/lib/libstdc++.so.6
#12 0xb3500496 in MSN::NotificationServerConnection::registerHandlers () from /usr/lib/libmsn.so.0.1
#13 0xb3500e69 in MSN::NotificationServerConnection::NotificationServerConnection () from /usr/lib/libmsn.so.0.1
#14 0xb35f04a6 in WlmServer::WlmConnect () from /usr/lib/kde4/kopete_wlm.so
#15 0xb35dda31 in WlmAccount::connectWithPassword () from /usr/lib/kde4/kopete_wlm.so
#16 0xb7f5d8bb in Kopete::PasswordedAccount::qt_metacall () from /usr/lib/libkopete.so.4
#17 0xb35e87da in WlmAccount::qt_metacall () from /usr/lib/kde4/kopete_wlm.so
#18 0xb74629ac in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb74635e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb7f5a018 in KopetePasswordRequestBase::requestFinished () from /usr/lib/libkopete.so.4
#21 0xb7f5d52d in KopetePasswordGetRequestPrompt::processRequest () from /usr/lib/libkopete.so.4
#22 0xb7f5bbb7 in KopetePasswordRequest::walletReceived () from /usr/lib/libkopete.so.4
#23 0xb7f5a0f7 in KopetePasswordRequestBase::qt_metacall () from /usr/lib/libkopete.so.4
#24 0xb74629ac in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#25 0xb74635e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#26 0xb7f75203 in KopeteWalletSignal::walletOpened () from /usr/lib/libkopete.so.4
#27 0xb7f7523a in Kopete::WalletManager::emitWalletOpened () from /usr/lib/libkopete.so.4
#28 0xb7f75833 in Kopete::WalletManager::slotWalletChangedStatus () from /usr/lib/libkopete.so.4
#29 0xb7f767a3 in Kopete::WalletManager::qt_metacall () from /usr/lib/libkopete.so.4
#30 0xb74629ac in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#31 0xb74635e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#32 0xb7a54ac9 in KWallet::Wallet::walletOpened () from /usr/lib/libkdeui.so.5
#33 0xb7a54dc5 in KWallet::Wallet::walletAsyncOpened () from /usr/lib/libkdeui.so.5
#34 0xb7a55cf8 in KWallet::Wallet::qt_metacall () from /usr/lib/libkdeui.so.5
#35 0xb74629ac in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#36 0xb74635e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#37 0xb7b2c729 in OrgKdeKWalletInterface::walletAsyncOpened () from /usr/lib/libkdeui.so.5
#38 0xb7b2cf58 in OrgKdeKWalletInterface::qt_metacall () from /usr/lib/libkdeui.so.5
#39 0xb75606c7 in ?? () from /usr/lib/libQtDBus.so.4
#40 0xb7567f87 in ?? () from /usr/lib/libQtDBus.so.4
#41 0xb745cd9e in QObject::event () from /usr/lib/libQtCore.so.4
#42 0xb6a9f994 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#43 0xb6aa707c in QApplication::notify () from /usr/lib/libQtGui.so.4
#44 0xb79c5faa in KApplication::notify () from /usr/lib/libkdeui.so.5
#45 0xb744cfcb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#46 0xb744dbb2 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#47 0xb744dd7d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#48 0xb7477a9f in ?? () from /usr/lib/libQtCore.so.4
#49 0xb5d87d98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#50 0xb5d8b3e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#51 0xb5d8b513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#52 0xb74776cc in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#53 0xb6b3d6c5 in ?? () from /usr/lib/libQtGui.so.4
#54 0xb744b579 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#55 0xb744b9ca in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#56 0xb744de3f in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#57 0xb6a9f817 in QApplication::exec () from /usr/lib/libQtGui.so.4
#58 0x0805981c in _start ()

Reported using DrKonqi
Comment 1 Matt Rogers 2009-09-05 06:13:28 UTC
what's your libmsn version?
Comment 2 Ari Simonen 2009-09-08 15:33:25 UTC
It was 4.0 beta 7.

Now I'm using libmsn 4.0 beta 8 on KDE 4.3.1 (same Kopete, Qt and kernel versions) and I just got this when I tried to connect without a name server running:

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

Thread 2 (Thread 0xb33bdb70 (LWP 14633)):
#0  0xb8012424 in __kernel_vsyscall ()
#1  0xb6698b95 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
#2  0xb67d07cd in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libc.so.6
#3  0xb730e047 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb5ff8c12 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb730d032 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb669465c in start_thread () from /lib/libpthread.so.0
#7  0xb67c31fe in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb56dea40 (LWP 14632)):
[KCrash Handler]
#6  0xb8012424 in __kernel_vsyscall ()
#7  0xb6720411 in raise () from /lib/libc.so.6
#8  0xb6721c12 in abort () from /lib/libc.so.6
#9  0xb675b71d in __libc_message () from /lib/libc.so.6
#10 0xb6761581 in malloc_printerr () from /lib/libc.so.6
#11 0xb6762c82 in _int_free () from /lib/libc.so.6
#12 0xb6765d4d in free () from /lib/libc.so.6
#13 0xb68f3ca1 in operator delete () from /usr/lib/libstdc++.so.6
#14 0xb3493ebc in MSN::NotificationServerConnection::~NotificationServerConnection () from /usr/lib/libmsn.so.0.1
#15 0xb35881a1 in WlmServer::WlmDisconnect () from /usr/lib/kde4/kopete_wlm.so
#16 0xb35749ea in WlmAccount::logOff () from /usr/lib/kde4/kopete_wlm.so
#17 0xb3580801 in WlmAccount::qt_metacall () from /usr/lib/kde4/kopete_wlm.so
#18 0xb74119ac in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb74125e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#20 0xb3582a33 in Callbacks::socketError () from /usr/lib/kde4/kopete_wlm.so
#21 0xb3583c39 in Callbacks::qt_metacall () from /usr/lib/kde4/kopete_wlm.so
#22 0xb74119ac in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb74125e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb6012833 in QAbstractSocket::error () from /usr/lib/libQtNetwork.so.4
#25 0xb602e6eb in ?? () from /usr/lib/libQtNetwork.so.4
#26 0xb6031f6a in QSslSocket::qt_metacall () from /usr/lib/libQtNetwork.so.4
#27 0xb3587b5a in WlmSocket::qt_metacall () from /usr/lib/kde4/kopete_wlm.so
#28 0xb74119ac in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb74125e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0xb6012833 in QAbstractSocket::error () from /usr/lib/libQtNetwork.so.4
#31 0xb6015c78 in ?? () from /usr/lib/libQtNetwork.so.4
#32 0xb6019838 in QAbstractSocket::qt_metacall () from /usr/lib/libQtNetwork.so.4
#33 0xb603c222 in QTcpSocket::qt_metacall () from /usr/lib/libQtNetwork.so.4
#34 0xb740a69b in QMetaCallEvent::placeMetaCall () from /usr/lib/libQtCore.so.4
#35 0xb740bd9e in QObject::event () from /usr/lib/libQtCore.so.4
#36 0xb6a4e994 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#37 0xb6a5607c in QApplication::notify () from /usr/lib/libQtGui.so.4
#38 0xb797743a in KApplication::notify () from /usr/lib/libkdeui.so.5
#39 0xb73fbfcb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#40 0xb73fcbb2 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#41 0xb73fcd7d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#42 0xb7426a9f in ?? () from /usr/lib/libQtCore.so.4
#43 0xb5d38d98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#44 0xb5d3c3e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#45 0xb5d3c513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#46 0xb74266cc in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#47 0xb6aec6c5 in ?? () from /usr/lib/libQtGui.so.4
#48 0xb73fa579 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#49 0xb73fa9ca in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#50 0xb73fce3f in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#51 0xb6a4e817 in QApplication::exec () from /usr/lib/libQtGui.so.4
#52 0x0805981c in _start ()
Comment 3 Ari Simonen 2009-09-10 09:36:00 UTC
It seems that Kopete on Arch Linux wasn't built with libmsn 4.0 beta 8 until yesterday. Sp now it is and I wasn't able to reproduce the problem anymore.

I'll mark this one fixed.
Thanks.
Comment 4 Matt Rogers 2009-09-12 20:10:38 UTC
Thanks for the info.
Comment 5 Dario Andres 2009-09-16 14:45:38 UTC
*** Bug 207569 has been marked as a duplicate of this bug. ***