Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 62156 - Gaim 0.82.1 Segfaults while connecting
Summary: Gaim 0.82.1 Segfaults while connecting
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-29 16:07 UTC by Peter Gordon (RETIRED)
Modified: 2004-09-02 14:09 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 Peter Gordon (RETIRED) gentoo-dev 2004-08-29 16:07:16 UTC
Gaim 0.82.1 Segfaults while trying to connect to Yahoo!, AOL, ICQ and Jabber. I had XMMS and two instances of aterm open, one of them logged in as me and the other logged in as root.

Reproducible: Always
Steps to Reproduce:
1. USE="perl silc" emerge =net-im/gaim-0.82.1
2. run '/usr/bin/gaim', letting it try to connect to Yahoo!, AOL, ICQ and Jabber.

Actual Results:  
Gaim segfaults. GDB output shown below:

(gdb) run
Starting program: /usr/bin/gaim 
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
Detaching after fork from child process 27959.
Detaching after fork from child process 27960.
Detaching after fork from child process 27961.

Program received signal SIGSEGV, Segmentation fault.
0x49d63bda in strcmp () from /lib/libc.so.6


Expected Results:  
It should have connected like normal.

[ pts/12 :: root@peter-computer :: Sun Aug 29 16:00:23 PDT 2004 ]
/root $ emerge info

Portage 2.0.50-r10 (2.6, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.9-rc1)
=================================================================
System uname: 2.6.9-rc1 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-DPIC -fPIC -O3 -march=athlon-tbird -fprefetch-loop-arrays -ftracer -fom
                                                                               
it-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2
                                                                               
/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla
                                                                               
/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/tex
                                                                               
mf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/plate
                                                                               
x/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-DPIC -fPIC -O3 -march=athlon-tbird -fprefetch-loop-arrays -ftracer -f
                                                                               
omit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox sfperms"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/dis
                                                                               
tributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X alsa apache2 apm avi berkdb crypt cups directfb doc emacs encode er
                                                                               
andom f77 fbcon flac foomaticdb gcj gdbm gif gnome gnutls gpm gtk gtk2 imlib ipv
                                                                               
6 jpeg libg++ libwww mad mikmod mmx monkey motif mpeg ncurses nls nptl objc odbc
                                                                               
 oggvorbis opengl oss pam pcre pdflib pic png ppds python quicktime readline sdl
                                                                               
 slang spell sqlite ssl svg svga tcpd tiff truetype usb wxwindows x86 xml xml2 x
                                                                               
mms xv zlib"
Comment 1 Don Seiler (RETIRED) gentoo-dev 2004-08-31 10:14:06 UTC
Have you tried connecting to only one account at a time to see if it's just one?  I'm going to assume that you just have gaim auto-connecting at startup, in which case how do you know it has anything to do with your accounts?  It could be plugin libs causing problems.  Do you have any third party plugins?

Most importantly of all, gdb output is not what I need.  I need the gdb backtrace.
Comment 2 Peter Gordon (RETIRED) gentoo-dev 2004-08-31 18:53:00 UTC
I set USE="debug perl silc" and re-emerge'd gaim, like so:
# USE="debug perl silc" emerge "=net-im/gaim-0.82.1"

ANd following the instructions on http://gaim.sourceforge.net/gdb.php, this is what I get:

[ pts/1 :: peter@peter-computer :: Tue Aug 31 18:44:09 PDT 2004 ]
/home/peter $ gdb gaim
GNU gdb 6.2
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) handle SIGPIPE nostop
Signal        Stop      Print   Pass to program Description
SIGPIPE       No        Yes     Yes             Broken pipe
(gdb) run
Starting program: /usr/bin/gaim 
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
Detaching after fork from child process 23701.
Detaching after fork from child process 23702.

Program received signal SIGSEGV, Segmentation fault.
0x40a5f950 in ?? ()
(gdb) bt
#0  0x40a5f950 in ?? ()
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/gaim 
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
Detaching after fork from child process 23742.
Detaching after fork from child process 23743.

Program received signal SIGSEGV, Segmentation fault.
0x40a5f950 in ?? ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y


I've tested each protocol individually (not auto-connecting) and it segfaults on every one of them: Yahoo!, AOL, ICQ, and Jabber.
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-09-02 05:58:21 UTC
Your backtrace isn't useful at all, it certainly doesn't mention gaim.

Here are some other things to try:

1) Make sure you have no third-party plugins in /usr/lib/gaim.  This could include gaim-encryption, gaim-snpp, autoprofile, guifications, gaim-xmms-remote, etc.

2) `mv ~/.gaim ~/_gaim` and run gaim again with a clean profile to see if it crashes.
Comment 4 Angelo DiNardi 2004-09-02 08:45:56 UTC
I had the same problem. I removed guifications and gaim starts fine now. Perhaps the new gaim breaks guifications.
Comment 5 Don Seiler (RETIRED) gentoo-dev 2004-09-02 11:05:50 UTC
I have guifications-2.1 working just fine.  Make sure you upgrade to the latest versions.
Comment 6 Peter Gordon (RETIRED) gentoo-dev 2004-09-02 14:09:24 UTC
Well, it seems guificiations was the problem. I removed it, re-emerge'd gaim, and moved my prefs old folder to ~/__gaim, and it seems to be working fine now. I'll try re-emerging the new guificiations later, But for now, I'm a happy geek again ^_^. Thanx to all.