From owner-freebsd-net@FreeBSD.ORG Sun Oct 11 18:05:16 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 84B2B106566B; Sun, 11 Oct 2009 18:05:16 +0000 (UTC) (envelope-from to.my.trociny@gmail.com) Received: from mail-fx0-f222.google.com (mail-fx0-f222.google.com [209.85.220.222]) by mx1.freebsd.org (Postfix) with ESMTP id DC2998FC1F; Sun, 11 Oct 2009 18:05:15 +0000 (UTC) Received: by fxm22 with SMTP id 22so7681289fxm.36 for ; Sun, 11 Oct 2009 11:05:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:to:cc:subject:references :organization:from:date:in-reply-to:message-id:user-agent :mime-version:content-type; bh=IqpitTUsRMfEDVpbS5tzWcYZJowps418AL4r1Ku8MJY=; b=DwgQ5j6GhJ0/JvcyJxbipEK7Hw4njJzknFc0ZZIO1r1TlPHNrikklzy+hXQuoDbGSP cnBfHRlTE5kNlq4lKmJWvLM49cxSiRGCqwc9sl9Wpsv97WCslJZyeh6DCD9V/bbo5XZs xb+KBNr2o/olOY74sQFvT9whreAh8WoTyE15Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=to:cc:subject:references:organization:from:date:in-reply-to :message-id:user-agent:mime-version:content-type; b=VFCF9Ka+h1QS3T7wf/Jl4ajD5n9lFk5TvTV0eQ2zsirTlkBjmVKgFljY3+WLD3u0w1 aahdiL7BylTZsBkbC+8pSCO71+ugNC6V47S7YHPssecn8vLBLzfsp71zVg7UqfNNt9Ej 2/ar0+6WWaFVz7V8EX8tkFZ/OBxri6A89EcHg= Received: by 10.87.66.2 with SMTP id t2mr4509321fgk.62.1255282902495; Sun, 11 Oct 2009 10:41:42 -0700 (PDT) Received: from localhost ([95.69.161.248]) by mx.google.com with ESMTPS id d4sm3370041fga.21.2009.10.11.10.41.37 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 11 Oct 2009 10:41:38 -0700 (PDT) To: Eugene Grosbein References: <20090913042742.GA32897@svzserv.kemerovo.su> <4AAD12BE.1090600@vwsoft.com> <20090913171643.GA69039@svzserv.kemerovo.su> Organization: TOA Ukraine From: Mikolaj Golub Date: Sun, 11 Oct 2009 20:41:36 +0300 In-Reply-To: <20090913171643.GA69039@svzserv.kemerovo.su> (Eugene Grosbein's message of "Mon\, 14 Sep 2009 01\:16\:43 +0800") Message-ID: <86ocodzv3j.fsf@kopusha.onet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: volker@vwsoft.com, 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, 11 Oct 2009 18:05:16 -0000 On Mon, 14 Sep 2009 01:16:43 +0800 Eugene Grosbein wrote: EG> 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 EG> Indeed, the patch helps. Thank you. BTW, we have already had the pr about this problem. http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/138061 IMO it would be nice to add the patch there. -- Mikolaj Golub