Subject: port-m68k/33545: network resolution problems, coredumps
To: None <port-m68k-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: None <multix79@yahoo.com>
List: netbsd-bugs
Date: 05/24/2006 20:20:00
>Number:         33545
>Category:       port-m68k
>Synopsis:       network resolution problems, coredumps
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    port-m68k-maintainer
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed May 24 20:20:00 +0000 2006
>Originator:     Riccardo Mottola
>Release:        3.0 mac68k
>Organization:
>Environment:
NetBSD frodo 3.0 NetBSD 3.0 (GENERIC) #0: Mon Dec 19 01:12:53 UTC 2005  builds@b4.netbsd.org:/home/builds/ab/netbsd-3-0-RELEASE/mac68k/200512182024Z-obj/home/builds/ab/netbsd-3-0-RELEASE/src/sys/arch/mac68k/compile/GENERIC mac68k
>Description:
{1} nslookup www.netbsd.org 
/home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/isc/unix/socket.c:445: fcntl(718952, F_SETFL, -1): Bad file descriptor
/home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/isc/unix/socket.c:2338: fatal error: RUNTIME_CHECK(make_nonblock(manager->pipe_fds[0]) == 0) failed
Abort trap (core dumped)

{2} host www.netbsd.org
/home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/isc/unix/socket.c:445: fcntl(717056, F_SETFL, -1): Bad file descriptor
/home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/isc/unix/socket.c:2338: fatal error: RUNTIME_CHECK(make_nonblock(manager->pipe_fds[0]) == 0) failed
Abort trap (core dumped)

but for a local name

frodo: {3} host frodo
/home/builds/ab/netbsd-3-0-RELEASE/src/dist/bind/lib/dns/sec/dst/dst_api.c:120: REQUIRE(mctx != (void *)0 && ectx != (void *)0) failed.
Abort trap (core dumped)

>How-To-Repeat:
Use the above commands.

I add that I investigate this because strangely the telnet daemon did not accept connection and failed every authentication, thus I supposed name lookup problems (fortunately ssh worked, so I could post this report)
>Fix: