Bug 203424

Summary: Crashes instantly upon opening (malloc errors,new,QSslSocket,WlmSocket)
Product: [Unmaintained] kopete Reporter: Pascal <101pascal>
Component: WLM PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: crash CC: aaaantoine, alpha_one_x86, andresbajotierra, florian, jabberroid, luizromario, manc0ntr0, scarpino, siocnarf, tiagosh, vleon1
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    
Attachments: Core dump after logging out
Terminal output after log out crash
Segmentation fault that occurs when actually going online (with MSN)
Core Dump with kdemod-kdenetwork-kopete-debug installed

Description Pascal 2009-08-11 13:28: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:
Crashes instantly with no message upon opening.

Removing ~/.kde4/share/config/kopete* fixes this.

Distro: Arch Linux 32-bit (Rolling 12-08-2009)

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

Thread 2 (Thread 0xb3089b70 (LWP 3153)):
#0  0xb805d424 in __kernel_vsyscall ()
#1  0xb6829703 in __lll_lock_wait_private () from /lib/libc.so.6
#2  0xb67bf92f in _L_lock_7246 () from /lib/libc.so.6
#3  0xb67be176 in free () from /lib/libc.so.6
#4  0xb68061f0 in getaddrinfo () from /lib/libc.so.6
#5  0xb605b3ed in ?? () from /usr/lib/libQtNetwork.so.4
#6  0xb6050b6e in ?? () from /usr/lib/libQtNetwork.so.4
#7  0xb7365032 in ?? () from /usr/lib/libQtCore.so.4
#8  0xb66ec68c in start_thread () from /lib/libpthread.so.0
#9  0xb681be2e in clone () from /lib/libc.so.6

Thread 1 (Thread 0xb5737a50 (LWP 3152)):
[KCrash Handler]
#6  0xb805d424 in __kernel_vsyscall ()
#7  0xb6778461 in raise () from /lib/libc.so.6
#8  0xb6779c62 in abort () from /lib/libc.so.6
#9  0xb67b3add in __libc_message () from /lib/libc.so.6
#10 0xb67b99b1 in malloc_printerr () from /lib/libc.so.6
#11 0xb67bc58a in _int_malloc () from /lib/libc.so.6
#12 0xb67be24f in malloc () from /lib/libc.so.6
#13 0xb694e1d9 in operator new () from /usr/lib/libstdc++.so.6
#14 0xb6089439 in QSslSocket::QSslSocket () from /usr/lib/libQtNetwork.so.4
#15 0xb3789d4a in WlmSocket::WlmSocket () from /usr/lib/kde4/kopete_wlm.so
#16 0xb3787583 in Callbacks::connectToServer () from /usr/lib/kde4/kopete_wlm.so
#17 0xb369947b in MSN::NotificationServerConnection::connect () from /usr/lib/libmsn.so.0.1
#18 0xb378a57a in WlmServer::WlmConnect () from /usr/lib/kde4/kopete_wlm.so
#19 0xb3777a31 in WlmAccount::connectWithPassword () from /usr/lib/kde4/kopete_wlm.so
#20 0xb7f638bb in Kopete::PasswordedAccount::qt_metacall () from /usr/lib/libkopete.so.4
#21 0xb37827da in WlmAccount::qt_metacall () from /usr/lib/kde4/kopete_wlm.so
#22 0xb746998c in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb746a5c2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#24 0xb7f60018 in KopetePasswordRequestBase::requestFinished () from /usr/lib/libkopete.so.4
#25 0xb7f6352d in KopetePasswordGetRequestPrompt::processRequest () from /usr/lib/libkopete.so.4
#26 0xb7f61bb7 in KopetePasswordRequest::walletReceived () from /usr/lib/libkopete.so.4
#27 0xb7f600f7 in KopetePasswordRequestBase::qt_metacall () from /usr/lib/libkopete.so.4
#28 0xb746998c in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#29 0xb746a5c2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#30 0xb7f7b203 in KopeteWalletSignal::walletOpened () from /usr/lib/libkopete.so.4
#31 0xb7f7b23a in Kopete::WalletManager::emitWalletOpened () from /usr/lib/libkopete.so.4
#32 0xb7f7b833 in Kopete::WalletManager::slotWalletChangedStatus () from /usr/lib/libkopete.so.4
#33 0xb7f7c7a3 in Kopete::WalletManager::qt_metacall () from /usr/lib/libkopete.so.4
#34 0xb746998c in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#35 0xb746a5c2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#36 0xb7a5aac9 in KWallet::Wallet::walletOpened () from /usr/lib/libkdeui.so.5
#37 0xb7a5adc5 in KWallet::Wallet::walletAsyncOpened () from /usr/lib/libkdeui.so.5
#38 0xb7a5bcf8 in KWallet::Wallet::qt_metacall () from /usr/lib/libkdeui.so.5
#39 0xb746998c in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#40 0xb746a5c2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#41 0xb7b32729 in OrgKdeKWalletInterface::walletAsyncOpened () from /usr/lib/libkdeui.so.5
#42 0xb7b32f58 in OrgKdeKWalletInterface::qt_metacall () from /usr/lib/libkdeui.so.5
#43 0xb75666c7 in ?? () from /usr/lib/libQtDBus.so.4
#44 0xb756df87 in ?? () from /usr/lib/libQtDBus.so.4
#45 0xb7463d7e in QObject::event () from /usr/lib/libQtCore.so.4
#46 0xb6aa66c4 in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#47 0xb6aaddac in QApplication::notify () from /usr/lib/libQtGui.so.4
#48 0xb79cbfaa in KApplication::notify () from /usr/lib/libkdeui.so.5
#49 0xb7453fab in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#50 0xb7454b92 in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib/libQtCore.so.4
#51 0xb7454d5d in QCoreApplication::sendPostedEvents () from /usr/lib/libQtCore.so.4
#52 0xb747ea7f in ?? () from /usr/lib/libQtCore.so.4
#53 0xb5d8ed98 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#54 0xb5d923e0 in g_main_context_iterate () from /usr/lib/libglib-2.0.so.0
#55 0xb5d92513 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#56 0xb747e6ac in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#57 0xb6b44355 in ?? () from /usr/lib/libQtGui.so.4
#58 0xb7452559 in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#59 0xb74529aa in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#60 0xb7454e1f in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#61 0xb6aa6547 in QApplication::exec () from /usr/lib/libQtGui.so.4
#62 0x0805981c in _start ()

