Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 38363 - firebird 0.7 produces strange 127.0.0.1 DNS queries
Summary: firebird 0.7 produces strange 127.0.0.1 DNS queries
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-01-15 18:45 UTC by Felix von Leitner
Modified: 2005-03-16 04:59 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 Felix von Leitner 2004-01-15 18:45:55 UTC
MozillaFirebird 0.7 sometimes does not ask my DNS server at fec0:0:0:ffff::1 (that's an IPv6 anycast address and it is served by a dnscache on the same box) but sends it's DNS query to 127.0.0.1.  There is no DNS server at 127.0.0.1, so the DNS query fails, and Firebird will tell me that the site does not exist.  Reloading fixes the problem.  I can't reproduce this reliably, and it is quite rare with 0.7.  It happened a lot more often with 0.8+ (the current CVS HEAD), that's why I even noticed and did a tcpdump to investigate.

I reported this to the Mozilla people, and they said Mozilla simply uses getaddrinfo from glibc.  I ran a test program many times calling getaddrinfo and could not reproduce the problem.  I am not sure whether Mozilla overwrites some memory here or whatnot.  Has someone else experienced this problem as well?

Reproducible: Sometimes
Steps to Reproduce:
1.run MozillaFirebird 0.7
2.go to some site with lots of inline images, for example a fark.com photoshop contest
3.witness a lot of broken images that suddenly work if you reenter the same page

Actual Results:  
many "broken images".  Running tcpdump shows a lot of DNS requests going to the 
correct DNS server, and a few going to 127.0.0.1, which is not mentioned in 
my /etc/resolv.conf, and these cause the broken images. 

Expected Results:  
Not ask 127.0.0.1 

Portage 2.0.50_pre16 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20031222-r0, 
2.6.0) 
================================================================= 
System uname: 2.6.0 i686 AMD Athlon(tm) XP 2000+ 
Gentoo Base System version 1.4.3.12 
Autoconf: sys-devel/autoconf-2.59 
Automake: sys-devel/automake-1.7.8 
ACCEPT_KEYWORDS="x86 ~x86" 
AUTOCLEAN="yes" 
CFLAGS="-pipe -Os" 
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/share/config /usr/share/config /var/qmail/control" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-mcpu=athlon-xp -Os -pipe -fomit-frame-pointer" 
DISTDIR="/cvs/distfiles" 
FEATURES="autoaddcvs ccache sandbox" 
GENTOO_MIRRORS="http://160.45.44.196:81 http://gentoo.oregonstate.edu/ 
http://distro.ibiblio.org/pub/linux/distributions/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://160.45.117.66/gentoo-portage" 
USE="X apm arts avi berkdb cdr crypt encode esd fbcon foomaticdb gdbm gif gnome 
gpm gtk2 imlib ipv6 java jpeg kde ldap libg++ libwww mad mikmod motif mpeg 
ncurses nls nptl oggvorbis opengl oss pam pdflib perl png python qt quicktime 
readline sdl slang spell ssl tcpd truetype x86 xml2 xv zlib"
Comment 1 Tiago Freire 2005-03-16 04:35:05 UTC
Mozilla firebird (earliest firefox is 0.9.3) is not even in the portage tree anymore, shouldn't this bug be closed/nuked/whatever (resolved, wontfix)? 
Comment 2 Felix von Leitner 2005-03-16 04:59:34 UTC
this bug turned out to be a bug in glibc and was fixed in recent glibc versions.