Bug 177469

Summary: Crash on MSN login
Product: [Unmaintained] kopete Reporter: Bruno Virlet <bvirlet>
Component: WLM PluginAssignee: Kopete Developers <kopete-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: admin, cade.robinson, echidnaman, tiagosh
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: libmsn-nonickname-oim.patch

Description Bruno Virlet 2008-12-11 07:20:58 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Hey,

For some time now (maybe two weeks) I can't use Kopete anymore. It crashes at startup.

Here is GDB and Valgrind output. I hope this helps:

(gdb) bt
#0  0x00007f8bf922e801 in std::string::compare () from /usr/lib64/libstdc++.so.6
#1  0x00007f8beace4e88 in MSN::NotificationServerConnection::gotMailData () from /usr/lib64/libmsn.so.0.1
#2  0x00007f8beace5778 in MSN::NotificationServerConnection::message_initialmdatanotification () from /usr/lib64/libmsn.so.0.1
#3  0x00007f8beacdfa08 in MSN::NotificationServerConnection::handle_MSG () from /usr/lib64/libmsn.so.0.1
#4  0x00007f8beace3a67 in MSN::NotificationServerConnection::handleIncomingData () from /usr/lib64/libmsn.so.0.1
#5  0x00007f8beaccd608 in MSN::Connection::dataArrivedOnSocket () from /usr/lib64/libmsn.so.0.1
#6  0x00007f8beaf77a4d in ?? () from /usr/lib64/kde4/kopete_wlm.so
#7  0x00007f8bfa578284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#8  0x00007f8bfb7d05b2 in QSslSocket::qt_metacall () from /usr/lib64/libQtNetwork.so.4
#9  0x00007f8beaf77a1d in ?? () from /usr/lib64/kde4/kopete_wlm.so
#10 0x00007f8bfa578284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#11 0x00007f8bfb7b712f in ?? () from /usr/lib64/libQtNetwork.so.4
#12 0x00007f8bfb7a7f41 in ?? () from /usr/lib64/libQtNetwork.so.4
#13 0x00007f8bf962d17d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#14 0x00007f8bf9634f2a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#15 0x00007f8bfb10506b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#16 0x00007f8bfa563e81 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#17 0x00007f8bfa58c629 in ?? () from /usr/lib64/libQtCore.so.4
#18 0x00007f8bf5c3f93a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#19 0x00007f8bf5c43040 in ?? () from /usr/lib64/libglib-2.0.so.0
#20 0x00007f8bf5c431dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#21 0x00007f8bfa58c3af in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#22 0x00007f8bf96bdccf in ?? () from /usr/lib64/libQtGui.so.4
#23 0x00007f8bfa562782 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#24 0x00007f8bfa56290d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#25 0x00007f8bfa564dfd in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#26 0x00000000004482cc in _start ()











