Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 87348

Summary: Gaim crashes when attempting to IM someone
Product: Gentoo Linux Reporter: Rich <RCEBrain>
Component: Current packagesAssignee: Gaim Bugs Crew <gaim-bugs>
Status: RESOLVED UPSTREAM    
Severity: normal CC: greg.mcmullen, gregory.fowler, spider
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://gaim.sourceforge.net
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Output of gaim -d 2>&1 > gaim.log.2
Output of gdb gaim 2>&1 > gaim.log.gdb, followed by typing "backtrace" when it hung
gaim -d output

Description Rich 2005-03-30 15:55:05 UTC
I was using gaim 1.1.4, quite stably, when it informed me 1.2.0 was out.

One ~x86 in package.keywords, and I emerged 1.2.0-r2. Start it, log into AIM/ICQ, IM someone, and it crashes. Repeated attempts show that it also occurs when someone attempts to IM me. Gaim shows:

$ gaim
Gaim has segfaulted and attempted to dump a core file.
This is a bug in the software and has happened through
no fault of your own.

It is possible that this bug is already fixed in CVS.
If you can reproduce the crash, please notify the gaim
maintainers by reporting a bug at
http://gaim.sourceforge.net/bug.php

Please make sure to specify what you were doing at the time,
and post the backtrace from the core file. If you do not know
how to get the backtrace, please get instructions at
http://gaim.sourceforge.net/gdb.php. If you need further
assistance, please IM either RobFlynn or SeanEgn and
they can help you.
Aborted

I tried building from source [emerge -C gaim;tar xjvf gaim-1.2.0.tar.bz2;./configure;make;make install], it does the same thing.

I tried re-emerging gaim 1.1.4, but this, too, displays the same behavior.

Is this a bug on my end, or is it a bug in gaim?

emerge info:
Portage 2.0.51.19 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r1, 2.6.11 i686)
=================================================================
System uname: 2.6.11 i686 AMD Athlon(tm) XP 1600+
Gentoo Base System version 1.4.16
Python:              dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 13 2005, 03:02:04)]
distcc 2.16 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.2.3-r5, 2.3.4-r1
sys-devel/autoconf:  2.57-r1, 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-r1
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.6.8.1-r1, 2.6.8.1-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -m3dnow -mmmx -msse -O3 -pipe -frename-registers -fforce-addr -falign-functions=64 -fprefetch-loop-arrays -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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -m3dnow -mmmx -msse -O3 -pipe -frename-registers -fforce-addr -falign-functions=64 -fprefetch-loop-arrays -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo ftp://212.219.56.146/sites/www.ibiblio.org/gentoo/ ftp://mirrors.tds.net/gentoo"
LANG="en_US"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac aalib alsa apache2 apm audiofile avi berkdb bitmap-fonts cddb cdparanoia cdr crypt cups curl directfb dvd dvdr dvdread emboss encode esd fam fbcon ffmpeg flac font-server foomaticdb fortran freetds freetype gdbm gif gnome gpm graphvis gtk gtk2 guile imagemagick imap imlib ipv6 java jikes joystick jpeg jpeg2k junit kde ldap libcaca libg++ libwww mad maildir matroska md5sum mikmod mmx mng motif mozilla mp3 mpeg mpeg4 mssql mysql ncurses network nls nptl ogg oggvorbis opengl oss pam pam-mysql pda pdflib perl php pic png portaudio python qt quicktime readline real rtc ruby samba sasl scanner sdl slang snmp spell sse ssl stream svg svga tcltk tcpd theora tiff truetype truetype-fonts type1-fonts usb utf8 vcd vorbis wmf wxwindows xine xml xml2 xmms xprint xv xvid yaz zlib linguas_en"
Unset:  ASFLAGS, CBUILD, CTARGET, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
Comment 1 Don Seiler (RETIRED) gentoo-dev 2005-03-31 07:54:12 UTC
I want both debug log output (run as gaim -d) and a backtrace from gdb.  Make sure you emerge gaim with USE="debug".
Comment 2 Rich 2005-03-31 10:33:08 UTC
Created attachment 54942 [details]
Output of gaim -d 2>&1 > gaim.log.2
Comment 3 Rich 2005-03-31 10:34:03 UTC
Created attachment 54943 [details]
Output of gdb gaim 2>&1 > gaim.log.gdb, followed by typing "backtrace" when it hung
Comment 4 Paul Peltz 2005-04-02 08:18:56 UTC
I'm seeing the same problem on my system.  My backtrace is:

