host(1) coredumps
Mikolaj Golub
to.my.trociny at gmail.com
Sun Oct 11 18:05:16 UTC 2009
On Mon, 14 Sep 2009 01:16:43 +0800 Eugene Grosbein wrote:
EG> On Sun, Sep 13, 2009 at 05:41:50PM +0200, volker at 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
More information about the freebsd-net
mailing list