==6845== Invalid read of size 8
==6845==    at 0xB02D801: std::string::compare(char const*) const (in /usr/lib64/libstdc++.so.6.0.10)
==6845==    by 0x1B507E87: MSN::NotificationServerConnection::gotMailData(std::string) (in /usr/lib64/libmsn.so.0.1.0)
==6845==    by 0x1B508777: MSN::NotificationServerConnection::message_initialmdatanotification(std::vector<std::string, std::allocator<std::string> >&, std::string, std::string) (in /usr/lib64/libmsn.so.0.1.0)
==6845==    by 0x1B502A07: MSN::NotificationServerConnection::handle_MSG(std::vector<std::string, std::allocator<std::string> >&) (in /usr/lib64/libmsn.so.0.1.0)
==6845==    by 0x1B506A66: MSN::NotificationServerConnection::handleIncomingData() (in /usr/lib64/libmsn.so.0.1.0)
==6845==    by 0x1B4F0607: MSN::Connection::dataArrivedOnSocket() (in /usr/lib64/libmsn.so.0.1.0)
==6845==    by 0x1B2B6A4C: (within /usr/lib64/kde4/kopete_wlm.so)
==6845==    by 0x9D30283: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib64/libQtCore.so.4.4.3)
==6845==    by 0x8A965B1: QSslSocket::qt_metacall(QMetaObject::Call, int, void**) (in /usr/lib64/libQtNetwork.so.4.4.3)
==6845==    by 0x1B2B6A1C: (within /usr/lib64/kde4/kopete_wlm.so)
==6845==    by 0x9D30283: QMetaObject::activate(QObject*, int, int, void**) (in /usr/lib64/libQtCore.so.4.4.3)
==6845==    by 0x8A7D12E: (within /usr/lib64/libQtNetwork.so.4.4.3)
==6845==  Address 0xfffffffff79abb00 is not stack'd, malloc'd or (recently) free'd
KCrash: Application 'kopete' crashing...
sock_file=/home/bruno/.kde4/socket-sennacherib/kdeinit4__0
==6845==
==6845== ERROR SUMMARY: 12327 errors from 578 contexts (suppressed: 1698 from 5)
==6845== malloc/free: in use at exit: 22,815,871 bytes in 228,026 blocks.
==6845== malloc/free: 5,217,546 allocs, 4,989,520 frees, 604,672,838 bytes allocated.
==6845== For counts of detected errors, rerun with: -v
==6845== searching for pointers to 228,026 not-freed blocks.
==6845== checked 57,022,880 bytes.
==6845==
==6845== LEAK SUMMARY:
==6845==    definitely lost: 34,874 bytes in 689 blocks.
==6845==      possibly lost: 369,611 bytes in 9,227 blocks.
==6845==    still reachable: 22,411,386 bytes in 218,110 blocks.
==6845==         suppressed: 0 bytes in 0 blocks.
==6845== Rerun with --leak-check=full to see details of leaked memory.
Comment 1 Tiago Salem Herrmann 2008-12-11 15:47:53 UTC
Hi,

could you please try the latest libmsn from svn? (rev 78)
If this crash still happens, compile libmsn with -DCMAKE_CXX_FLAGS=-DDEBUG and then paste here the last lines before the crash (probably a xml string).

thanks.
Comment 2 Bruno Virlet 2008-12-11 17:13:57 UTC
#0  0x00007fcd8e8b4801 in std::string::compare () from /usr/lib64/libstdc++.so.6
#1  0x00007fcd8036ae88 in MSN::NotificationServerConnection::gotMailData (this=0x14931d0, maildata=<value optimized out>)
    at /usr/include/c++/4.3/bits/basic_string.h:2189
#2  0x00007fcd8036b778 in MSN::NotificationServerConnection::message_initialmdatanotification (this=0x14931d0, args=<value optimized out>,
    mime=<value optimized out>, body=<value optimized out>) at /usr/src/debug/libmsn-4.0-beta1/msn/notificationserver.cpp:488
#3  0x00007fcd80365a08 in MSN::NotificationServerConnection::handle_MSG (this=0x14931d0, args=@0x7fff9ce93090)
    at /usr/src/debug/libmsn-4.0-beta1/msn/notificationserver.cpp:395
#4  0x00007fcd80369a67 in MSN::NotificationServerConnection::handleIncomingData (this=0x14931d0)
    at /usr/src/debug/libmsn-4.0-beta1/msn/notificationserver.cpp:1261