Couldn't get registers: No such process.
(gdb) dns[31520]: Oops, father has gone, wait for me, wait...!
dns[31515]: Oops, father has gone, wait for me, wait...!
(gdb) bt
Cannot fetch general-purpose registers for thread -1213499728: generic error
Comment 5 Rodney Brown 2005-04-02 16:56:11 UTC
I am experiencing this as well...

At first I thought it was random segfaults but maybe someone was trying to IM me...

I also get a segfault when sending an IM...
Comment 6 Rodney Brown 2005-04-03 13:21:08 UTC
I tried going back to 1.1.4 but it's doing the same thing now...

I wonder if a wipe out and reload of my gaim config file would fix it?
Comment 7 Rich 2005-04-03 13:59:07 UTC
I already purged my ~/.gaim, so that won't help.
Comment 8 Nicholas Andrade 2005-04-03 20:15:11 UTC
I'm experiencing the bug too (in both 1.2 & 1.1.4, I am going to try to build gaim from cvs.
Comment 9 Rich 2005-04-03 20:41:43 UTC
Wait, try Gaim 1.2.1 first.
Comment 10 Rich 2005-04-03 21:01:41 UTC
Just tried gaim 1.2.1, still crashes.

Good luck with CVS, but this soon after a release, I doubt it'll help.
Comment 11 Nicholas Andrade 2005-04-03 23:43:42 UTC
You're right, the CVS version wouldn't even let me log on (it said my password was wrong -- I tried it with two different accounts).  I also tried an older version of gaim not in portagge, 1.1.2, same crash so I'm guessing the problem is with one of its dependencies.
Comment 12 Rich 2005-04-04 00:40:13 UTC
Everybody else with the bug, please post your emerge info output, emerge -pv gaim's output, and the output of emerge -pv each of the following.

        x11-libs/gtk+
        dev-libs/glib
        media-libs/nas
        media-libs/libao
        media-libs/audiofile
        dev-lang/perl
        dev-perl/ExtUtils-MakeMaker
        app-text/gtkspell
        net-libs/gnutls
        dev-libs/nss
        net-im/silc-toolkit
        gnome-extra/evolution-data-server
        app-crypt/mit-krb5
        dev-lang/tcl
        dev-lang/tk
        dev-util/pkgconfig
        sys-devel/gettext

Taken from gaim-1.2.0.ebuild
Comment 13 Paul Peltz 2005-04-04 12:42:41 UTC
I was excited to see a new version when I sync'd today, but it still crashes the same way, so I'm thinking this must be a library that it is using that is killing it.

root@firefly ~ > emerge info                                                                                                                                                             <- 3:23PM
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r5 i686)
=================================================================
System uname: 2.6.11-gentoo-r5 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Feb 18 2005, 10:23:50)]
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.4 [enabled]
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.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium-m -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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium-m -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks fixpackages prelink sandbox sfperms userpriv"
GENTOO_MIRRORS="ftp://ftp.sunsite.utk.edu/pub/linux/gentoo http://open-systems.ufl.edu/mirrors/gentoo http://mirror.datapipe.net/gentoo http://mirrors.tds.net/gentoo ftp://mirrors.tds.net/gentoo http://gentoo.mirrors.pair.com/"
MAKEOPTS="-j4"
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 aac aalib acpi acpi4linux alsa apache2 apm arts artswrappersuid avantgo avi berkdb bitmap-fonts bluetooth bonobo cdr cgi crypt cups curl dba dvd dvdr emboss encode esd ethereal evo fam ffmpeg flac foomaticdb fortran freetype gd gdbm gif gnome gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml imagemagick imlib ipv6 irda irmc java javascript jpeg kde lcd ldap libg++ libwww live mad mikmod mjpeg mmx motif mozilla mp3 mpeg mysql ncurses nls nptl nptlonly offensive ogg oggvorbis ooo-kde opengl oss pam pcmcia pda pdflib perl pic png python qt quicktime readline samba sdl slang speex spell sse sse2 ssl stream svga tcltk tcpd threads tiff transcode truetype truetype-fonts type1-fonts usb userlocales videos vim-with-x wxwindows xine xinerama xml xml2 xmms xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

