From owner-freebsd-stable@FreeBSD.ORG Wed Jun 9 11:13:27 2004 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 65C4F16A4CE for ; Wed, 9 Jun 2004 11:13:27 +0000 (GMT) Received: from woozle.rinet.ru (woozle.rinet.ru [195.54.192.68]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D93043D2F for ; Wed, 9 Jun 2004 11:13:26 +0000 (GMT) (envelope-from marck@rinet.ru) Received: from localhost (localhost [127.0.0.1]) by woozle.rinet.ru (8.12.11/8.12.11) with ESMTP id i59BDN9L056565; Wed, 9 Jun 2004 15:13:23 +0400 (MSD) (envelope-from marck@rinet.ru) Date: Wed, 9 Jun 2004 15:13:23 +0400 (MSD) From: Dmitry Morozovsky To: Rob In-Reply-To: <40C6E665.1020104@users.sourceforge.net> Message-ID: <20040609150946.B776@woozle.rinet.ru> References: <40C6E665.1020104@users.sourceforge.net> X-NCC-RegID: ru.rinet MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-stable@freebsd.org Subject: Re: Stable-CVS commit on June 8: hostname lookup failures !?! X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Jun 2004 11:13:27 -0000 On Wed, 9 Jun 2004, Rob wrote: R> I upgraded my kernel & world from cvs2.freebsd.org (time stamp about R> June 9th 8:00 UTC). After that, the browsers mozilla and opera hang R> when looking up hostnames (but konqueror worked fine, strange, isn't it?). R> R> I booted up with kernel.old, to no avail. So I concluded the problem R> is in the the world upgrade. R> R> With up- and downgrading, I narrowed down the offending commit to CVS: R> R> Establishing multiplexed-mode data connection R> Running R> Updating collection src-all/cvs R> Edit src/bin/ps/ps.c R> Add delta 1.30.2.15 2004.06.08.00.11.26 gad R> Edit src/lib/libc/stdio/fclose.c R> Add delta 1.8.2.1 2004.06.08.13.15.01 hmp R> Edit src/sys/net/bpf.h R> Add delta 1.21.2.5 2004.06.08.21.16.42 dwmalone R> Shutting down connection to server R> Finished successfully R> R> Does anyone have an idea what is the connection between my mozilla/opera's R> behaviour and these commits? Is this a bug in Stable? It seems reverting revision 1.8.2.1 of src/lib/libc/stdio/fclose.c should band-aid the problem: marck@woozle:/usr/src/lib/libc/stdio> cvs diff fclose.c Index: fclose.c =================================================================== RCS file: /home/ncvs/src/lib/libc/stdio/fclose.c,v retrieving revision 1.8.2.1 diff -u -r1.8.2.1 fclose.c --- fclose.c 8 Jun 2004 13:15:01 -0000 1.8.2.1 +++ fclose.c 9 Jun 2004 11:13:00 -0000 @@ -68,9 +68,9 @@ FREEUB(fp); if (HASLB(fp)) FREELB(fp); + FUNLOCKFILE(fp); fp->_file = -1; fp->_r = fp->_w = 0; /* Mess up if reaccessed. */ fp->_flags = 0; /* Release this FILE for reuse. */ - FUNLOCKFILE(fp); return (r); } Sincerely, D.Marck [DM5020, MCK-RIPE, DM3-RIPN] ------------------------------------------------------------------------ *** Dmitry Morozovsky --- D.Marck --- Wild Woozle --- marck@rinet.ru *** ------------------------------------------------------------------------