#5  0x00007fcd80353608 in MSN::Connection::dataArrivedOnSocket (this=0x14931d0) at /usr/src/debug/libmsn-4.0-beta1/msn/connection.cpp:224
#6  0x00007fcd805fda4d in ?? () from /usr/lib64/kde4/kopete_wlm.so
#7  0x00007fcd8fbfe284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#8  0x00007fcd90e565b2 in QSslSocket::qt_metacall () from /usr/lib64/libQtNetwork.so.4
#9  0x00007fcd805fda1d in ?? () from /usr/lib64/kde4/kopete_wlm.so
#10 0x00007fcd8fbfe284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#11 0x00007fcd90e3d12f in ?? () from /usr/lib64/libQtNetwork.so.4
#12 0x00007fcd90e2df41 in ?? () from /usr/lib64/libQtNetwork.so.4
#13 0x00007fcd8ecb317d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#14 0x00007fcd8ecbaf2a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#15 0x00007fcd9078b06b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#16 0x00007fcd8fbe9e81 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#17 0x00007fcd8fc12629 in ?? () from /usr/lib64/libQtCore.so.4
#18 0x00007fcd8b2c593a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#19 0x00007fcd8b2c9040 in ?? () from /usr/lib64/libglib-2.0.so.0
#20 0x00007fcd8b2c91dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#21 0x00007fcd8fc123af in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#22 0x00007fcd8ed43ccf in ?? () from /usr/lib64/libQtGui.so.4
#23 0x00007fcd8fbe8782 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#24 0x00007fcd8fbe890d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#25 0x00007fcd8fbeadfd in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
#26 0x00000000004482cc in _start ()
Comment 3 Tiago Salem Herrmann 2008-12-11 17:57:47 UTC
Created attachment 29244 [details]
libmsn-nonickname-oim.patch
Comment 4 Tiago Salem Herrmann 2008-12-11 18:00:20 UTC
please, try the attached patch.
thanks
Comment 5 Bruno Virlet 2008-12-11 18:04:41 UTC
(gdb) bt
#0  0x00007f68a75115c5 in raise () from /lib64/libc.so.6
#1  0x00007f68a7512bb3 in abort () from /lib64/libc.so.6
#2  0x00007f68a7554b20 in ?? () from /lib64/libc.so.6   
#3  0x00007f68a7556508 in ?? () from /lib64/libc.so.6   
#4  0x00007f68a75567ad in ?? () from /lib64/libc.so.6   
#5  0x00007f68a8fd7fbc in QString::free () from /usr/lib64/libQtCore.so.4
#6  0x00007f6899a88609 in ?? () from /usr/lib64/kde4/kopete_wlm.so       
#7  0x00007f68ad03520a in Kopete::PasswordedAccount::qt_metacall () from /usr/lib64/libkopete.so.4
#8  0x00007f6899a8e835 in ?? () from /usr/lib64/kde4/kopete_wlm.so                                
#9  0x00007f68a9094284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4                 
#10 0x00007f68ad033049 in ?? () from /usr/lib64/libkopete.so.4                                    
#11 0x00007f68ad034ba6 in ?? () from /usr/lib64/libkopete.so.4                                    
#12 0x00007f68ad033131 in ?? () from /usr/lib64/libkopete.so.4                                    
#13 0x00007f68a9094284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4                 
#14 0x00007f68ad04afcf in ?? () from /usr/lib64/libkopete.so.4                                    
#15 0x00007f68ad04affe in Kopete::WalletManager::emitWalletOpened () from /usr/lib64/libkopete.so.4
#16 0x00007f68ad04b21f in Kopete::WalletManager::slotWalletChangedStatus () from /usr/lib64/libkopete.so.4
#17 0x00007f68ad04b578 in Kopete::WalletManager::qt_metacall () from /usr/lib64/libkopete.so.4            
#18 0x00007f68a9094284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4                         
#19 0x00007f68a9c9bf52 in KWallet::Wallet::walletOpened () from /usr/lib64/libkdeui.so.5                  
#20 0x00007f68a9c9cd24 in KWallet::Wallet::qt_metacall () from /usr/lib64/libkdeui.so.5                   
#21 0x00007f68a9094284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4                         
#22 0x00007f68a9d5616f in ?? () from /usr/lib64/libkdeui.so.5                                             
#23 0x00007f68a9d576a1 in ?? () from /usr/lib64/libkdeui.so.5                                             
#24 0x00007f68a938a4a1 in ?? () from /usr/lib64/libQtDBus.so.4                                            
#25 0x00007f68a93915ef in ?? () from /usr/lib64/libQtDBus.so.4                                            
#26 0x00007f68a908ef4d in QObject::event () from /usr/lib64/libQtCore.so.4                                
#27 0x00007f68a814917d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4             
#28 0x00007f68a8150f2a in QApplication::notify () from /usr/lib64/libQtGui.so.4                           
#29 0x00007f68a9c2106b in KApplication::notify () from /usr/lib64/libkdeui.so.5                           
#30 0x00007f68a907fe81 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4              
#31 0x00007f68a9080b3a in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/libQtCore.so.4     
#32 0x00007f68a90a8723 in ?? () from /usr/lib64/libQtCore.so.4                                            
---Type <return> to continue, or q <return> to quit---q                                                   
Quit                                                                                                      
(gdb) y                                                                                                   
Undefined command: "y".  Try "help".                                                                      
(gdb) q
The program is running.  Exit anyway? (y or n) y
bruno@sennacherib:~/Install/libmsn/trunk/build> gdb kopete
GNU gdb 6.8                                               
Copyright (C) 2008 Free Software Foundation, Inc.         
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.           
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"   
and "show warranty" for details.                                             
This GDB was configured as "x86_64-suse-linux"...                            
(no debugging symbols found)                                                 
(gdb) run --nofork                                                           
Starting program: /usr/bin/kopete --nofork                                   
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
---Type <return> to continue, or q <return> to quit---                       
(no debugging symbols found)                                                 
[Thread debugging using libthread_db enabled]                                
(no debugging symbols found)                                                 
(no debugging symbols found)                                                 
[New Thread 0x7f6f4d5e2700 (LWP 11456)]                                      
Calling appendChild() on a null node does nothing.                           
Calling appendChild() on a null node does nothing.                           
Calling appendChild() on a null node does nothing.                           
kopete(11456)/libkopete Kopete::PluginManager::loadPluginInternal: Unable to find a plugin named ' "kopete_msn" '! 
kopete(11456)/libkopete Kopete::PluginManager::loadPluginInternal: Unable to find a plugin named ' "" '!           
Calling appendChild() on a null node does nothing.                                                                 
Calling appendChild() on a null node does nothing.                                                                 
Object::connect: No such signal Client::chatRoomConnected(WORD,QString)                                            
Object::connect:  (sender name:   'oscarclient')                                                                   
kopete(11456)/libkopete Kopete::Account::registerContact: Contact already exists!!! accountId:  AIMAccount(0xe2c950)  contactId:  "alrxo143"                                                                                                                          
[New Thread 0x41610950 (LWP 11465)]                                                                                                
[New Thread 0x420d5950 (LWP 11466)]                                                                                                
VER 1 MSNP15 CVR0                                                                                                                  