[ebuild   R   ] net-im/gaim-1.2.1  -cjk -debug -eds -gnutls -krb4 -nas +nls +perl -silc +spell +tcltk 0 kB
[ebuild   R   ] x11-libs/gtk+-2.6.4-r1  -debug -doc +jpeg -static +tiff 0 kB
[ebuild   R   ] dev-libs/glib-2.6.3  -debug -doc 0 kB
[ebuild  N    ] media-libs/nas-1.7-r1  -static 1,258 kB
[ebuild   R   ] media-libs/libao-0.8.6  +alsa +arts +esd -mmap -nas -static 0 kB
[ebuild   R   ] media-libs/audiofile-0.2.6-r1  365 kB
[ebuild   R   ] dev-lang/perl-5.8.6-r4  +berkdb -debug -doc +gdbm -ithreads -perlsuid (-uclibc) 0 kB
[ebuild  N    ] dev-perl/ExtUtils-MakeMaker-6.21  217 kB
[ebuild   R   ] app-text/gtkspell-2.0.4-r1  -doc 192 kB
[ebuild   R   ] net-libs/gnutls-1.2.0  +crypt -doc +zlib 0 kB
[ebuild   R   ] dev-libs/nss-3.9.2-r2  4,623 kB
[ebuild  N    ] net-im/silc-toolkit-0.9.12-r3  -debug +ipv6 2,487 kB
[ebuild   R   ] gnome-extra/evolution-data-server-1.0.4  -debug -doc +ldap 0 kB
[ebuild  N    ] app-crypt/mit-krb5-1.3.6-r1  -krb4 -static 6,380 kB
[ebuild   R   ] dev-lang/tcl-8.4.9  +threads 0 kB
[ebuild   R   ] dev-lang/tk-8.4.9  +threads 0 kB
[ebuild   R   ] dev-util/pkgconfig-0.15.0  596 kB
[ebuild   R   ] sys-devel/gettext-0.14.2  -emacs +nls 0 kB

Thanks,

Paul
Comment 14 Don Seiler (RETIRED) gentoo-dev 2005-04-04 12:54:31 UTC
The one provided backtrace doesn't appear _too_ helpful.

Here is what I need.

In your make.conf, add "debug" to your USE flags, "nostrip" to your FEATURES, and "-g" to your CFLAGS.  Then rebuild glib, gtk+ and gaim and get a gdb backtrace.
Comment 15 slynn@granite-mtn.net 2005-04-04 13:06:45 UTC
Perhaps this is the same bug as 87881?

I ran into this problem randomly on my desktop several months ago.  Not sure what solved the problem, but seem to remember turning off spell checking during compile helped.  Not so here.

I've spent some time compiling and recompiling trying with different options:

1. debug
2. -spell
3. no plugins
4. gaim 1.2.0
5. gaim 1.2.1
6. recompiling all immediate dependencies from gaim ebuild
7. revdep-rebuild.sh checks
8. Yahoo
9. Jabber
10. ldd many of the libs and check dependencies
11. rm all /tmp files

Nothing as of yet seems to work.  I would tend toward a library problem (where Rich is pointing in a previous post), but nothing repeatable as of yet.

I did upgrade to linux 2.6 headers and nptlonly last week, but recompiled glibc and gaim under the new regime.  Worked great last week.

The first error today was something about not being able to write to /tmp/mcop-myuser.  Logged out and removed everything in /tmp.



(last try) emerge info - 

Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 25 2005, 14:38:40)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.5, 1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.8.5-r3
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/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=pentium4 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://ftp-mirror.internap.com/pub/gentoo/ http://mirror.datapipe.net/gentoo http://gentoo.eliteitminds.com"
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 3dfx 3dnow X acpi alsa apache2 apm arts avi berkdb bitmap-fonts cdparanoia cdr crypt cups curl dba dvd dvdr emboss encode esd ethereal fam flac foomaticdb gd gdbm gif gnome gphoto2 gpm gtk gtk2 imagemagick imlib ipv6 java jpeg junit kde ldap libg++ libwww mad mikmod mmx motif mp3 mpeg ncurses nls nptl nptlonly offensive oggvorbis ooo-kde opengl oss pam pdflib perl png ppds python qt quicktime readline samba sasl sdl slang spell sse sse2 ssl svga tcpd tiff truetype truetype-fonts type1-fonts usb xinerama xml xml2 xmms xsl xslt xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS


