Subject: nslookup Memory fault (core dumped)
To: NetBSD Help <netbsd-help@netbsd.org>
From: Conrad T. Pino <conrad@pino.com>
List: netbsd-help
Date: 12/29/2002 10:25:21
I'm using "nslookup" and getting "Memory fault (core dumped)" crashes.

I running NetBSD 1.6 STABLE that I compiled from source.  I would like help understanding if this is a real nslookup bug or a bug in my source compilation process.

Could anyone please try replicating the crash and report the results back?

TIA,

Conrad

This script "bug.sh" replicates the issue on my system:
------ Cut here ------
#!/bin/ksh
#
nslookup << EOF
set type=any
root
netbsd.org.
server H.GTLD-SERVERS.net.
server H.GTLD-SERVERS.net.
EOF
------ Cut here ------

The script output on my system looks like:

$ ./bug.sh
Default Server:  robin.pino.net
Address:  0.0.0.0

> > Default Server:  f.root-servers.net
Address:  192.5.5.241

> Server:  f.root-servers.net
Address:  192.5.5.241

Authoritative answers can be found from:
org     nameserver = J5.NSTLD.COM
org     nameserver = L7.NSTLD.COM
org     nameserver = M5.NSTLD.COM
org     nameserver = A7.NSTLD.COM
org     nameserver = C5.NSTLD.COM
org     nameserver = E5.NSTLD.COM
org     nameserver = F7.NSTLD.COM
org     nameserver = G7.NSTLD.COM
org     nameserver = I5.NSTLD.COM
A7.NSTLD.COM    internet address = 192.5.6.36
C5.NSTLD.COM    internet address = 192.26.92.34
E5.NSTLD.COM    internet address = 192.12.94.34
F7.NSTLD.COM    internet address = 192.35.51.36
G7.NSTLD.COM    internet address = 192.42.93.36
I5.NSTLD.COM    internet address = 192.43.172.34
J5.NSTLD.COM    internet address = 192.48.79.34
L7.NSTLD.COM    internet address = 192.41.162.36
M5.NSTLD.COM    internet address = 192.55.83.34
> Default Server:  H.GTLD-SERVERS.net
Served by:
- D.GTLD-SERVERS.net
          192.31.80.30
          net
- E.GTLD-SERVERS.net
          192.12.94.30
          net
- F.GTLD-SERVERS.net
          192.35.51.30
          net
- G.GTLD-SERVERS.net
          192.42.93.30
          net
- H.GTLD-SERVERS.net
          192.54.112.30
          net
- I.GTLD-SERVERS.net
          192.43.172.30
          net
- J.GTLD-SERVERS.net
          192.48.79.30
          net
- K.GTLD-SERVERS.net
          192.52.178.30
          net
- L.GTLD-SERVERS.net
          192.41.162.30
          net
- M.GTLD-SERVERS.net
          192.55.83.30
          net
- A.GTLD-SERVERS.net
        
          net
- B.GTLD-SERVERS.net
        
          net


> Memory fault (core dumped) 
$