VER 1 MSNP15

CVR 2 0x0409 winnt 5.1 i386 MSG80BETA 8.1.0178.00 MSMSGS bvirlet@hotmail.com


Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7f6f4d5e2700 (LWP 11456)]
0x00007f6f4680e5c5 in raise () from /lib64/libc.so.6
(gdb) bt                                            
#0  0x00007f6f4680e5c5 in raise () from /lib64/libc.so.6
#1  0x00007f6f4680fbb3 in abort () from /lib64/libc.so.6
#2  0x00007f6f46851b20 in ?? () from /lib64/libc.so.6   
#3  0x00007f6f46853508 in ?? () from /lib64/libc.so.6   
#4  0x00007f6f468537ad in ?? () from /lib64/libc.so.6   
#5  0x00007f6f48393fa8 in ?? () from /usr/lib64/libQtCore.so.4
#6  0x00007f6f48393495 in QObject::~QObject () from /usr/lib64/libQtCore.so.4
#7  0x00007f6f376feab7 in ClientStream::~ClientStream () from /usr/lib64/liboscar.so.1
#8  0x00007f6f3770fefd in Connection::~Connection () from /usr/lib64/liboscar.so.1    
#9  0x00007f6f4838bf6d in QObject::event () from /usr/lib64/libQtCore.so.4            
#10 0x00007f6f4744617d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#11 0x00007f6f4744df2a in QApplication::notify () from /usr/lib64/libQtGui.so.4              
#12 0x00007f6f48f1e06b in KApplication::notify () from /usr/lib64/libkdeui.so.5              
#13 0x00007f6f4837ce81 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4 
#14 0x00007f6f4837db3a in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/libQtCore.so.4
#15 0x00007f6f483a5723 in ?? () from /usr/lib64/libQtCore.so.4                                       
#16 0x00007f6f43a5893a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0                
#17 0x00007f6f43a5c040 in ?? () from /usr/lib64/libglib-2.0.so.0                                     
#18 0x00007f6f43a5c1dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0               
#19 0x00007f6f483a53af in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4      
#20 0x00007f6f474d6ccf in ?? () from /usr/lib64/libQtGui.so.4                                        
#21 0x00007f6f4837b782 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4                
#22 0x00007f6f4837b90d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4                         
#23 0x00007f6f4785fbc5 in QDialog::exec () from /usr/lib64/libQtGui.so.4                             
#24 0x00007f6f48eaa072 in KMessageBox::createKMessageBox () from /usr/lib64/libkdeui.so.5            
#25 0x00007f6f48eab237 in KMessageBox::createKMessageBox () from /usr/lib64/libkdeui.so.5            
#26 0x00007f6f48eac09c in KMessageBox::errorListWId () from /usr/lib64/libkdeui.so.5                 
#27 0x00007f6f48eac268 in KMessageBox::error () from /usr/lib64/libkdeui.so.5                        
#28 0x00007f6f3874f525 in ?? () from /usr/lib64/kde4/kopete_jabber.so                                
#29 0x00007f6f387502ad in ?? () from /usr/lib64/kde4/kopete_jabber.so                                
#30 0x00007f6f38750553 in ?? () from /usr/lib64/kde4/kopete_jabber.so                                
#31 0x00007f6f48391284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4                    
#32 0x00007f6f38783511 in JabberClient::csError () from /usr/lib64/kde4/kopete_jabber.so             
---Type <return> to continue, or q <return> to quit---                                               
#33 0x00007f6f38784424 in JabberClient::slotCSError () from /usr/lib64/kde4/kopete_jabber.so         
#34 0x00007f6f387858e3 in JabberClient::qt_metacall () from /usr/lib64/kde4/kopete_jabber.so         
#35 0x00007f6f48391284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4                    
#36 0x00007f6f380d2da1 in XMPP::Stream::error () from /usr/lib64/libiris_kopete.so.1                 
#37 0x00007f6f380d572d in XMPP::ClientStream::qt_metacall () from /usr/lib64/libiris_kopete.so.1     
#38 0x00007f6f48391284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4                    
#39 0x00007f6f38786b10 in JabberConnector::qt_metacall () from /usr/lib64/kde4/kopete_jabber.so      
#40 0x00007f6f48391284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4                    
#41 0x00007f6f380d1e51 in ByteStream::error () from /usr/lib64/libiris_kopete.so.1
#42 0x00007f6f38786fd6 in JabberByteStream::qt_metacall () from /usr/lib64/kde4/kopete_jabber.so
#43 0x00007f6f48391284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#44 0x00007f6f495cc651 in QAbstractSocket::error () from /usr/lib64/libQtNetwork.so.4
#45 0x00007f6f495e6494 in ?? () from /usr/lib64/libQtNetwork.so.4
#46 0x00007f6f495e95d0 in QSslSocket::qt_metacall () from /usr/lib64/libQtNetwork.so.4
#47 0x00007f6f48391284 in QMetaObject::activate () from /usr/lib64/libQtCore.so.4
#48 0x00007f6f495cc651 in QAbstractSocket::error () from /usr/lib64/libQtNetwork.so.4
#49 0x00007f6f495ced24 in ?? () from /usr/lib64/libQtNetwork.so.4
#50 0x00007f6f495d100e in QAbstractSocket::qt_metacall () from /usr/lib64/libQtNetwork.so.4
#51 0x00007f6f4838bf4d in QObject::event () from /usr/lib64/libQtCore.so.4
#52 0x00007f6f4744617d in QApplicationPrivate::notify_helper () from /usr/lib64/libQtGui.so.4
#53 0x00007f6f4744df2a in QApplication::notify () from /usr/lib64/libQtGui.so.4
#54 0x00007f6f48f1e06b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#55 0x00007f6f4837ce81 in QCoreApplication::notifyInternal () from /usr/lib64/libQtCore.so.4
#56 0x00007f6f4837db3a in QCoreApplicationPrivate::sendPostedEvents () from /usr/lib64/libQtCore.so.4
#57 0x00007f6f483a5723 in ?? () from /usr/lib64/libQtCore.so.4
#58 0x00007f6f43a5893a in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#59 0x00007f6f43a5c040 in ?? () from /usr/lib64/libglib-2.0.so.0
#60 0x00007f6f43a5c1dc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#61 0x00007f6f483a53af in QEventDispatcherGlib::processEvents () from /usr/lib64/libQtCore.so.4
#62 0x00007f6f474d6ccf in ?? () from /usr/lib64/libQtGui.so.4
#63 0x00007f6f4837b782 in QEventLoop::processEvents () from /usr/lib64/libQtCore.so.4
#64 0x00007f6f4837b90d in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#65 0x00007f6f4837ddfd in QCoreApplication::exec () from /usr/lib64/libQtCore.so.4
---Type <return> to continue, or q <return> to quit---
#66 0x00000000004482cc in _start ()
Comment 6 Tiago Salem Herrmann 2008-12-16 23:15:18 UTC
I believe the last crash is not related to the patch. It seems to be related to the jabber plugin. (see the backtrace)
Please try disabling the jabber protocol.
thanks
Comment 7 James 2009-01-08 18:06:13 UTC
I have just upgraded to test KDE 4.2 Beta 2. Now when I try and use the WLM plugin to connect to msn messenger or "live messenger" whatever they have changed the name to. Kopete crashes. Here is my crash

