From owner-freebsd-bugs Tue Mar 18 12:20:10 2003 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E9B2F37B401 for ; Tue, 18 Mar 2003 12:20:08 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 955A443F93 for ; Tue, 18 Mar 2003 12:20:08 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h2IKK8NS094979 for ; Tue, 18 Mar 2003 12:20:08 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h2IKK8vq094976; Tue, 18 Mar 2003 12:20:08 -0800 (PST) Date: Tue, 18 Mar 2003 12:20:08 -0800 (PST) Message-Id: <200303182020.h2IKK8vq094976@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Bruce Evans Subject: Re: bin/50100: Ping doesn't handle SIGINT while resolving hosts Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/50100; it has been noted by GNATS. From: Bruce Evans To: Johan Mulder Cc: FreeBSD-gnats-submit@FreeBSD.ORG Subject: Re: bin/50100: Ping doesn't handle SIGINT while resolving hosts Date: Wed, 19 Mar 2003 07:13:57 +1100 (EST) On Wed, 12 Mar 2003, Johan Mulder wrote: > >Description: > When a ping is started, ping tries to resolve the host. When the > host can not be resolved or resolves very slowly, ping doesn't > do anything when it receives a SIGINT. > >How-To-Repeat: > Ping a host in a domain of which you're sure the nameservers are > down or unreachable. > >Fix: > > Fix the signal handler. The signal handler is not broken. Last time I looked the bug seemed to be deep in the resolver library. res_send() retries after EINTR for some reason. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message