Bug 203572

Summary: Kopete crashed while starting up (std::string*, MSN::NotificationServerConnection::connect , libmsn?)
Product: [Unmaintained] kopete Reporter: Álvaro Villalba <vn.alvaro>
Component: WLM PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: andresbajotierra, pbtrn10k, tonikde
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Bug Depends on:    
Bug Blocks: 206322    

Description Álvaro Villalba 2009-08-12 15:41:03 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:
As I said in the title it just crashed while connecting automatically when it was starting up.
As far as I can remember I haven't changed anything on the configuration or updated anything related with kopete since the last time it worked.

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

Thread 4 (Thread 0xb2b06b70 (LWP 4752)):
#0  0xb5da8541 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#1  0xb7494707 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#2  0xb7468579 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#3  0xb74689ca in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#4  0xb2bd993a in QCA::SyncThread::run () from /usr/lib/libqca.so.2
#5  0xb737b032 in ?? () from /usr/lib/libQtCore.so.4
#6  0xb670268c in start_thread () from /lib/libpthread.so.0
#7  0xb6831e2e in clone () from /lib/libc.so.6

Thread 3 (Thread 0xb2305b70 (LWP 4759)):
#0  0xb8078424 in __kernel_vsyscall ()
#1  0xb683f703 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb67d592f in _L_lock_7246 () from /lib/libc.so.6
#3  0xb67d4176 in free () from /lib/libc.so.6
#4  0xb6961ca1 in operator delete () from /usr/lib/libstdc++.so.6
#5  0xb6064232 in QHostAddress::~QHostAddress () from /usr/lib/libQtNetwork.so.4
#6  0xb2e5bc14 in QList<XMPP::NetInterfaceProvider::Info>::free () from /usr/lib/kde4/kopete_jabber.so
#7  0xb2e92d74 in XMPP::UnixNet::poll () from /usr/lib/kde4/kopete_jabber.so
#8  0xb2e91381 in XMPP::UnixNet::qt_metacall () from /usr/lib/kde4/kopete_jabber.so
#9  0xb747f9ac in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#10 0xb74805e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#11 0xb74b9a87 in QTimer::timeout () from /usr/lib/libQtCore.so.4
#12 0xb748505e in QTimer::timerEvent () from /usr/lib/libQtCore.so.4
#13 0xb7479b5f in QObject::event () from /usr/lib/libQtCore.so.4
#14 0xb6abc994 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#15 0xb6ac407c in QApplication::notify () from /usr/lib/libQtGui.so.4
#16 0xb79e2faa in KApplication::notify () from /usr/lib/libkdeui.so.5
#17 0xb7469fcb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#18 0xb749779e in ?? () from /usr/lib/libQtCore.so.4
#19 0xb7494780 in ?? () from /usr/lib/libQtCore.so.4
#20 0xb5da4d98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#21 0xb5da83e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#22 0xb5da8513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#23 0xb7494707 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#24 0xb7468579 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#25 0xb74689ca in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#26 0xb2e5bb6b in XMPP::SyncThread::run () from /usr/lib/kde4/kopete_jabber.so
#27 0xb737b032 in ?? () from /usr/lib/libQtCore.so.4
#28 0xb670268c in start_thread () from /lib/libpthread.so.0
#29 0xb6831e2e in clone () from /lib/libc.so.6