Application: Kopete (kopete), signal SIGSEGV
[Current thread is 0 (LWP 12814)]

Thread 3 (Thread 0xb2bb9b90 (LWP 13120)):
#0  0xb7fa0430 in __kernel_vsyscall ()
#1  0xb5d51075 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb60009ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
#3  0xb6b3b6f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
#4  0xb73e6532 in ?? () from /usr/lib/libQtNetwork.so.4
#5  0xb6b3a6ae in ?? () from /usr/lib/libQtCore.so.4
#6  0xb5d4d50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#7  0xb5ff27ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 2 (Thread 0xb21c5b90 (LWP 13121)):
#0  0xb5b7054a in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
#1  0xb6c570ab in ?? () from /usr/lib/libQtCore.so.4
#2  0xb6c57281 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb6c58e3c in ?? () from /usr/lib/libQtCore.so.4
#4  0xb6c5565a in ?? () from /usr/lib/libQtCore.so.4
#5  0xb5af1602 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
#6  0xb5af1a8a in ?? () from /usr/lib/libglib-2.0.so.0
#7  0xb5af1f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#8  0xb6c55497 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#9  0xb6c2952a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#10 0xb6c296ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#11 0xb2fe4e59 in QCA::SyncThread::run () from /usr/lib/libqca.so.2
#12 0xb6b3a6ae in ?? () from /usr/lib/libQtCore.so.4
#13 0xb5d4d50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#14 0xb5ff27ee in clone () from /lib/tls/i686/cmov/libc.so.6