Per Rich's request -

[ebuild   R   ] x11-libs/gtk+-2.6.4-r1  -debug -doc +jpeg -static +tiff 0 kB
[ebuild   R   ] dev-libs/glib-2.6.3  -debug -doc 0 kB
[ebuild  N    ] media-libs/nas-1.7-r1  -static 1,258 kB
[ebuild   R   ] media-libs/libao-0.8.6  +alsa +arts +esd -mmap -nas -static 0 kB
[ebuild   R   ] media-libs/audiofile-0.2.6-r1  0 kB
[ebuild   R   ] dev-lang/perl-5.8.6-r4  +berkdb -debug -doc +gdbm -ithreads -perlsuid (-uclibc) 0 kB
[ebuild  N    ] dev-perl/ExtUtils-MakeMaker-6.21  217 kB
[ebuild   R   ] app-text/gtkspell-2.0.4-r1  -doc 0 kB
[ebuild   R   ] net-libs/gnutls-1.2.0  +crypt -doc +zlib 0 kB
[ebuild   R   ] dev-libs/nss-3.9.2-r2  0 kB
[ebuild  N    ] net-im/silc-toolkit-0.9.12-r3  -debug +ipv6 2,487 kB
[ebuild   R   ] gnome-extra/evolution-data-server-1.0.4  -debug -doc +ldap 0 kB
[ebuild   R   ] app-crypt/mit-krb5-1.3.6-r1  -krb4 -static 0 kB
[ebuild  N    ] dev-lang/tcl-8.4.9  -threads 3,414 kB
[ebuild  N    ] dev-lang/tk-8.4.9  -threads 3,189 kB
[ebuild   R   ] dev-util/pkgconfig-0.15.0  596 kB
[ebuild   R   ] sys-devel/gettext-0.14.2  -emacs +nls 0 kB


gaim -d output below
gdb gaim backtrace output below
Comment 16 slynn@granite-mtn.net 2005-04-04 13:09:12 UTC
Created attachment 55298 [details]
gaim -d output

gdb output to follow when i recompile w/ debug and nostrip...
Comment 17 slynn@granite-mtn.net 2005-04-04 13:35:56 UTC
Recompiled glib, gtk+ and gaim w/ debug and nostrip.  Still the same useless backtrace, but this may be due to my lack of experience w/ gdb and threads...


Couldn't get registers: No such process.
(gdb) backtrace
Cannot fetch general-purpose registers for thread -1216985424: generic error
(gdb)
Comment 18 slynn@granite-mtn.net 2005-04-04 13:38:09 UTC
after exit from gdb:

thread_db_get_info: cannot get thread info: generic error

would recompiling glibc w/ debug/nostrip help?
Comment 19 Paul Peltz 2005-04-04 17:13:40 UTC
I enabled debug and set no strip in my features and I get the same backtrace:

Couldn't get registers: No such process.
dns[530]: Oops, father has gone, wait for me, wait...!
(gdb) dns[478]: Oops, father has gone, wait for me, wait...!

(gdb) bt
Cannot fetch general-purpose registers for thread -1214359888: generic error