Thread 2 (Thread 0xb1b04b70 (LWP 4773)):
#0  0xb8078424 in __kernel_vsyscall ()
#1  0xb683f703 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb67d592f in _L_lock_7246 () from /lib/libc.so.6
#3  0xb67d4176 in free () from /lib/libc.so.6
#4  0xb681c1f0 in getaddrinfo () from /lib/libc.so.6
#5  0xb60713ed in ?? () from /usr/lib/libQtNetwork.so.4
#6  0xb6066b6e in ?? () from /usr/lib/libQtNetwork.so.4
#7  0xb737b032 in ?? () from /usr/lib/libQtCore.so.4
#8  0xb670268c in start_thread () from /lib/libpthread.so.0
#9  0xb6831e2e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb574da50 (LWP 4693)):
[KCrash Handler]
#6  0xb8078424 in __kernel_vsyscall ()
#7  0xb678e461 in raise () from /lib/libc.so.6
#8  0xb678fc62 in abort () from /lib/libc.so.6
#9  0xb67c9add in __libc_message () from /lib/libc.so.6
#10 0xb67cf9b1 in malloc_printerr () from /lib/libc.so.6
#11 0xb67cfbfa in malloc_consolidate () from /lib/libc.so.6
#12 0xb67d1e82 in _int_malloc () from /lib/libc.so.6
#13 0xb67d424f in malloc () from /lib/libc.so.6
#14 0xb69641d9 in operator new () from /usr/lib/libstdc++.so.6
#15 0xb693f200 in std::string::_Rep::_S_create () from /usr/lib/libstdc++.so.6
#16 0xb693fe28 in std::string::_Rep::_M_clone () from /usr/lib/libstdc++.so.6
#17 0xb6940bea in std::string::reserve () from /usr/lib/libstdc++.so.6
#18 0xb6939e0d in std::basic_stringbuf<char, std::char_traits<char>, std::allocator<char> >::overflow () from /usr/lib/libstdc++.so.6
#19 0xb693e73d in std::basic_streambuf<char, std::char_traits<char> >::xsputn () from /usr/lib/libstdc++.so.6
#20 0xb6936e62 in std::__ostream_insert<char, std::char_traits<char> > () from /usr/lib/libstdc++.so.6
#21 0xb69370ec in std::operator<< <std::char_traits<char> > () from /usr/lib/libstdc++.so.6
#22 0xb316a516 in MSN::NotificationServerConnection::connect () from /usr/lib/libmsn.so.0.1
#23 0xb325f57a in WlmServer::WlmConnect () from /usr/lib/kde4/kopete_wlm.so
#24 0xb324ca31 in WlmAccount::connectWithPassword () from /usr/lib/kde4/kopete_wlm.so
#25 0xb7f7a8bb in Kopete::PasswordedAccount::qt_metacall () from /usr/lib/libkopete.so.4
#26 0xb32577da in WlmAccount::qt_metacall () from /usr/lib/kde4/kopete_wlm.so
#27 0xb747f9ac in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#28 0xb74805e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb7f77018 in KopetePasswordRequestBase::requestFinished () from /usr/lib/libkopete.so.4
#30 0xb7f7a52d in KopetePasswordGetRequestPrompt::processRequest () from /usr/lib/libkopete.so.4
#31 0xb7f78bb7 in KopetePasswordRequest::walletReceived () from /usr/lib/libkopete.so.4
#32 0xb7f770f7 in KopetePasswordRequestBase::qt_metacall () from /usr/lib/libkopete.so.4
#33 0xb747f9ac in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#34 0xb74805e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#35 0xb7f92203 in KopeteWalletSignal::walletOpened () from /usr/lib/libkopete.so.4
#36 0xb7f9223a in Kopete::WalletManager::emitWalletOpened () from /usr/lib/libkopete.so.4
#37 0xb7f92833 in Kopete::WalletManager::slotWalletChangedStatus () from /usr/lib/libkopete.so.4
#38 0xb7f937a3 in Kopete::WalletManager::qt_metacall () from /usr/lib/libkopete.so.4
#39 0xb747f9ac in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#40 0xb74805e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#41 0xb7a71ac9 in KWallet::Wallet::walletOpened () from /usr/lib/libkdeui.so.5
#42 0xb7a71dc5 in KWallet::Wallet::walletAsyncOpened () from /usr/lib/libkdeui.so.5
#43 0xb7a72cf8 in KWallet::Wallet::qt_metacall () from /usr/lib/libkdeui.so.5
#44 0xb747f9ac in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#45 0xb74805e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#46 0xb7b49729 in OrgKdeKWalletInterface::walletAsyncOpened () from /usr/lib/libkdeui.so.5
#47 0xb7b49f58 in OrgKdeKWalletInterface::qt_metacall () from /usr/lib/libkdeui.so.5
#48 0xb757d6c7 in ?? () from /usr/lib/libQtDBus.so.4
#49 0xb7584f87 in ?? () from /usr/lib/libQtDBus.so.4
#50 0xb7479d9e in QObject::event () from /usr/lib/libQtCore.so.4
#51 0xb6abc994 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#52 0xb6ac407c in QApplication::notify () from /usr/lib/libQtGui.so.4
#53 0xb79e2faa in KApplication::notify () from /usr/lib/libkdeui.so.5
#54 0xb7469fcb in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#55 0xb746abb2 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#56 0xb746ad7d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#57 0xb7494a9f in ?? () from /usr/lib/libQtCore.so.4
#58 0xb5da4d98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#59 0xb5da83e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#60 0xb5da8513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#61 0xb74946cc in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#62 0xb6b5a6c5 in ?? () from /usr/lib/libQtGui.so.4
#63 0xb7468579 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#64 0xb74689ca in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#65 0xb746ae3f in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#66 0xb6abc817 in QApplication::exec () from /usr/lib/libQtGui.so.4
#67 0x0805981c in _start ()

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

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-12 18:23:56 UTC
This could be a bug in libmsn.
- What is your version of that package? (if you use an updated Arch, it should be "4.0beta7" )
Thanks
Comment 2 Álvaro Villalba 2009-08-12 18:41:13 UTC
libmsn-4.0beta7-1
That's it.
Comment 3 Dario Andres 2009-08-13 00:52:39 UTC
Are you experiencing this crash every time ?
If you are, can you run "ldconfig" as root and see if this fixes it ?
Thanks
Comment 4 Álvaro Villalba 2009-08-13 01:38:35 UTC
Yes, I experience it every time, but ldconfig make no difference. It seems to be something about the configuration, because after doing:
  mv ~/.kde4/share/config/kopete* .
