Received: (qmail 77588 invoked by uid 501); 9 Dec 2001 23:56:32 -0000 Message-Id: <20011209235632.77584.qmail@apache.org> Date: 9 Dec 2001 23:56:32 -0000 From: Kotaro Ise Reply-To: kotaro.ise@toshiba.co.jp To: submit@bugz.apache.org Subject: httpd is crashed without any logs. X-Send-Pr-Version: 3.110 >Number: 9091 >Category: os-linux >Synopsis: httpd is crashed without any logs. >Confidential: no >Severity: non-critical >Priority: medium >Responsible: apache >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: apache >Arrival-Date: Wed Dec 12 12:40:11 PST 2001 >Closed-Date: Wed Dec 12 20:57:02 PST 2001 >Last-Modified: Wed Dec 12 20:57:02 PST 2001 >Originator: kotaro.ise@toshiba.co.jp >Release: 1.3.19 >Organization: >Environment: Machine: Intel PC OS: Vine Linux 2.1.5 which is japanese distribution based on redhat 6.x. Compiler:egcs-2.91.66 Environment: The machine name is not described its /etc/hosts, and DNS server does not know the name. >Description: httpd is crashed without any logs. >How-To-Repeat: type: httpd then httpd is crashed always in my machine. >Fix: in my breif check, gethostbyname() in ap_get_local_host() of util.c returns NULL, and NULL pointer(p) is reffered. NULL--> if ((!(p = gethostbyname(str))) || (!(server_hostname = find_fqdn(a, p)))) { /* Recovery - return the default servername by IP: */ Crash --> if (p->h_addr_list[0]) { >Release-Note: >Audit-Trail: State-Changed-From-To: open-closed State-Changed-By: marc State-Changed-When: Wed Dec 12 20:57:02 PST 2001 State-Changed-Why: Please update to a current version of Apache where this problem is fixed. >Unformatted: [In order for any reply to be added to the PR database, you need] [to include in the Cc line and make sure the] [subject line starts with the report component and number, with ] [or without any 'Re:' prefixes (such as "general/1098:" or ] ["Re: general/1098:"). If the subject doesn't match this ] [pattern, your message will be misfiled and ignored. The ] ["apbugs" address is not added to the Cc line of messages from ] [the database automatically because of the potential for mail ] [loops. If you do not include this Cc, your reply may be ig- ] [nored unless you are responding to an explicit request from a ] [developer. Reply only with text; DO NOT SEND ATTACHMENTS! ]