Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 97379 - kopete 0.10.2 (kdenetwork 3.4.1) segfaults on connect to msn
Summary: kopete 0.10.2 (kdenetwork 3.4.1) segfaults on connect to msn
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] KDE (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo KDE team
URL:
Whiteboard:
Keywords:
: 98705 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-06-29 04:19 UTC by Heiko Helmle
Modified: 2005-07-11 13:22 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Heiko Helmle 2005-06-29 04:19:46 UTC
on connecting to msn, kopete first shows the password dialog and then    
segfaults shortly after clicking okay. One peculiarity about the setup is,  
that msn connects through an authenticating proxy (company policy)...  
I built kdenetwork and kdelibs with debugging and nostrip and was able to 
produce a traceback and some logs:    
 
libkopete: [void KopetePasswordRequest::begin()]   
libkopete: [void Kopete::WalletManager::openWalletInner()]  about to open   
wallet async   
libkopete: [void Kopete::WalletManager::slotWalletChangedStatus()]  isOpen:   
true   
libkopete: [virtual void   
KopetePasswordRequest::walletReceived(KWallet::Wallet*)]   
libkopete: [void KopetePasswordGetRequestPrompt::doPasswordDialog(const   
QString&)]   
libkopete: [void Kopete::Account::slotOnlineStatusChanged(Kopete::Contact*,   
const Kopete::OnlineStatus&, const Kopete::OnlineStatus&)] account hel@head.de   
changed status. was Offline, is Connecting   
kopete (msn - raw protocol): [virtual void MSNSocket::slotReadyWrite()]   
Sending command: VER 0 MSNP9   
kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] VER 0 MSNP9   
kopete (msn - raw protocol): [virtual void MSNSocket::slotReadyWrite()]   
Sending command: CVR 1 0x0409 winnt 5.1 i386 MSNMSGR 6.2.0205 MSMSGS   
hel@head.de   
kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] CVR 1   
7.0.0813 7.0.0813 6.2.0205   
http://msgr.dlservice.microsoft.com/download/5/d/9/5d9bb5b2-49c7-4890-94ab-d1d5e44a0e6d/Install_MSN_Messenger.exe   
http://messenger.msn.com   
kopete (msn - raw protocol): [virtual void MSNSocket::slotReadyWrite()]   
Sending command: USR 2 TWN I hel@head.de   
kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] XFR 2 NS   
207.46.0.53:1863 0 65.54.239.210:1863   
kopete (msn): [void MSNSocket::slotSocketClosed()] Socket closed.   
kopete (msn): [virtual MSNNotifySocket::~MSNNotifySocket()]   
kopete (msn - raw protocol): [virtual void MSNSocket::slotReadyWrite()]   
Sending command: VER 0 MSNP9   
kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] VER 0 MSNP9   
kopete (msn - raw protocol): [virtual void MSNSocket::slotReadyWrite()]   
Sending command: CVR 1 0x0409 winnt 5.1 i386 MSNMSGR 6.2.0205 MSMSGS   
hel@head.de   
kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] CVR 1   
7.0.0813 7.0.0813 6.2.0205   
http://msgr.dlservice.microsoft.com/download/5/d/9/5d9bb5b2-49c7-4890-94ab-d1d5e44a0e6d/Install_MSN_Messenger.exe   
http://messenger.msn.com   
kopete (msn - raw protocol): [virtual void MSNSocket::slotReadyWrite()]   
Sending command: USR 2 TWN I hel@head.de   
kopete (msn - raw protocol): [void MSNSocket::slotDataReceived()] USR 2 TWN S   
lc=1033,id=507,tw=40,fs=1,ru=http%3A%2F%2Fmessenger%2Emsn%2Ecom,ct=1120043060,kpp=1,kv=6,ver=2.1.6000.1,rn=yZhgpfzO,tpf=d0e6e042d39dbb9ccaea0bc8cb0f2fa7   
kdecore (KLibLoader): Loading the next library global with flag 257.   
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7:   
undefined symbol: PKCS7_content_free   
kdecore (KLibLoader): Loading the next library global with flag 257.   
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7:   
undefined symbol: OpenSSL_add_all_algorithms   
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7:   
undefined symbol: OpenSSL_add_all_algorithms_conf   
kdecore (KLibLoader): WARNING: KLibrary: /usr/lib/libcrypto.so.0.9.7:   
undefined symbol: OpenSSL_add_all_algorithms_noconf   
kssl: KSSL initialize   
kssl: Cipher list:   
RC4-MD5:RC4-SHA:IDEA-CBC-SHA:DES-CBC3-SHA:RC2-CBC-MD5:DES-CBC3-MD5:IDEA-CBC-MD5:DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:DH-RSA-AES256-SHA:DH-DSS-AES256-SHA:AES256-SHA:EDH-RSA-DES-CBC3-SHA:EDH-DSS-DES-CBC3-SHA:DH-RSA-DES-CBC3-SHA:DH-DSS-DES-CBC3-SHA:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:DH-RSA-AES128-SHA:DH-DSS-AES128-SHA:AES128-SHA:DHE-DSS-RC4-SHA:RC4-64-MD5:DES-CBC-MD5:EXP1024-DHE-DSS-RC4-SHA:EXP1024-RC4-SHA:EXP1024-DHE-DSS-DES-CBC-SHA:EXP1024-DES-CBC-SHA:EXP1024-RC2-CBC-MD5:EXP1024-RC4-MD5:EDH-RSA-DES-CBC-SHA:EDH-DSS-DES-CBC-SHA:DH-RSA-DES-CBC-SHA:DH-DSS-DES-CBC-SHA:DES-CBC-SHA   
kssl: KSSL initialize   
kssl: Cipher list:   
RC4-MD5:RC4-SHA:IDEA-CBC-SHA:DES-CBC3-SHA:RC2-CBC-MD5:DES-CBC3-MD5:IDEA-CBC-MD5:DHE-RSA-AES256-SHA:DHE-DSS-AES256-SHA:DH-RSA-AES256-SHA:DH-DSS-AES256-SHA:AES256-SHA:EDH-RSA-DES-CBC3-SHA:EDH-DSS-DES-CBC3-SHA:DH-RSA-DES-CBC3-SHA:DH-DSS-DES-CBC3-SHA:DHE-RSA-AES128-SHA:DHE-DSS-AES128-SHA:DH-RSA-AES128-SHA:DH-DSS-AES128-SHA:AES128-SHA:DHE-DSS-RC4-SHA:RC4-64-MD5:DES-CBC-MD5:EXP1024-DHE-DSS-RC4-SHA:EXP1024-RC4-SHA:EXP1024-DHE-DSS-DES-CBC-SHA:EXP1024-DES-CBC-SHA:EXP1024-RC2-CBC-MD5:EXP1024-RC4-MD5:EDH-RSA-DES-CBC-SHA:EDH-DSS-DES-CBC-SHA:DH-RSA-DES-CBC-SHA:DH-DSS-DES-CBC-SHA:DES-CBC-SHA   
kopete: SslLoginHandler : WARNING - Received error 111 from the socket.   
kopete: SslLoginHandler::sendHttpRequest - WARNING - Connection failed, giving   
-1   
KCrash: crashing... crashRecursionCounter = 2   
   
   
And here's the traceback:   
Using host libthread_db library "/lib/libthread_db.so.1".   
`system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols.   
[Thread debugging using libthread_db enabled]   
[New Thread -1228416832 (LWP 390)]   
[KCrash handler]   
#4  SSL_read (s=0x0, buf=0xb56794c0, num=-1251502912) at ssl_lib.c:835   
#5  0xb751c059 in KOpenSSLProxy::SSL_read (this=0x83a3008, ssl=0x0, buf=0x0,    
    num=0) at kopenssl.cc:636   
#6  0xb7508c49 in KSSL::read (this=0x836dd40, buf=0xbfffd930, len=1024)   
    at kssl.cc:485   
#7  0xb6983b4b in SslLoginHandler::readSslData (this=0x837a1e8)   
    at sslloginhandler.cpp:303   
#8  0xb6982ede in SslLoginHandler::dataReceived (this=0x837a1e8)   
    at sslloginhandler.cpp:112   
#9  0xb6983064 in SslLoginHandler::login (this=0x837a1e8, parameters=)   
    at sslloginhandler.cpp:158   
#10 0xb6964699 in MSNNotifySocket::parseCommand (this=0x83b7030, cmd=@0x2,    
    id=2, data=@0xbfffe3f0) at msnnotifysocket.cpp:280   
#11 0xb6958c99 in MSNSocket::parseLine (this=0x83b7030, str=@0xbfffe470)   
    at msnsocket.cpp:332   
#12 0xb6958778 in MSNSocket::slotReadLine (this=0x83b7030) at   
msnsocket.cpp:260   
#13 0xb6958202 in MSNSocket::slotDataReceived (this=0x83b7030)   
    at msnsocket.cpp:221   
#14 0xb695ac31 in MSNSocket::qt_invoke (this=0x83b7030, _id=9, _o=0xbfffe7c0)   
    at msnsocket.moc:220   
#15 0xb696af23 in MSNNotifySocket::qt_invoke (this=0x83b7030, _id=9,    
    _o=0xbfffe7c0) at msnnotifysocket.moc:394   
#16 0x4243392c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3   
#17 0x42433754 in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3   
#18 0xb7064143 in KNetwork::KClientSocketBase::readyRead (this=0x0)   
    at kclientsocketbase.moc:192   
#19 0xb70638a8 in KNetwork::KClientSocketBase::slotReadActivity (   
    this=0xb56794c0) at kclientsocketbase.cpp:416   
#20 0xb706ac88 in KNetwork::KBufferedSocket::slotReadActivity (this=0x83a9208)   
    at kbufferedsocket.cpp:342   
#21 0xb706b172 in KNetwork::KBufferedSocket::qt_invoke (this=0x83a9208, _id=8,    
    _o=0x0) at kbufferedsocket.moc:97   
#22 0x4243392c in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3   
#23 0x42433a8d in QObject::activate_signal () from /usr/qt/3/lib/libqt-mt.so.3   
#24 0x42776e22 in QSocketNotifier::activated ()   
   from /usr/qt/3/lib/libqt-mt.so.3   
#25 0x42450220 in QSocketNotifier::event () from /usr/qt/3/lib/libqt-mt.so.3   
#26 0x423d6eef in QApplication::internalNotify ()   
   from /usr/qt/3/lib/libqt-mt.so.3   
#27 0x423d6225 in QApplication::notify () from /usr/qt/3/lib/libqt-mt.so.3   
#28 0xb6f30c7c in KApplication::notify (this=0xbfffef90, receiver=0x83b7f70,    
    event=0xbfffed10) at kapplication.cpp:549   
#29 0x423c663a in QEventLoop::activateSocketNotifiers ()   
   from /usr/qt/3/lib/libqt-mt.so.3   
#30 0x4238025d in QEventLoop::processEvents ()   
from /usr/qt/3/lib/libqt-mt.so.3   
#31 0x423e9398 in QEventLoop::enterLoop () from /usr/qt/3/lib/libqt-mt.so.3   
#32 0x423e9248 in QEventLoop::exec () from /usr/qt/3/lib/libqt-mt.so.3   
#33 0x423d7141 in QApplication::exec () from /usr/qt/3/lib/libqt-mt.so.3   
#34 0x080735d7 in main (argc=0, argv=0x0) at main.cpp:99   
   

Reproducible: Always
Steps to Reproduce:
1. launch kopete 
2. connect msn account 
3. enter password 
 
Actual Results:  
segfault 

Expected Results:  
no segfault  

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.3.5-20050130, 
glibc-2.3.4.20041102-r1, 2.6.11-gentoo-r11-skas3-v8 i686) 
================================================================= 
System uname: 2.6.11-gentoo-r11-skas3-v8 i686 Intel(R) Pentium(R) M processor 
1400MHz 
Gentoo Base System version 1.6.12 
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Jun  9 2005, 08:37:24)] 
ccache version 2.3 [disabled] 
dev-lang/python:     2.3.5 
sys-apps/sandbox:    [Not Present] 
sys-devel/autoconf:  2.13, 2.59-r6 
sys-devel/automake:  1.5, 1.9.5, 1.6.3, 1.7.9-r1, 1.4_p6, 1.8.5-r3 
sys-devel/binutils:  2.15.92.0.2-r10 
sys-devel/libtool:   1.5.16 
virtual/os-headers:  2.6.8.1-r2 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O2 -march=pentium3 -pipe" 
CHOST="i686-pc-linux-gnu" 
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" 
CXXFLAGS="-O2 -march=pentium3 -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="autoaddcvs autoconfig distlocks fixpackages sandbox sfperms strict" 
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ 
http://www.gigaload.org/gentoo.org/ http://gentoo.inode.at/ 
ftp://gentoo.inode.at/source/" 
LANG="de_DE" 
LINGUAS="de" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="/usr/local/portage" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 X Xaw3d aac aalib acpi adns alsa arts artswrappersuid avi 
bash-completion berkdb bitmap-fonts cdparanoia cdr crypt cups curl dvd emboss 
fam foomaticdb gd gdbm gif glut gtk gtk2 hal imagemagick imlib innodb jpeg 
jpeg2k kde kdeenablefinal libg++ libwww mad mikmod mmx mmxext motif mozsvg mp3 
mpeg mysql nagios-dns nagios-ntp nagios-ping nagios-ssh ncurses nls nologin 
nosrc nptl nptlonly nvidia offensive ogg oggvorbis opengl pam pcmcia pda 
pdflib pic png qt quicktime rdesktop readline real rtc samba savedconfig sdl 
slang snmp spell sse sse2 ssl subversion svg tcpd tidy tiff toolbar truetype 
truetype-fonts type1-fonts vorbis wifi wmf xinerama xml2 xscreensaver xv xvid 
zlib linguas_de userland_GNU kernel_linux elibc_glibc" 
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS
Comment 1 Gregorio Guidi (RETIRED) gentoo-dev 2005-07-09 10:23:24 UTC
You can follow this bug here: 
https://bugs.kde.org/show_bug.cgi?id=106495 
Comment 2 Gregorio Guidi (RETIRED) gentoo-dev 2005-07-11 13:22:34 UTC
*** Bug 98705 has been marked as a duplicate of this bug. ***