Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54096 - gaim inexplicably segfaults while trying to sign onto any protocol
Summary: gaim inexplicably segfaults while trying to sign onto any protocol
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-16 09:19 UTC by Brad Laue (RETIRED)
Modified: 2004-10-17 13:00 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 Brad Laue (RETIRED) gentoo-dev 2004-06-16 09:19:11 UTC
This is output from gdb, where gaim segfaults when trying to sign onto any protocol. In this case, MSN. 

Gaim is compiled with Mozilla NSS. It is version 0.75. All versions up to 0.78 are affected. I don't know if this is the correct output, because using gdb, gaim crashed immediately upon launch without doing a thing.

Starting program: /usr/bin/gaim
[Thread debugging using libthread_db enabled]
[New Thread 1024 (LWP 6693)]
 
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1024 (LWP 6693)]
0x40dca2f7 in __res_nsend () from /usr/lib/libbind.so.2
(gdb) bt
#0  0x40dca2f7 in __res_nsend () from /usr/lib/libbind.so.2
#1  0x40dc9509 in __res_nquery () from /usr/lib/libbind.so.2
#2  0x40dc9b84 in __res_nquerydomain () from /usr/lib/libbind.so.2
#3  0x40dc97a5 in __res_nsearch () from /usr/lib/libbind.so.2
#4  0x40e42035 in _nss_dns_gethostbyname2_r () from /lib/libnss_dns.so.2
#5  0x40e42183 in _nss_dns_gethostbyname_r () from /lib/libnss_dns.so.2
#6  0x406d377d in gethostbyname_r@@GLIBC_2.1.2 () from /lib/libc.so.6
#7  0x406d3145 in gethostbyname () from /lib/libc.so.6
#8  0x0807f7b0 in cope_with_gdb_brokenness () at proxy.c:415
#9  0x0807f956 in gaim_gethostbyname_async (
    hostname=0x81d2ab0 "messenger.hotmail.com", port=1863,
    callback=0x80814f8 <connection_host_resolved>, data=0x82610d0)
    at proxy.c:471
#10 0x08081964 in gaim_proxy_connect (account=0x8164858,
    host=0x81d2ab0 "messenger.hotmail.com", port=1863,
    func=0x409027d0 <connect_cb>, data=0x8260d80) at proxy.c:1721
#11 0x40902a25 in msn_servconn_connect (servconn=0x8260d80,
    host=0x81d2ab0 "messenger.hotmail.com", port=1863) at servconn.c:131
#12 0x4090236a in msn_notification_connect (notification=0x8260d80,
    host=0x81d2ab0 "messenger.hotmail.com", port=1863) at notification.c:1919
#13 0x40903a9f in msn_session_connect (session=0x81d2a08) at session.c:128
#14 0x408f93ab in msn_login (account=0x8164858) at msn.c:513
#15 0x08086a33 in serv_login (account=0x8164858) at server.c:68
---Type <return> to continue, or q <return> to quit---
#16 0x0807022e in gaim_connection_connect (gc=0x81d29b0) at connection.c:214
#17 0x0806750c in gaim_account_connect (account=0x8164858) at account.c:228
#18 0x08069efe in gaim_accounts_auto_login (ui=0x80fa255 "gtk-gaim")
    at account.c:1532
#19 0x080de636 in main (argc=1, argv=0xbffff4b4) at main.c:900
(gdb)

brad@frontdesk:~ > emerge info
Portage 2.0.50-r8 (default-1.0, gcc-2.95.3, glibc-2.2.5-r9, 2.4.25-gentoo)
=================================================================
System uname: 2.4.25-gentoo i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=i686 -O2 -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/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=i686 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.netnitco.net ftp://ftp.ussg.iu.edu/pub/linux/gentoo http://gentoo.mirrors.pair.com/ ftp://gentoo.mirrors.pair.com/ ftp://gentoo.netnitco.net/pub/mirrors/gentoo/source/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.snerk.org/gentoo-portage/"
USE="3dfx 3dnow X apm berkdb cdr crypt cups dga encode gdbm gif gnome-libs gpm gtk gtk2 imlib java jpeg kde ldap libg++ libwww mikmod mmx motif mozcalendar mozilla moznocompose moznoirc mpeg mysql ncurses oggvorbis opengl oss pam pda pdflib perl png python qt qtmt quicktime readline sasl sdl slang spell ssl svga tcltk tcpd tiff truetype x86 xml2 xmms xv zlib"


Reproducible: Always
Steps to Reproduce:
Comment 1 Robert Davis 2004-06-17 08:33:58 UTC
Hmm.  DNS failed.  Do you have Bind installed?  Try to re-emerge it or remove if you don't need the DNS server on your machine.
Comment 2 Don Seiler (RETIRED) gentoo-dev 2004-06-28 06:51:31 UTC
brad is this still a problem for you?

I'd suggest going to 0.79 but I think Robert's diagnosis is the right one so versions of gaim won't matter.
Comment 3 Brad Laue (RETIRED) gentoo-dev 2004-06-29 09:47:01 UTC
Still happening yes. I'm plotting to do a total rebuild of this system though, so it should be fine to close this.
Comment 4 Don Seiler (RETIRED) gentoo-dev 2004-07-30 07:55:05 UTC
brad is this still a problem in gaim-0.80?
Comment 5 Luke Macken (RETIRED) gentoo-dev 2004-08-28 21:18:09 UTC
The reporter of this ticket advised to close it, so is there any reason that it is still open?
Comment 6 Don Seiler (RETIRED) gentoo-dev 2004-09-03 06:16:27 UTC
It is open because I want to verify that Brad is not experiencing this problem, and if he is I'd like to fix it.  I don't have an issue with keeping the bug open, since it is my bug.
Comment 7 Brad Laue (RETIRED) gentoo-dev 2004-09-03 06:44:00 UTC
An apparently related problem is xchat not being able to resolve DNS. I'm stumped.

I think it's related to GTK+2 and (POSSIBLY!) some aspect of my system configuration, but not too sure.
Comment 8 Don Seiler (RETIRED) gentoo-dev 2004-09-03 07:25:45 UTC
Per discussion with Brad, kicking over to gnome team, as it's not a gaim-specific issue.
Comment 9 foser (RETIRED) gentoo-dev 2004-09-03 09:14:29 UTC
well thats real easy.. i see no indication whatsoever that this is gtk related & there are no reports but brad's .. so i'd say it's something local unless proven otherwise. please reassign
Comment 10 Alastair Tse (RETIRED) gentoo-dev 2004-09-29 16:55:37 UTC
gtk has nothing to do with glibc resolving hostnames .. libnss_dns.so is glibc, not mozilla nss.
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2004-10-17 13:00:47 UTC
needinfo