From owner-freebsd-threads@FreeBSD.ORG Fri Feb 13 21:08:20 2015 Return-Path: Delivered-To: freebsd-threads@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EA52BE87 for ; Fri, 13 Feb 2015 21:08:20 +0000 (UTC) Received: from thyme.infocus-llc.com (thyme.infocus-llc.com [199.15.120.10]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id BB3B7AE7 for ; Fri, 13 Feb 2015 21:08:20 +0000 (UTC) Received: from draco.over-yonder.net (c-75-65-60-66.hsd1.ms.comcast.net [75.65.60.66]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by thyme.infocus-llc.com (Postfix) with ESMTPSA id DD55937B58D; Fri, 13 Feb 2015 15:08:18 -0600 (CST) Received: by draco.over-yonder.net (Postfix, from userid 100) id 3kkS3j6wnHz2w9; Fri, 13 Feb 2015 15:08:17 -0600 (CST) Date: Fri, 13 Feb 2015 15:08:17 -0600 From: "Matthew D. Fuller" To: Konstantin Belousov Subject: Re: Troubles with BIND + r276630 (/r277317 MFC) Message-ID: <20150213210817.GH15127@over-yonder.net> References: <20150212225909.GB15127@over-yonder.net> <20150213084443.GJ34251@kib.kiev.ua> <20150213204845.GF15127@over-yonder.net> <20150213205102.GG15127@over-yonder.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150213205102.GG15127@over-yonder.net> X-Editor: vi X-OS: FreeBSD User-Agent: Mutt/1.5.23-fullermd.4 (2014-03-12) X-Virus-Scanned: clamav-milter 0.98.6 at thyme.infocus-llc.com X-Virus-Status: Clean Cc: freebsd-threads@freebsd.org X-BeenThere: freebsd-threads@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Threading on FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Feb 2015 21:08:21 -0000 On Fri, Feb 13, 2015 at 02:51:02PM -0600 I heard the voice of Matthew D. Fuller, and lo! it spake thus: > > The I/O err in isc_lex_gettoken() appears only triggered when getc() > > hits EOF. > > Err, wait, I'm backward on this. It's in ferror(), so not EOF. And dropping in an errno check says getc is setting EBADF. But remember, this is pretty random. I'm also sometimes getting "unexpected end of input" sometimes, with all sorts of line numbers. Then here's one that gives an "ignoring out-of-zone data" talking about something that isn't on the referenced line at all. Here's a "loading [...] failed: bad ttl". It's all over the place. Every place I've checked, the read() data in ktrace looks fine; it's getting mangled after that. -- Matthew Fuller (MF4839) | fullermd@over-yonder.net Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.