Reported using DrKonqi
Comment 1 Dario Andres 2009-08-12 17:33:57 UTC
*** Bug 203570 has been marked as a duplicate of this bug. ***
Comment 2 Dario Andres 2009-08-12 17:36:07 UTC
- Is this happening with every MSN account ? (in case you have different ones to check)
- Is anyone using KDemod packages?
Thanks
Comment 3 Anthony Scire 2009-08-12 18:06:57 UTC
No, only one of my two accounts.  It was created after the others.

I am using KDEmod, yes.
Comment 4 Anthony Scire 2009-08-12 18:11:37 UTC
Created attachment 36098 [details]
Core dump after logging out
Comment 5 Anthony Scire 2009-08-12 18:14:25 UTC
Created attachment 36099 [details]
Terminal output after log out crash
Comment 6 Anthony Scire 2009-08-12 18:16:52 UTC
I was able to get my "defective" MSN account to log in by itself, but not log out without crashing.  Attachments relating to this are above.
Comment 7 Dario Andres 2009-08-12 18:21:26 UTC
Anthony: the new backtrace seems to be a different crash. Please, report it in a separate report

As you are using Kdemod, please install the "kdelibs-debug" and "kdenetwork-debg" packages and try to get updated backtraces (which will be more complete).

Thanks
Comment 8 Pascal 2009-08-13 09:35:21 UTC
I can reliably replicate this using the following steps:

1. Delete all Kopete config out of ~/.kde4 ...
2. Add an MSN account and set status online
3. Add another MSN account and set status online again (using Status toolbar icon)
4. Crash (as above), and subsequent crashes when attempting to start or go online

I am NOT using KDEmod. Please let me know if / how I can provide more information to help you.
Comment 9 Pascal 2009-08-14 09:26:10 UTC
Created attachment 36140 [details]
Segmentation fault that occurs when actually going online (with MSN)
Comment 10 Dario Andres 2009-08-14 23:06:47 UTC
*** Bug 203807 has been marked as a duplicate of this bug. ***
Comment 11 Dario Andres 2009-08-14 23:07:29 UTC
*** Bug 203738 has been marked as a duplicate of this bug. ***
Comment 12 Dario Andres 2009-08-14 23:08:26 UTC
Can anyone check if downgrading libmsn to beta6 fixes all this crashes?
It seems using libmsn-beta7 is very crashy.
Regards
Comment 13 Florian Loitsch 2009-08-15 13:02:13 UTC
downgrade fixes problem for me. So this is related to libmsn beta7.
See also http://bugs.archlinux.org/task/15901
Comment 14 Anthony Scire 2009-08-15 18:55:01 UTC
I can confirm that I only began to have this problem after updating to libmsn beta7.

As a side note, I'm not fluent enough with Arch to downgrade again, so I'll live with beta7 (and one msn account) for now.
Comment 15 Anthony Scire 2009-08-15 19:11:14 UTC
Created attachment 36176 [details]
Core Dump with kdemod-kdenetwork-kopete-debug installed

Upon generation, the system warned that there were no debugging symbols found, so I'm not sure that this has all the information you're looking for.
Comment 16 Dario Andres 2009-08-16 17:49:56 UTC
*** Bug 203984 has been marked as a duplicate of this bug. ***
Comment 17 Dario Andres 2009-08-17 22:29:20 UTC
*** Bug 204202 has been marked as a duplicate of this bug. ***
Comment 18 Tiago Salem Herrmann 2009-09-15 22:16:50 UTC
I guess it will be necessary to recompile kopete, 
I added new functions to libmsn to enable the inbox feature (and voice clips), but it seems that it broke the binary compatibility. (I dont know exactly why, because I did not touch the API).
I just cant reproduce this crash here.
Can somebody recompile kopete with libmsn beta7 and check if it fixes the crash?

thanks
Comment 19 Dario Andres 2009-09-16 02:58:08 UTC
*** Bug 207521 has been marked as a duplicate of this bug. ***
Comment 20 Dario Andres 2009-09-16 04:21:36 UTC
*** Bug 207355 has been marked as a duplicate of this bug. ***
Comment 21 Romário Rios 2009-09-16 04:23:34 UTC
Latest Arch build of Kopete seems to solve the problem.
Comment 22 Roman Jarosz 2009-12-29 17:01:32 UTC
We broke binary compatibility in libmsn, please recompile Kopete or tell distribution to provide new recompiled Kopete packages.