Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45864 - gaim 0.75-r11 crashes randomly when receiving IMs from specific users
Summary: gaim 0.75-r11 crashes randomly when receiving IMs from specific users
Status: RESOLVED DUPLICATE of bug 45192
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-26 23:24 UTC by Joe
Modified: 2005-07-17 13:06 UTC (History)
0 users

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 Joe 2004-03-26 23:24:11 UTC
Several times, when receiving IMs from a specific user, gaim crashes with no error.  Running gaim via 'gaim -d' produces the standard "gaim has segfaulted, etc" message, however it does not appear to create a coredump as expected.

It has happened several times from this particular user, and he has even copied logs of it, showing IMs that I never received (are not logged in ~/.gaim/logs/ either).

[04:12] RemoteUserSN: <message> 
[04:12] *** MySN signed off at Wed Mar 24 04:12:32 2004. 
[04:20] *** MySN signed on at Wed Mar 24 04:20:23 2004. 
[19:55] RemoteUserSN: <message>
[19:55] *** MySN signed off at Wed Mar 24 19:55:10 2004. 
[23:22] RemoteUserSN: <message>
[23:22] *** MySN signed off at Wed Mar 24 23:22:25 2004. 
[23:34] RemoteUserSN: lol, every time I message you on here, you automatically sign off 
[23:34] *** MySN signed off at Wed Mar 24 23:34:05 2004.

It seems to be random, because I am having a conversation with him at this moment, and it is working fine.  However, I have noticed several times in the past few days that gaim simply disappears, and since I normally run it from a menu item, I don't see any error messages.

I have since recompiled gaim, and even upgraded to the -r11 release (originally began in r10), since I had just installed gnome 2.6, to see if a recompile would fix the problem. It didn't, and still crashes at random times, when receiving an IM.

Reproducible: Sometimes
Steps to Reproduce:
1. Remote user sends IM to me

Actual Results:  
Sometimes gaim crashes immediately, before showing the IM, and before logging
the message;  other times, the conversation goes on without a problem.  Seems to
be somewhat random.

Expected Results:  
Display the IM window, and append the message to the appropriate log file(s).

It may be worth noting that 1) the user has a custom buddy icon, and I have not
yet asked him to remove the icon for testing;  and 2) The problem didn't seem to
start until after I had installed gnome 2.6(rc2).

$ emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.3, glibc-2.3.3_pre20040207-r0,
2.4.20-gentoo-r7)
=================================================================
System uname: 2.4.20-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 2.53GHz
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -mcpu=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /usr/X11R6/bin/startx /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -mcpu=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.noved.org/ ftp://gentoo.noved.org/
http://mirror.tucdemonic.org/gentoo/
ftp://cudlug.cudenver.edu/pub/mirrors/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage/var/tmp"
PORTDIR="/home/portage"
PORTDIR_OVERLAY="/usr/local/bmg-gnome-current"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apache2 apm arts avi berkdb bonobo cdr crypt cups dga directfb
dvd encode esd fbcon flash foomaticdb freetype gd gdbm gif gnome gphoto2 gpm gtk
gtk2 gtkhtml guile imlib ipv6 java jpeg kde libg++ libwww mad mikmod mod_php
mod_ssl motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pcntl pda
pdflib perl php png postgres python qt qtmt quicktime readline scanner sdl slang
sockets spell ssl svga tcltk tcpd tiff truetype usbzlib wmv x86 xml xml2 xmms xv
zlib"
Comment 1 Don Seiler (RETIRED) gentoo-dev 2004-03-27 08:52:30 UTC
Please obtain a backtrace of the crash, first make sure you have extra debugging turned on when you compile gaim.

USE="debug" emerge gaim

Backtrace instructions here:

http://gaim.sourceforge.net/gdb.php
Comment 2 Joe 2004-03-27 13:14:49 UTC
backtrace copied below.  This time, while I was waiting for it to segfault, I kept trying to get him to IM me, to see if it would crash.  When I went to open an IM window with him to get his attention again, it crashed, which is what makes me think it is a buddy icon problem.  Though if that's the case, I can't understand why it works sometimes and not others.

(gdb) run
Starting program: /usr/bin/gaim
 
Program received signal SIGSEGV, Segmentation fault.
0x4105d860 in ?? ()
(gdb) bt
#0  0x4105d860 in ?? ()
#1  0x41146909 in std::string::assign(char const*, unsigned) ()
   from /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.2/libstdc++.so.5
#2  0x411bd91c in acommon::Config::get_default(acommon::ParmString) const ()
   from /usr/lib/libaspell.so.15
#3  0x411bc727 in acommon::Config::retrieve(acommon::ParmString) const ()
   from /usr/lib/libaspell.so.15
#4  0x411b0326 in acommon::find_word_list(acommon::Config*) ()
   from /usr/lib/libaspell.so.15
#5  0x411b241c in acommon::new_speller(acommon::Config*) () from /usr/lib/libaspell.so.15
#6  0x411ad73c in new_aspell_speller () from /usr/lib/libaspell.so.15
#7  0x40f34f36 in init_enchant_provider () from /usr/lib/enchant/libenchant_aspell.so
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-03-27 18:40:31 UTC
Just a hunch, do you by any chance use gnome and recenctly upgraded to glib/gtk+ 2.4?
Comment 4 Joe 2004-03-27 19:15:58 UTC
Yes, actually ... "since I had just installed gnome 2.6, to see if a recompile would fix the problem."  It only seemed to start after installing gnome 2.6, which was also when I updated gtk+, glibc, gcc, et al.  Would that be an incompatibility issue, something that needs to be fixed, or something that I screwed up with? :o
Comment 5 Don Seiler (RETIRED) gentoo-dev 2004-03-28 10:15:16 UTC
This is an upstream bug.

*** This bug has been marked as a duplicate of 45192 ***