From owner-freebsd-net@FreeBSD.ORG Sun Sep 13 17:16:46 2009 Return-Path: Delivered-To: net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7419D1065672; Sun, 13 Sep 2009 17:16:46 +0000 (UTC) (envelope-from eugen@kuzbass.ru) Received: from www.svzserv.kemerovo.su (www.svzserv.kemerovo.su [213.184.65.80]) by mx1.freebsd.org (Postfix) with ESMTP id D0D2E8FC0A; Sun, 13 Sep 2009 17:16:45 +0000 (UTC) Received: from www.svzserv.kemerovo.su (eugen@localhost [127.0.0.1]) by www.svzserv.kemerovo.su (8.13.8/8.13.8) with ESMTP id n8DHGh6d069561; Mon, 14 Sep 2009 01:16:43 +0800 (KRAST) (envelope-from eugen@www.svzserv.kemerovo.su) Received: (from eugen@localhost) by www.svzserv.kemerovo.su (8.13.8/8.13.8/Submit) id n8DHGhhm069560; Mon, 14 Sep 2009 01:16:43 +0800 (KRAST) (envelope-from eugen) Date: Mon, 14 Sep 2009 01:16:43 +0800 From: Eugene Grosbein To: volker@vwsoft.com Message-ID: <20090913171643.GA69039@svzserv.kemerovo.su> References: <20090913042742.GA32897@svzserv.kemerovo.su> <4AAD12BE.1090600@vwsoft.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4AAD12BE.1090600@vwsoft.com> User-Agent: Mutt/1.4.2.3i Cc: Doug Barton , net@freebsd.org Subject: Re: host(1) coredumps X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2009 17:16:46 -0000 On Sun, Sep 13, 2009 at 05:41:50PM +0200, volker@vwsoft.com wrote: > > % host -l grosbein.pp.ru. ns2.rucable.net. > > ; Transfer failed. > > /usr/local/src/lib/bind/isc/../../../contrib/bind9/lib/isc/unix/socket.c:2486: > > REQUIRE((((sock) != ((void *)0)) && (((const isc__magic_t *)(sock))->magic > > == ((('I') << 24 | ('O') << 16 | ('i') << 8 | ('o')))))) failed. > > zsh: abort (core dumped) host -l grosbein.pp.ru. ns2.rucable.net. > > > > Shoud I send PR? > Eugene, > > the attached patch works around the error for me. As this is contributed > code, it should be fixed upstream (no need to file a PR). > > Volker > > --- contrib/bind9/bin/dig/dighost.c.orig 2009-09-13 14:24:13.000000000 +0000 > +++ contrib/bind9/bin/dig/dighost.c 2009-09-13 14:31:52.000000000 +0000 Indeed, the patch helps. Thank you. Eugene