Reproducible: Always Steps to Reproduce: 1. Run gaim 2. Login my msn account 3. Wait some minutes this bug appeared in gaim 1.5.0 and beta2.0.1, results below are under 2.0.0 beta 1 Actual gdb with USE="-debug" Results: .... (16:41:14) msn: S: NS 000: ILN 9 NLN flow3rrain@hotmail.com flow3r%20--
Reproducible: Always Steps to Reproduce: 1. Run gaim 2. Login my msn account 3. Wait some minutes this bug appeared in gaim 1.5.0 and beta2.0.1, results below are under 2.0.0 beta 1 Actual gdb with USE="-debug" Results: .... (16:41:14) msn: S: NS 000: ILN 9 NLN flow3rrain@hotmail.com flow3r%20--»¹ÓÐ5Ì죬»»Ä꣡£¡£¡ 1073795116 %3Cmsnobj%20Creator%3D%22flow3rrain%40hotmail.com%22%20Size%3D%2224131%22%20Type%3D%223%22%20Location%3D%22TFR31.dat%22%20Friendly%3D%22AAA%3D%22%20SHA1D%3D%22anoM6Dd7RNzuCStCECPBWaguGgE%3D%22%20SHA1C%3D%22jKs62hFMRS%2BpPJou%2FG887EgtKM4%3D%22%2F%3E (16:41:14) blist: Updating buddy status for flow3rrain@hotmail.com (MSN) (16:41:14) msn: S: NS 000: ILN 9 NLN zcheng0821@hotmail.com (co)davids_tenny(st)(li)(ip)(#) ÓÐË¿ÉÒÔÔÚÔªµ©ÆÚ¼äÖ§Ô®ÎÒÒ»¸öµçÄÔÊÖ±ú°¡£¿(R);) 1342492716 %3Cmsnobj%20Creator%3D%22zcheng0821%40hotmail.com%22%20Size%3D%2223141%22%20Type%3D%223%22%20Location%3D%22TFR125.dat%22%20Friendly%3D%22AAA%3D%22%20SHA1D%3D%228GEAwpio6K9BZmdsd6ypO3sCpwk%3D%22%20SHA1C%3D%22OqxmG5CkAel1zAN%2B%2BxbOeitWGB8%3D%22%2F%3E (16:41:14) blist: Updating buddy status for zcheng0821@hotmail.com (MSN) (16:41:19) util: Writing file blist.xml to directory /home/tanxin/.gaim (16:41:44) msn: C: NS 000: PNG (16:41:44) msn: S: NS 000: QNG 41 dns[21394]: nobody needs me... =( (16:42:13) msn: S: NS 000: CHL 0 67501058463608834134 (16:42:13) msn: C: NS 000: QRY 11 PROD0038W!61ZTF9 32 (16:42:13) msn: S: NS 000: QRY 11 (16:42:14) msn: C: NS 000: PNG (16:42:14) msn: S: NS 000: QNG 45 (16:42:44) msn: C: NS 000: PNG (16:42:44) msn: S: NS 000: QNG 49 (16:42:58) util: Writing file prefs.xml to directory /home/tanxin/.gaim (16:43:08) proxy: Connected. (16:43:08) proxy: getsockopt SO_ERROR check: Connection timed out (16:43:08) proxy: Connecting to loginnet.passport.com:443 with no proxy (16:43:08) proxy: Connect would have blocked. (16:43:08) proxy: Connected. (16:43:08) gnutls: Handshaking (16:43:09) gnutls: Handshake complete Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1219331648 (LWP 21373)] gaim_account_get_username (account=0x28) at account.c:1620 1620 return account->username; (gdb) bt full #0 gaim_account_get_username (account=0x28) at account.c:1620 __PRETTY_FUNCTION__ = "gaim_account_get_username" #1 0xb746f174 in login_connect_cb (data=0x83747d0, gsc=0x8383990, cond=GAIM_INPUT_READ) at nexus.c:128 session = (MsnSession *) 0x83749f0 request_str = 0xb72ec014 "Handshaking\n" buffer = 0x0 ctint = 137682928 s = 40 __PRETTY_FUNCTION__ = "login_connect_cb" #2 0xb72ebd3c in ssl_gnutls_connect_cb (data=0x8383990, source=-1221672992, cond=40) at ssl-gnutls.c:122 gnutls_data = (GaimSslGnutlsData *) 0x834dff0 cert_type_priority = {1, 0} ret = 137841136 #3 0x08093b98 in no_one_calls (data=0x83752e8, source=16, cond=GAIM_INPUT_WRITE) at proxy.c:957 len = 4 error = 0 ret = 40 #4 0x080dbddc in gaim_gtk_io_invoke (source=0x28, condition=137841136, data=0x8370c40) at gtkeventloop.c:74 gaim_cond = GAIM_INPUT_WRITE #5 0xb77dbe85 in g_vasprintf () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #6 0x08451318 in ?? () No symbol table info available. #7 0x00000004 in ?? () No symbol table info available. #8 0x08370c40 in ?? () No symbol table info available. #9 0x00000000 in ?? () No symbol table info available. my emerge info: Portage 2.0.53 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, 2.6.14-gentoo-r5-office-051216 i686) ================================================================= System uname: 2.6.14-gentoo-r5-office-051216 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz Gentoo Base System version 1.6.13 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.20 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium4 -O2 -pipe -fomit-frame-pointer" 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="-march=pentium4 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.sjtu.edu.cn/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" 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 a52 aac aalib acpi alsa arts audiofile avi bash-completion bitmap-fonts bmp bzip2 cjk crypt curl directfb dvd eds encode esd ethereal evo exif expat faad fam fbcon ffmpeg firefox flac foomaticdb fortran ftp gdbm gif glut gnome gpm gstreamer gtk gtk2 hal howl iconv icq idn imlib jabber java jpeg lcms libcaca libg++ libwww lm_sensors mad matroska mbox mikmod mmx mmxext mng motif mp3 mpeg msn ncurses nls nptl ogg oggvorbis opengl oss pam pcre pdflib perl png posix python quicktime readline samba sdl sox spell sse sse2 ssl tcpd theora threads tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vcd vorbis win32codecs xml2 xv xvid zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
Is the gdb output the same with 1.5.0? Much as I'd love to fix 2.0.0 it is beta and going to be known to have some problems.. If possible could you please get me the output from gdb on 1.5.0 and I'll see what I can do from there :)
of coz, there is gdb infomation of 1.5.0 below: dns[22495]: nobody needs me... =( msn: C: NS 000: PNG msn: S: NS 000: QNG 46 proxy: Connected. proxy: getsockopt SO_ERROR check: Connection timed out proxy: Connecting to loginnet.passport.com:443 with no proxy proxy: Connect would have blocked. proxy: Connected. proxy: getsockopt SO_ERROR check: Connection timed out proxy: Connecting to loginnet.passport.com:443 with no proxy proxy: Connect would have blocked. proxy: Connected. gnutls: Handshaking gnutls: Handshake complete Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1218156864 (LWP 22478)] msn_session_set_login_step (session=0x1, step=MSN_LOGIN_STEP_GET_COOKIE) at session.c:385 385 if (session->login_step > step) (gdb) bt full #0 msn_session_set_login_step (session=0x1, step=MSN_LOGIN_STEP_GET_COOKIE) at session.c:385 gc = (GaimConnection *) 0xb7778820 #1 0xb748e03c in login_connect_cb (data=0x8232298, gsc=0x8359c68, cond=GAIM_INPUT_READ) at nexus.c:126 session = (MsnSession *) 0x1 request_str = 0xb7455001 "Handshaking\n" buffer = 0x0 ctint = 2 s = 1 __PRETTY_FUNCTION__ = "login_connect_cb" #2 0xb7454d2c in ssl_gnutls_connect_cb (data=0x8359c68, source=-1220194352, cond=GAIM_INPUT_READ) at ssl-gnutls.c:122 gnutls_data = (GaimSslGnutlsData *) 0x8355700 cert_type_priority = {1, 0} ret = 0 #3 0x08087309 in no_one_calls (data=0x8358da8, source=20, cond=GAIM_INPUT_WRITE) at proxy.c:815 len = 4 error = 0 ret = 1 #4 0x080c9d54 in gaim_gtk_io_invoke (source=0x1, condition=G_IO_IN, data=0x847dd08) at gtkeventloop.c:74 ---Type <return> to continue, or q <return> to quit--- gaim_cond = GAIM_INPUT_WRITE #5 0xb78e7e85 in g_vasprintf () from /usr/lib/libglib-2.0.so.0 No symbol table info available. #6 0x08466b38 in ?? () No symbol table info available. #7 0x00000004 in ?? () No symbol table info available. #8 0x0847dd08 in ?? () No symbol table info available. #9 0x00000000 in ?? () No symbol table info available.
At these period of time, when I use gaim-1.5.0 to login msn, if it logs in right after gaim started, gaim will work ok. But mostly it should be stopped at "Getting Cookie...", If I stop signing and re-loging, even successfully login, gaim will crash minutes later and have no messages. I wonder that maybe the fault of version1.5.0, and then I upgrade to version2.0.0beta 1, but the problem still the same. This problem occurs for more than 10 days. Before this, Gaim works ok. The problem occurs both in my legtop (gcc-3.4.4 installed) and desktop (gcc-3.3.6 installed). Bellow are the gdb output in my legtop: (gdb) bt full #0 0xb787b463 in msn_session_set_login_step () from /usr/lib/gaim/libmsn.so No symbol table info available. #1 0xb787592c in msn_nexus_destroy () from /usr/lib/gaim/libmsn.so No symbol table info available. #2 0xb73b1167 in ?? () from /usr/lib/gaim/ssl-nss.so No symbol table info available. #3 0x0841edd8 in ?? () No symbol table info available. #4 0x0841f150 in ?? () No symbol table info available. #5 0x00000001 in ?? () No symbol table info available. #6 0x49b82564 in in6addr_any () from /lib/libc.so.6 No symbol table info available. #7 0x00000000 in ?? () No symbol table info available. (gdb) quit
Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1218111040 (LWP 27876)] msn_session_set_login_step (session=0x1, step=MSN_LOGIN_STEP_GET_COOKIE) at session.c:370 370 if (session->login_step > step) (gdb) print session->login_step Cannot access memory at address 0xd (gdb) is the session out of memory?
in nexus.c line 120 ------------------------------------ 120 nexus = data; 121 g_return_if_fail(nexus != NULL); 122 123 session = nexus->session; 124 g_return_if_fail(session != NULL); ----------------------------------- session object work until line 122, but after line 123, session will make segment fault
it seems msn protocol changes, now everything is ok