From owner-freebsd-threads@FreeBSD.ORG Sat Feb 14 09:39:37 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 D53B3440 for ; Sat, 14 Feb 2015 09:39:37 +0000 (UTC) Received: from kib.kiev.ua (kib.kiev.ua [IPv6:2001:470:d5e7:1::1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 46EC09E9 for ; Sat, 14 Feb 2015 09:39:37 +0000 (UTC) Received: from tom.home (kostik@localhost [127.0.0.1]) by kib.kiev.ua (8.14.9/8.14.9) with ESMTP id t1E9dVCs087771 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 14 Feb 2015 11:39:31 +0200 (EET) (envelope-from kostikbel@gmail.com) DKIM-Filter: OpenDKIM Filter v2.9.2 kib.kiev.ua t1E9dVCs087771 Received: (from kostik@localhost) by tom.home (8.14.9/8.14.9/Submit) id t1E9dVUd087770; Sat, 14 Feb 2015 11:39:31 +0200 (EET) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: tom.home: kostik set sender to kostikbel@gmail.com using -f Date: Sat, 14 Feb 2015 11:39:31 +0200 From: Konstantin Belousov To: "Matthew D. Fuller" Subject: Re: Troubles with BIND + r276630 (/r277317 MFC) Message-ID: <20150214093930.GV34251@kib.kiev.ua> References: <20150212225909.GB15127@over-yonder.net> <20150213084443.GJ34251@kib.kiev.ua> <20150213204845.GF15127@over-yonder.net> <20150213205102.GG15127@over-yonder.net> <20150213210817.GH15127@over-yonder.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150213210817.GH15127@over-yonder.net> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Status: No, score=-2.0 required=5.0 tests=ALL_TRUSTED,BAYES_00, DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED autolearn=no autolearn_force=no version=3.4.0 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on tom.home 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: Sat, 14 Feb 2015 09:39:37 -0000 On Fri, Feb 13, 2015 at 03:08:17PM -0600, Matthew D. Fuller wrote: > 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. Look, I asked for data. The texts you posted probably could be qualified as your walkthrough notes for some investigation, but may be not. Anyway, I am even unable to completely parse the notes, and I do not see how to start drilling down without data.