Thread 1 (Thread 0xb57596c0 (LWP 12814)):
[KCrash Handler]
#6  0xb613a9a5 in std::string::compare () from /usr/lib/libstdc++.so.6
#7  0xb186703d in MSN::NotificationServerConnection::gotMailData () from /usr/lib/libmsn.so.0.1
#8  0xb186792f in MSN::NotificationServerConnection::message_initialmdatanotification () from /usr/lib/libmsn.so.0.1
#9  0xb1862bba in MSN::NotificationServerConnection::handle_MSG () from /usr/lib/libmsn.so.0.1
#10 0xb1860d7f in MSN::NotificationServerConnection::dispatchCommand () from /usr/lib/libmsn.so.0.1
#11 0xb186093a in MSN::NotificationServerConnection::handleIncomingData () from /usr/lib/libmsn.so.0.1
#12 0xb184e279 in MSN::Connection::dataArrivedOnSocket () from /usr/lib/libmsn.so.0.1
#13 0xb191a481 in ?? () from /usr/lib/kde4/kopete_wlm.so
#14 0xb191a5d5 in ?? () from /usr/lib/kde4/kopete_wlm.so
#15 0xb6c3fa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#16 0xb6c407e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#17 0xb6c78847 in QIODevice::readyRead () from /usr/lib/libQtCore.so.4
#18 0xb74164e7 in ?? () from /usr/lib/libQtNetwork.so.4
#19 0xb741ae9e in QSslSocket::qt_metacall () from /usr/lib/libQtNetwork.so.4
#20 0xb191a5aa in ?? () from /usr/lib/kde4/kopete_wlm.so
#21 0xb6c3fa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#22 0xb6c407e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#23 0xb6c78847 in QIODevice::readyRead () from /usr/lib/libQtCore.so.4
#24 0xb73ffa72 in ?? () from /usr/lib/libQtNetwork.so.4
#25 0xb73eeceb in ?? () from /usr/lib/libQtNetwork.so.4
#26 0xb73f0056 in ?? () from /usr/lib/libQtNetwork.so.4
#27 0xb62ce8ec in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#28 0xb62d672e in QApplication::notify () from /usr/lib/libQtGui.so.4
#29 0xb717bd3d in KApplication::notify () from /usr/lib/libkdeui.so.5
#30 0xb6c2ae61 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#31 0xb6c5570a in ?? () from /usr/lib/libQtCore.so.4
#32 0xb5aee6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#33 0xb5af1da3 in ?? () from /usr/lib/libglib-2.0.so.0
#34 0xb5af1f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#35 0xb6c55478 in QEventDispatcherGlib::processEvents () from /usr/lib/libQtCore.so.4
#36 0xb6368ea5 in ?? () from /usr/lib/libQtGui.so.4
#37 0xb6c2952a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#38 0xb6c296ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#39 0xb6c2bda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#40 0xb62ce767 in QApplication::exec () from /usr/lib/libQtGui.so.4
#41 0x0808b9af in _start ()