and configuring an msn account it works. But reconfiguring it all may take a lot of time...
Comment 5 Álvaro Villalba 2009-08-14 03:24:29 UTC
It's still crashing even removing all configuration in ~/.kde4/share/config/kopete* and ~/.kde4/share/apps/kopete/* . It just takes more time to crash than before. So it seems it's not a configuration problem.
Comment 6 Dario Andres 2009-08-14 23:01:46 UTC
*** Bug 203740 has been marked as a duplicate of this bug. ***
Comment 7 Dario Andres 2009-08-14 23:03:04 UTC
Can you check downgrading to libmsn beta6 ? It seems beta7 caused a lot of crashes...
Thanks
Comment 8 Pete Martin 2009-08-15 20:21:50 UTC
libmsn-4.0-beta6 seems to solve the problem for me
Comment 9 Álvaro Villalba 2009-08-16 14:17:13 UTC
I don't find an archlinux package to downgrade it anywhere, so it seems I'll wait.
Thank you.
Comment 10 Dario Andres 2009-08-16 16:42:07 UTC
@Álvaro Villalba: try using your pacman cache at /var/cache/pacman/pkg
Regards
Comment 11 Pete Martin 2009-08-16 16:56:09 UTC
(In reply to comment #9)
> I don't find an archlinux package to downgrade it anywhere, so it seems I'll
> wait.
> Thank you.
(In reply to comment #10)
> @Álvaro Villalba: try using your pacman cache at /var/cache/pacman/pkg
> Regards


If it's not in /var/cache/pacman/pkg this PKGBUILD will work:

# $Id: $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Charly Ghislain <charlyghislain@gmail.com>

pkgname=libmsn
pkgver=4.0beta6
_pkgver=4.0-beta6
pkgrel=1
pkgdesc="A reusable, open-source, fully documented library for connecting to Microsoft's MSN"
url="http://sourceforge.net/projects/libmsn/"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('openssl')
makedepends=('cmake')
source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$_pkgver.tar.bz2)
md5sums=('b2f9d8fc63921f4f66b91873f9f3f662')

build() {
  cd ${srcdir}/$pkgname-$_pkgver

  mkdir build
  cd build
  cmake -D CMAKE_INSTALL_PREFIX=/usr .. || return 1
  make DESTDIR=${pkgdir} install
}
Comment 12 Dario Andres 2009-08-19 20:12:05 UTC
*** Bug 204439 has been marked as a duplicate of this bug. ***
Comment 13 Álvaro Villalba 2009-08-23 16:51:11 UTC
Thanks for the PKGBUILD Pete! It works now.
Comment 14 Roman Jarosz 2009-12-29 16:52:33 UTC
We broke binary compatibility in libmsn, please recompile Kopete or tell distribution to provide new recompiled Kopete packages.