Paul
Comment 20 Nicholas Andrade 2005-04-04 17:40:41 UTC
Portage 2.0.51.19 (default-linux/x86/2005.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.10-gentoo-r8 i686)
=================================================================
System uname: 2.6.10-gentoo-r8 i686 Intel(R) Pentium(R) M processor 2.00GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 31 2005, 10:00:13)]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.5, 1.8.5-r3, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium-m -O3 -g -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/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -O3 -g -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig buildpkg ccache cvs distcc distlocks keepwork nostrip notitles sandbox sfperms userpriv usersandbox"
GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo http://gentoo.oregonstate.edu http://www.ibiblio.org/pub/Linux/distributions/gentoo ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp6.uni-erlangen.de/pub/mirrors/gentoo ftp://vlaai.snt.ipv6.utwente.nl/pub/os/linux/gentoo/ http://gentoo.eliteitminds.com"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X acpi alsa apache2 apm arts avi bitmap-fonts cdr crypt cups curl debug divx4linux dvd dvdread emboss encode esd exif fam flac foomaticdb fortran g77 gd gif gnome gphoto2 gpm gstreamer gtk gtk2 icq if77 imagemagick imap imlib ipv6 java jikes jpeg junit kde ldap libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg msn mysql ncurses nls nvidia oggvorbis openal opengl oss pam pcmcia pdflib perl php png python qt quicktime readline ruby samba sdl slang spell spl sse ssl svga tcltk tcpd tiff truetype truetype-fonts type1-fonts wxwindows xine xml xml2 xmlrpc xmms xsl xv zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY

Calculating dependencies ...done!
[ebuild   R   ] x11-libs/gtk+-2.6.4-r1  +debug -doc +jpeg -static +tiff 0 kB
[ebuild   R   ] dev-libs/glib-2.6.3  +debug -doc 0 kB
[ebuild  N    ] media-libs/nas-1.7-r1  -static 1,258 kB
[ebuild   R   ] media-libs/libao-0.8.6  +alsa +arts +esd -mmap -nas -static 0 kB
[ebuild   R   ] media-libs/audiofile-0.2.6-r1  0 kB
[ebuild   R   ] dev-lang/perl-5.8.6-r4  -berkdb +debug* -doc -gdbm -ithreads -perlsuid (-uclibc) 0 kB
[ebuild  N    ] dev-perl/ExtUtils-MakeMaker-6.21  217 kB
[ebuild   R   ] app-text/gtkspell-2.0.4-r1  -doc 0 kB
[ebuild   R   ] net-libs/gnutls-1.2.0  +crypt -doc +zlib 0 kB
[ebuild   R   ] dev-libs/nss-3.9.2-r2  0 kB
[ebuild  N    ] net-im/silc-toolkit-0.9.12-r3  +debug +ipv6 2,487 kB
[ebuild   R   ] gnome-extra/evolution-data-server-1.0.4  +debug* -doc +ldap 0 kB
[ebuild  N    ] app-crypt/mit-krb5-1.3.6-r1  -krb4 -static 6,380 kB
[ebuild   R   ] dev-lang/tcl-8.4.9  -threads 0 kB
[ebuild   R   ] dev-lang/tk-8.4.9  -threads 0 kB
[ebuild   R   ] dev-util/pkgconfig-0.15.0  0 kB
[ebuild   R   ] sys-devel/gettext-0.14.2  -emacs +nls 0 kB
[ebuild  N    ] net-im/gaim-1.2.0-r2  -cjk +debug -eds -gnutls -krb4 -nas +nls +perl -silc +spell +tcltk 0 kB
Comment 21 Bill Rosgen 2005-04-05 00:14:05 UTC
I also recently started experiencing crashes whenever I sent, or recieved, a message in gaim.  I'm also getting the same output from gaim -d.  The crashes stop if I change the sound setting from "Automatic" to "ESD", does this work for anyone else?

I also upgraded to the following version of the alsa packages around the time gaim started crashing:

media-sound/alsa-headers-1.0.9_rc2
media-libs/alsa-lib-1.0.9_rc2

Here is an emerge info, and the versions of the suggested packages.

