Date: Sun, 11 Oct 2009 20:41:36 +0300 From: Mikolaj Golub <to.my.trociny@gmail.com> To: Eugene Grosbein <eugen@kuzbass.ru> Cc: volker@vwsoft.com, Doug Barton <dougb@freebsd.org>, net@freebsd.org Subject: Re: host(1) coredumps Message-ID: <86ocodzv3j.fsf@kopusha.onet> In-Reply-To: <20090913171643.GA69039@svzserv.kemerovo.su> (Eugene Grosbein's message of "Mon\, 14 Sep 2009 01\:16\:43 %2B0800") References: <20090913042742.GA32897@svzserv.kemerovo.su> <4AAD12BE.1090600@vwsoft.com> <20090913171643.GA69039@svzserv.kemerovo.su>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ocodzv3j.fsf>
