Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 81241 - hostname resolution and other problems with glibc-2.3.4.20041102
Summary: hostname resolution and other problems with glibc-2.3.4.20041102
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://bugs.gentoo.org/show_bug.cgi?i...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-08 08:21 UTC by Josef Grunig
Modified: 2005-10-16 20:02 UTC (History)
5 users (show)

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 Josef Grunig 2005-02-08 08:21:55 UTC
In relation to my first bug report where I understood that the problem was the glibc: http://bugs.gentoo.org/show_bug.cgi?id=80243

Summary: 
after emerge world, where I upgraded the glibc, I encountered the following problems:

-- xorg-x11 wont start with nvidia drivers
-- Some kernel Oops: See bug report mentioned above
-- Some apps, like mozilla-firefox-1.0-r3, crash with SegFaults


Reproducible: Always
Steps to Reproduce:
1. emerge glibc-2.3.4.20041102
2. start X


Actual Results:  
-- xorg-x11 wont start with nvidia drivers
-- Some kernel Oops: See bug report mentioned above
-- Some apps, like mozilla-firefox-1.0-r3, crash with SegFaults

Expected Results:  
Everything should work

FOR THE USEFUL EMERGE INFO DURING NVIDIA CRASHES SEE:
http://bugs.gentoo.org/show_bug.cgi?id=80243

EMERGE INFO AFTER DOWNGRADING glibc:

Portage 2.0.51-r15 (default-linux/x86/2004.3, gcc-3.3.4,
glibc-2.3.3.20040420-r2, 2.6.10-gentoo-r6 i686)
=================================================================
System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.6.9
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Oct 28 2004, 20:33:15)]
ccache version 2.3 [enabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r2, 1.5, 1.6.3, 1.9.4, 1.7.9, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r2
sys-devel/libtool:   1.5.10-r4
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium4 -O3 -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="-march=pentium4 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/
http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/"
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 3ds X aalib acpi acpi4linux alsa apache2 arts artswrappersuid avi
bash-completion berkdb bitmap-fonts blender-game cacheemu ccache cdparanoia cdr
chroot codecs crypt css cups divx4linux dv dvd dvdr dvdread encode esd f77 fam
fbcon fbdev font-server foomaticdb fortran ftp gdbm gif gimp gimpprint gkrellm
glut gpm gtk2 imagemagick imlib ipv6 irda java javascript joystick jpeg junit
kde libg++libwww lzo mad mikmod mmx motif mpeg msn ncurses nls nvidia oggvorbis
opengl oss pam pcmcia pdflib perl pic png pnp pthreads python qt quicktime
readline real samba scanner sdl slang spell sse sse2 ssl svga tcltk tcpd tiff
truetype truetype-fonts type1-fonts usb v4l v4l2 wifi xinerama xml2 xmms
xscreensaver xv xvid zlib"
Unset:  ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
Comment 1 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-10 16:37:50 UTC
Do you use NIS (ypbind)?
Comment 2 Jeremy Huddleston (RETIRED) gentoo-dev 2005-02-13 18:46:35 UTC
Please try glibc-2.3.4.20050125 and reopen if you still have problems.
Comment 3 Josef Grunig 2005-02-17 03:37:11 UTC
I tried the version 2.3.4.20050125, but is not working, too. Same SegFault with every graphical apps: X, mplayer, etc...
Comment 4 Josef Grunig 2005-02-17 03:38:08 UTC
In relation to comment #1: I don't use NIS
Comment 5 iago 2005-02-19 08:57:06 UTC
Hello. I'm (not) so happy to announce that this glibc version has _relevant_ bugs. I don't know which these bugs be, but I installed this version in the morning, and now I'm crawling around my filesystem to see which apps don't work anymore. To the previous apps signalled by Josef (these are Mozilla and MozFirefox) I'd add also: Konqueror, that insists it can't resolve every hostname (well, I'm sure I'm connected to the net, since I'm posting this bug report and talking to a gentoo developer).. and also Monodevelop: I can't no more open solutions from any of the voices in the menu. Be sure that when I'll find some other app that doesn't work I will tell you, my dear developer. BTW, I have to add a note. I'm currently running a Gentoo PPC, so this but should be included in ALL architectures. I'll add PPC team to the guys who should receive a copy of this comment.
Comment 6 Jeremy Huddleston (RETIRED) gentoo-dev 2005-03-10 05:48:10 UTC
can you try 2.3.4.20040805-r1 or 20041102?  Try to isolate the smallest version jump which causes the problem.  Also, can you try updating your whole toolchain and then re-emerge xorg-x11?
Comment 7 Josef Grunig 2005-03-12 14:03:58 UTC
I compiled for a while and tryed those versions of glibc:

        [  I] 2.3.3.20040420-r2 (2.2)
        [ ~ ] 2.3.4.20040619-r2 (2.2)
        [   ] 2.3.4.20040808-r1 (2.2)
        [ ~ ] 2.3.4.20041102 (2.2)
        [ ~ ] 2.3.4.20050125 (2.2)

starting from the newest one and downgrading step by step. Each ebuild, I compiled also the binutils, xorg-x11 and nvidia drivers.

The result is that xorg (with nvidia drivers) starts only with 2.3.3.20040420-r2;  if using xorg-x11 glx driver it seems to start always.

The problem then is to make work nvidia drivers with those versions of glibc, I think... Is it possible that kernel has to be compiled with the new version of glibc, too? I really don't now where to start!

Thanks for your work and time
Comment 8 Darke 2005-03-30 23:37:20 UTC
I just upgraded to glibc-2.3.4.20041102-r1 with gcc-3.4.3-20050110 and had an 
identical problem with konqueror (and kmail, and...) not resolving hostnames. 
Whilst other programs like ping, or firefox resolved them fine.

A downgrade to glibc-2.3.4.20040619 instantly solved the problem for me, with no recompiling of anything.
Comment 9 Jeremy Huddleston (RETIRED) gentoo-dev 2005-04-01 10:22:05 UTC
What about 2.3.4.20050125-r1?
Comment 10 Josef Grunig 2005-05-02 12:06:03 UTC
I'm happy to anounce that after emerging sys-libs/glibc-2.3.5 all apps started working again; because for me the problem was with nvidia drivers I emerged nvidia-kernel-1.0.7174, nvidia-glx-1.0.7174-r3 and opengl-update-2.2.1, too!
After restarting X, mplayer and konqueror started working fine again.
Thank you a lot for your help and suggestion!

I'm not closing the bug now because waiting for iago to try the new version of glibc on ppc. Hope it works!

Nice weekend,

Josef 
Comment 11 Joe Jezak (RETIRED) gentoo-dev 2005-10-16 20:02:32 UTC
glibc-2.3.5-r2 is now stable on ppc.  We've had no further reports of this
problem, closing the bug.