Portage 2.0.51.19 (default-linux/x86/2004.0, gcc-3.4.3-20050110, glibc-2.3.4.20050125-r1, 2.6.10-gentoo-r7 i686)
=================================================================
System uname: 2.6.10-gentoo-r7 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.10
Python:              dev-lang/python-2.3.5 [2.3.5 (#1, Mar 15 2005, 03:25:59)]
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5
sys-devel/autoconf:  2.59-r6, 2.13
sys-devel/automake:  1.9.5, 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r7
sys-devel/libtool:   1.5.14
virtual/os-headers:  2.6.8.1-r4
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /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=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks gpg sandbox sfperms"
GENTOO_MIRRORS="http://mirrors.acm.cs.rpi.edu/gentoo/ http://gentoo.osuosl.org/ http://mirror.tucdemonic.org/gentoo/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/etc/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac adns aim alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts bonobo cdr crypt cups curl dba dedicated divx4linux dvd emacs emboss encode esd faad fam flac font-server foomaticdb fortran gcj gd gdbm gif gmp gnome gphoto2 gpm graphviz gs gstreamer gtk gtk2 gtkhtml guile hal hbci icq imagemagick imap imlib jabber java javascript jpeg junit ldap libg++ libwww mad mikmod mmx motif mozilla mp3 mpeg mpeg4 msn mule mysql ncurses nls nowin nvidia ofx ogg oggvorbis opengl oss pam pdflib perl png ppds python quicktime readline ruby samba sdl slang spell sse ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb xemacs xml xml2 xmms xv yahoo zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS

[ebuild     U ] x11-libs/gtk+-2.6.4-r1 [2.6.1-r1]
[ebuild   R   ] dev-libs/glib-2.6.3
[ebuild  N    ] media-libs/nas-1.7-r1
[ebuild     U ] media-libs/libao-0.8.6 [0.8.5]
[ebuild   R   ] media-libs/audiofile-0.2.6-r1
[ebuild   R   ] dev-lang/perl-5.8.6-r4
[ebuild  N    ] dev-perl/ExtUtils-MakeMaker-6.21
[ebuild   R   ] app-text/gtkspell-2.0.4-r1
[ebuild  N    ] dev-libs/libtasn1-0.2.13
[ebuild  N    ] dev-libs/lzo-1.08-r1
[ebuild     U ] net-libs/gnutls-1.2.0 [1.0.17]
[ebuild   R   ] dev-libs/nss-3.9.2-r2
[ebuild  N    ] net-im/silc-toolkit-0.9.12-r3
[ebuild   R   ] gnome-extra/evolution-data-server-1.0.4
[ebuild     U ] app-crypt/mit-krb5-1.3.6-r2 [1.3.6]
[ebuild   R   ] dev-lang/tcl-8.4.9
[ebuild   R   ] dev-lang/tk-8.4.9
[ebuild   R   ] dev-util/pkgconfig-0.15.0
[ebuild   R   ] sys-devel/gettext-0.14.2


Comment 22 Paul Peltz 2005-04-05 05:57:48 UTC
Thanks Bill!  That fixed it for me.  Switching the sound definitely fixed it.  These last few days of using the crappy alternative IM clients really made me appreciate how nice gaim truly is.
Comment 23 Don Seiler (RETIRED) gentoo-dev 2005-04-05 06:53:20 UTC
Ugh I should have thought of this, since it comes up like every two weeks.  Yes please check that your sound settings are correct.  The problem is a bug in libao with arts.  To work around it, you could use ESD (if you have ESD installed) or (as I do) manually define a command.  I have "aplay -q %s" defined for my sound command.  Feel free to let the libao people know how you feel.

http://www.xiph.org/ao/

I'll wait for a few other confirmed fixes before closing this out.
Comment 24 Don Seiler (RETIRED) gentoo-dev 2005-04-05 06:58:25 UTC
Please indicate what version of media-libs/libao you are currently on.
Comment 25 slynn@granite-mtn.net 2005-04-05 08:34:49 UTC
Switching to either esd or command-based aplay works for me.  Thanks for the help.
Comment 26 Nicholas Andrade 2005-04-05 12:16:14 UTC
The fix worked for me as well, here's the libao -pv info:

[ebuild   R   ] media-libs/libao-0.8.6  +alsa +arts +esd -mmap +nas* -static 0 kB
Comment 27 Don Seiler (RETIRED) gentoo-dev 2005-04-05 12:25:17 UTC
OK I'm resolving this as UPSTREAM with libao.  I've filed a bug there and a gaim developer has chimed in with cases of his own.

http://trac.xiph.org/cgi-bin/trac.cgi/ticket/644
Comment 28 Don Seiler (RETIRED) gentoo-dev 2005-07-23 14:16:44 UTC
*** Bug 97852 has been marked as a duplicate of this bug. ***
Comment 29 Spider (RETIRED) gentoo-dev 2005-12-12 08:42:12 UTC
*** Bug 115271 has been marked as a duplicate of this bug. ***