[parisc-linux] nslookup segmentation fault

Carlos O'Donell Jr. carlos@baldric.uwo.ca
Tue, 26 Feb 2002 16:41:30 -0500


> Neat....
> 
> Here's part of Dennis' strace of nslookup:
> > m4450dmf:/etc# strace nslookup athp.hp.com
> [...]
> > rt_sigprocmask(SIG_BLOCK, [HUP INT TERM], NULL, 8) = 0
> > getpid()                                = 22574
> > socket(PF_INET, SOCK_STREAM, IPPROTO_IP) = 3
> > close(3)                                = 0
> > socket(PF_INET6, SOCK_STREAM, 0)        = -1 EAFNOSUPPORT (Address family
> > not su
> > pported by protocol)
> > brk(0)                                  = 0x2f000
> > brk(0x2f030)                            = 0x2f030
> > brk(0x30000)                            = 0x30000
> > brk(0x33000)                            = 0x33000
> > --- SIGSEGV (Segmentation fault) ---
> > +++ killed by SIGSEGV +++
> 
> why is it trying to do ipv6?
> 
> randolph
> -- 


I'm feel worried about what brk() is trying to do.

PF_INET==2 and PF_INET6==10 are only a single bit appart :}
Cosmic radiation maybe?

I'm not sure what is going on. Though I tried to build
Bind 8.3.1 on x86 and if failed (need to look into bits/types).

eventlib.c: In function `__evGetNext':
eventlib.c:298: structure has no member named `fds_bits'
eventlib.c:299: structure has no member named `fds_bits'
eventlib.c:300: structure has no member named `fds_bits'

c.