Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 83259 - Gaim crashes when using the MSN protocol. It seems to happen shortly after closing a conversation window
Summary: Gaim crashes when using the MSN protocol. It seems to happen shortly after cl...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-24 21:17 UTC by Dion Sole
Modified: 2005-03-24 18:47 UTC (History)
1 user (show)

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


Attachments
Backtrace of gaim crash (backtrace,1.81 KB, text/plain)
2005-02-24 21:19 UTC, Dion Sole
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dion Sole 2005-02-24 21:17:50 UTC
Gaim gets an out-of-bounds error on occasions when using the MSN protocol. It never occurs when a conversation window is open, and as far as I can tell, it occurs most frequently about one minute after closing a conversation window.
I looked into it with gdb, and have found that the crash occurs during the gaim_find_prpl() function of prpl.c at line 45. gaim_find_prpl() gets passed an argument of type GaimAccount->protocol_id, which is returned by the gaim_account_get_protocol_id() function. This function returns an outofbounds memory address as the protocol id. 
Interestingly, this is called from a function that sends the message "The conversation has become inactive and has timed out" to the conversation window. But this window is no longer open, so that may have something to do with it. 
My gdb knowledge is rather lacking, this is the first time Ive used it :P, so I cant find much more yet. Please tell me what other info you might need, as I still have the core file sitting around.

emerge info follows:
Portage 2.0.51-r15 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r0, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 19 2005, 12:57:21)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.7.9-r1, 1.8.5-r3, 1.5, 1.4_p6, 1.6.3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r4
sys-devel/libtool:   1.5.10-r5
virtual/os-headers:  2.6.8.1-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=athlon-xp -pipe -g -ftracer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=athlon-xp -pipe -g -ftracer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig distlocks nostrip sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="ftp://planetmirror.com/pub/gentoo ftp://mirror.pacific.net.au/linux/Gentoo      http://mirror.pacific.net.au/linux/Gentoo http://planetmirror.com/pub/gentoo"
LANG="en_NZ.utf8"
LC_ALL="en_NZ.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X Xaw3d a52 aac acl acpi alsa apache2 audiofile avi bash-completion bcmath berkdb bidi bitmap-fonts bmp bzlib caps cdparanoia cjk cpdflib crypt ctype cups curl curlwrappers dba debug dedicated dga dio directfb divx4linux doc emacs encode examples exif f77 fastcgi fbcon ffmpeg fftw flac foomaticdb fortran freetds freewnn ftp gcj gd gdbm ggi gif ginac glut gmp gnutls gpm gstreamer gtk gtk2 gtkhtml guile hal iconv imagemagick imap imlib innodb java javascript jikes jpeg junit kerberos krb4 lcms ldap leim lesstif libg++ libwww lm_sensors mad mailwrapper matroska matrox mbox mikmod milter mime mmap mmx mng mono motif mp3 mpeg mpi msn mule mysql nas ncurses nls nocd nptl odbc offensive ogg oggvorbis openal opengl pam pcntl pcre pdflib perl php pic png posix postgres ppds python quicktime readline ruby samba sasl sdl shared sharedmem simplexml slp sndfile snmp soap sockets socks5 speex spell spl sse ssl svg svga sysvipc tcltk tcpd tetex threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode usb vcd vhosts videos wxwindows xml xml2 xmlrpc xosd xpm xprint xsl xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LDFLAGS, PORTDIR_OVERLAY

Also follows is the backtrace from the coredump as an attachment


Reproducible: Sometimes
Steps to Reproduce:
1. emerge gaim
2. login to the msn network
3. upon closing a conversation window, gaim gets an outofbounds error on occasions

Actual Results:  
Gaim dies

Expected Results:  
Gaim shouldnt die
Comment 1 Dion Sole 2005-02-24 21:19:51 UTC
Created attachment 52093 [details]
Backtrace of gaim crash
Comment 2 Rajiv Aaron Manglani (RETIRED) gentoo-dev 2005-02-24 21:25:20 UTC
please specify exact version of gaim and any/all gaim plug ins.
Comment 3 Dion Sole 2005-02-24 21:31:42 UTC
Gaim version: gaim-1.1.3-r1
Gaim plugins: Auto-reconnect, and Gaim-encryption.
Comment 4 Dion Sole 2005-02-25 02:03:26 UTC
Ive just noticed gaim-1.1.4 is out. Ill use that, and post here if the same error occurs with that version too.
Comment 5 Dion Sole 2005-03-24 18:47:04 UTC
I havn't noticed this at all with latter Gaim versions, so I think this could be safely marked Fixed