From owner-freebsd-questions Thu Apr 30 05:13:14 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA00925 for freebsd-questions-outgoing; Thu, 30 Apr 1998 05:13:14 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from puck.nether.net (jared@puck.nether.net [204.42.254.5]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA00912 for ; Thu, 30 Apr 1998 05:13:08 -0700 (PDT) (envelope-from jared@puck.nether.net) Received: (from jared@localhost) by puck.nether.net (8.9.0.Beta5/8.7.3) id IAA30944; Thu, 30 Apr 1998 08:13:07 -0400 Message-ID: <19980430081307.B30739@puck.nether.net> Date: Thu, 30 Apr 1998 08:13:07 -0400 From: Jared Mauch To: freebsd-questions@FreeBSD.ORG Subject: 2.2.5-REL dns libc bugs? Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.91.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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