Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 30 Apr 1998 08:13:07 -0400
From:      Jared Mauch <jared@puck.nether.net>
To:        freebsd-questions@FreeBSD.ORG
Subject:   2.2.5-REL dns libc bugs?
Message-ID:  <19980430081307.B30739@puck.nether.net>

next in thread | raw e-mail | index | archive | help

	I've got cases where the dns library is going south on
some dns queries.

	any known libc bugs in it wrt dns issues?

	It causes very bad unhappy things to my program when it's doing
it's internal dns cache maint.

(gdb) bt
#0  0x809b3f1 in select ()
#1  0x807f5e0 in res_send ()
#2  0x807beea in res_query ()
#3  0x807c3b1 in res_querydomain ()
#4  0x807c15a in res_search ()
#5  0x807756e in _gethostbydnsname ()
#6  0x80760ff in gethostbyname2 ()
#7  0x8076087 in gethostbyname ()
#8  0x9982 in add_dns_cache (hostname=0x68000 "border1.arb.qual.net")
    at dnscache.c:110
#9  0x9a91 in my_gethostbyname (hostname=0x68000 "border1.arb.qual.net")
    at dnscache.c:165
#10 0x3eae in start_test_ping (here=0x21000) at icmp.c:70
#11 0x273e in service_this (here=0x21000) at syswatch.c:609
#12 0x2986 in service_checks () at syswatch.c:745
#13 0x2b8f in do_new_watch (
    cmdname=0xefbfdc34 "/home/jared/sysmon-0.78.4.10/src/sysmond", 
    listenport=1345) at syswatch.c:812
#14 0x2e9b in main (argc=2, argv=0xefbfdbc8) at syswatch.c:926
(gdb) break dnscache.c:111
Breakpoint 1 at 0x9984: file dnscache.c, line 111.
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x809b3f1 in select ()
(gdb) print time(0)
$7 = 893937040
(gdb) cont
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x8084981 in recvfrom ()
(gdb) bt
#0  0x8084981 in recvfrom ()
#1  0x807f68f in res_send ()
#2  0x807beea in res_query ()
#3  0x807c3b1 in res_querydomain ()
#4  0x807c15a in res_search ()
#5  0x807756e in _gethostbydnsname ()
#6  0x80760ff in gethostbyname2 ()
#7  0x8076087 in gethostbyname ()
#8  0x9982 in add_dns_cache (hostname=0x68000 "border1.arb.qual.net")
    at dnscache.c:110
#9  0x9a91 in my_gethostbyname (hostname=0x68000 "border1.arb.qual.net")
    at dnscache.c:165
#10 0x3eae in start_test_ping (here=0x21000) at icmp.c:70
#11 0x273e in service_this (here=0x21000) at syswatch.c:609
#12 0x2986 in service_checks () at syswatch.c:745
#13 0x2b8f in do_new_watch (
    cmdname=0xefbfdc34 "/home/jared/sysmon-0.78.4.10/src/sysmond", 
    listenport=1345) at syswatch.c:812
#14 0x2e9b in main (argc=2, argv=0xefbfdbc8) at syswatch.c:926
(gdb) print time (0)
$8 = 893937048



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980430081307.B30739>