BIND 10 #2477: b10-host hangs on some systems

BIND 10 Development do-not-reply at isc.org
Mon Nov 12 14:58:10 UTC 2012


#2477: b10-host hangs on some systems
-------------------------------------+-------------------------------------
            Reporter:  jreed         |                        Owner:
                Type:  defect        |                       Status:  new
            Priority:  medium        |                    Milestone:  New
           Component:  Unclassified  |  Tasks
           Sensitive:  0             |                     Keywords:
         Sub-Project:  DNS           |              Defect Severity:  N/A
Estimated Difficulty:  0             |  Feature Depending on Ticket:
         Total Hours:  0             |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
 The examples/host/b10-host command hangs when doing a lookup on some
 systems:

 OpenBSD 5.1 amd64
 {{{
  18879 b10-host CALL  sigprocmask(SIG_SETMASK,0)
  18879 b10-host RET   sigprocmask 4294901503/0xfffefeff
  18879 b10-host CALL  poll(0x2026af000,0x1,0)
  18879 b10-host RET   poll 0
  18879 b10-host CALL  poll(0x2026af000,0x2,0xffffffff)
 }}}

 NetBSD 4.0.1_PATCH i386
 {{{
  28381      1 b10-host CALL  __socket30(2,2,0x11)
  28381      1 b10-host RET   __socket30 3
  28381      1 b10-host CALL  sendto(3,0x8056000,0x19,0,0x8057020,0x10)
  28381      1 b10-host GIO   fd 3 wrote 25 bytes
        "\0\0\^A\0\0\^A\0\0\0\0\0\0\^Cisc\^Corg\0\0\^A\0\^A"
  28381      1 b10-host RET   sendto 25/0x19
  28381      1 b10-host CALL
 recvfrom(3,0xbfbfdba4,0x1000,0,0xbfbfeba4,0xbfbfecb0)
 }}}

 Solaris 11.0 i86pc
 {{{
 so_socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP, 0, SOV_XPG4_2) = 3
 sendto(3, "\0\001\0\001\0\0\0\0\0\0".., 25, 32768, 0x08067D00, 16) = 25
 recvfrom(3, 0x08046A98, 4096, 0, 0x08047A98, 0x08047C38) (sleeping...)
 }}}

 Solaris 10 sparc
 {{{
 so_socket(PF_INET, SOCK_DGRAM, IPPROTO_IP, "", SOV_XPG4_2) = 3
 sendto(3, "\0\001\0\001\0\0\0\0\0\0".., 25, 32768, 0x00028158, 16) = 25
 recvfrom(3, 0xFFBFEB20, 4096, 0, 0xFFBFFB20, 0xFFBFEAE0) (sleeping...)
 }}}

 NetBSD 6.0 i386
 {{{
  13807      1 b10-host CALL  __socket30(2,2,0x11)
  13807      1 b10-host RET   __socket30 3
  13807      1 b10-host CALL  sendto(3,0xbb415400,0x19,0,0xbb412060,0x10)
  13807      1 b10-host MISC  msghdr: [name=0xbb412060, namelen=16,
 iov=0xda4c3c8c, iovlen=1, control=0x0, controllen=133, flags=0]
  13807      1 b10-host MISC  mbsoname: [127.0.0.1]
  13807      1 b10-host GIO   fd 3 wrote 25 bytes
        "\0\0\^A\0\0\^A\0\0\0\0\0\0\^Cisc\^Corg\0\0\^A\0\^A"
  13807      1 b10-host RET   sendto 25/0x19
  13807      1 b10-host CALL
 recvfrom(3,0xbfbfdaf8,0x1000,0,0xbfbfeaf8,0xbfbfec18)
  13807      1 b10-host MISC  msghdr: [name=0x0, namelen=3273279456,
 iov=0xda4c3c88, iovlen=1, control=0x0, controllen=3226790324, flags=0]
 }}}

 Debian GNU/Linux 6.0 i686
 {{{
 socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
 sendto(3, "\0\0\1\0\0\1\0\0\0\0\0\0\3isc\3org\0\0\1\0\1", 25, 0,
 {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")},
 16) = 25
 recvfrom(3,
 }}}

 Fedora Linux 17 x86_64
 {{{
 socket(PF_INET, SOCK_DGRAM, IPPROTO_UDP) = 3
 sendto(3, "\0\0\1\0\0\1\0\0\0\0\0\0\3isc\3org\0\0\1\0\1", 25, 0,
 {sa_family=AF_INET, sin_port=htons(53), sin_addr=inet_addr("127.0.0.1")},
 16) = 25
 recvfrom(3,
 }}}

 FreeBSD 8.2 amd64
 {{{
  72045 b10-host RET   sendto 25/0x19
  72045 b10-host CALL
 recvfrom(0x3,0x7fffffffd520,0x1000,0,0x7fffffffe520,0x7fffffffe74c)
 }}}

 It does not hang on the Macmini build system nor my NetBSD 6.0 home
 system. For now I removed running it from the example step for the
 automated builds.

 I realize I probably should not do outside networking in a test, but the
 reference command "host" on these systems works and I also use some
 networking simply to checkout the code too.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2477>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list