Comment 8 Tiago Salem Herrmann 2009-01-08 18:11:44 UTC
which libmsn version are you using?
try beta2 if you are using beta1.

(In reply to comment #7)
> I have just upgraded to test KDE 4.2 Beta 2. Now when I try and use the WLM
> plugin to connect to msn messenger or "live messenger" whatever they have
> changed the name to. Kopete crashes. Here is my crash
> 
> Application: Kopete (kopete), signal SIGSEGV
> [Current thread is 0 (LWP 12814)]
> 
> Thread 3 (Thread 0xb2bb9b90 (LWP 13120)):
> #0  0xb7fa0430 in __kernel_vsyscall ()
> #1  0xb5d51075 in pthread_cond_wait@@GLIBC_2.3.2 () from
> /lib/tls/i686/cmov/libpthread.so.0
> #2  0xb60009ed in pthread_cond_wait () from /lib/tls/i686/cmov/libc.so.6
> #3  0xb6b3b6f2 in QWaitCondition::wait () from /usr/lib/libQtCore.so.4
> #4  0xb73e6532 in ?? () from /usr/lib/libQtNetwork.so.4
> #5  0xb6b3a6ae in ?? () from /usr/lib/libQtCore.so.4
> #6  0xb5d4d50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
> #7  0xb5ff27ee in clone () from /lib/tls/i686/cmov/libc.so.6
> 
> Thread 2 (Thread 0xb21c5b90 (LWP 13121)):
> #0  0xb5b7054a in clock_gettime () from /lib/tls/i686/cmov/librt.so.1
> #1  0xb6c570ab in ?? () from /usr/lib/libQtCore.so.4
> #2  0xb6c57281 in ?? () from /usr/lib/libQtCore.so.4
> #3  0xb6c58e3c in ?? () from /usr/lib/libQtCore.so.4
> #4  0xb6c5565a in ?? () from /usr/lib/libQtCore.so.4
> #5  0xb5af1602 in g_main_context_prepare () from /usr/lib/libglib-2.0.so.0
> #6  0xb5af1a8a in ?? () from /usr/lib/libglib-2.0.so.0
> #7  0xb5af1f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
> #8  0xb6c55497 in QEventDispatcherGlib::processEvents () from
> /usr/lib/libQtCore.so.4
> #9  0xb6c2952a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
> #10 0xb6c296ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
> #11 0xb2fe4e59 in QCA::SyncThread::run () from /usr/lib/libqca.so.2
> #12 0xb6b3a6ae in ?? () from /usr/lib/libQtCore.so.4
> #13 0xb5d4d50f in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
> #14 0xb5ff27ee in clone () from /lib/tls/i686/cmov/libc.so.6
> 
> Thread 1 (Thread 0xb57596c0 (LWP 12814)):
> [KCrash Handler]
> #6  0xb613a9a5 in std::string::compare () from /usr/lib/libstdc++.so.6
> #7  0xb186703d in MSN::NotificationServerConnection::gotMailData () from
> /usr/lib/libmsn.so.0.1
> #8  0xb186792f in
> MSN::NotificationServerConnection::message_initialmdatanotification () from
> /usr/lib/libmsn.so.0.1
> #9  0xb1862bba in MSN::NotificationServerConnection::handle_MSG () from
> /usr/lib/libmsn.so.0.1
> #10 0xb1860d7f in MSN::NotificationServerConnection::dispatchCommand () from
> /usr/lib/libmsn.so.0.1
> #11 0xb186093a in MSN::NotificationServerConnection::handleIncomingData () from
> /usr/lib/libmsn.so.0.1
> #12 0xb184e279 in MSN::Connection::dataArrivedOnSocket () from
> /usr/lib/libmsn.so.0.1
> #13 0xb191a481 in ?? () from /usr/lib/kde4/kopete_wlm.so
> #14 0xb191a5d5 in ?? () from /usr/lib/kde4/kopete_wlm.so
> #15 0xb6c3fa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
> #16 0xb6c407e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
> #17 0xb6c78847 in QIODevice::readyRead () from /usr/lib/libQtCore.so.4
> #18 0xb74164e7 in ?? () from /usr/lib/libQtNetwork.so.4
> #19 0xb741ae9e in QSslSocket::qt_metacall () from /usr/lib/libQtNetwork.so.4
> #20 0xb191a5aa in ?? () from /usr/lib/kde4/kopete_wlm.so
> #21 0xb6c3fa60 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
> #22 0xb6c407e2 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
> #23 0xb6c78847 in QIODevice::readyRead () from /usr/lib/libQtCore.so.4
> #24 0xb73ffa72 in ?? () from /usr/lib/libQtNetwork.so.4
> #25 0xb73eeceb in ?? () from /usr/lib/libQtNetwork.so.4
> #26 0xb73f0056 in ?? () from /usr/lib/libQtNetwork.so.4
> #27 0xb62ce8ec in QApplicationPrivate::notify_helper () from
> /usr/lib/libQtGui.so.4
> #28 0xb62d672e in QApplication::notify () from /usr/lib/libQtGui.so.4
> #29 0xb717bd3d in KApplication::notify () from /usr/lib/libkdeui.so.5
> #30 0xb6c2ae61 in QCoreApplication::notifyInternal () from
> /usr/lib/libQtCore.so.4
> #31 0xb6c5570a in ?? () from /usr/lib/libQtCore.so.4
> #32 0xb5aee6f8 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
> #33 0xb5af1da3 in ?? () from /usr/lib/libglib-2.0.so.0
> #34 0xb5af1f61 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
> #35 0xb6c55478 in QEventDispatcherGlib::processEvents () from
> /usr/lib/libQtCore.so.4
> #36 0xb6368ea5 in ?? () from /usr/lib/libQtGui.so.4
> #37 0xb6c2952a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
> #38 0xb6c296ea in QEventLoop::exec () from /usr/lib/libQtCore.so.4
> #39 0xb6c2bda5 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
> #40 0xb62ce767 in QApplication::exec () from /usr/lib/libQtGui.so.4
> #41 0x0808b9af in _start ()
> 

Comment 9 James 2009-01-12 16:46:38 UTC
Hi,

I am using KDE 4.2 Beta 2 and I still get crashes when I attempt to connect using the WLM plugin.

Regards,

James
Comment 10 Cade Robinson 2009-01-21 17:50:01 UTC
I have libmsn0.1 4.0~beta3-0r1 debian package and I don't crash.  I just don't connect.  Using Pidgin works fine.
Comment 11 Tiago Salem Herrmann 2009-01-29 15:48:10 UTC
Please, try libmsn 4.0 beta4 and check if that crash still happens.
thanks
Comment 12 Tiago Salem Herrmann 2009-02-06 13:54:59 UTC
ping
Comment 13 James 2009-02-06 14:27:11 UTC
Hi,

I am not longer getting any crashes now that I have upgraded to the latest libmsn and I am using KDE 4.2.0 .

Regards,

James
Comment 14 Jonathan Thomas 2009-04-18 02:32:18 UTC
Looking at the backtrace, this does look like an issue with libmsn. Since upgrading fixed it, it's probably safe to assume that this was a libmsn bug.