You are viewing a plain text version of this content. The canonical link for it is here.
Posted to apache-bugdb@apache.org by Kotaro Ise <ko...@toshiba.co.jp> on 2001/12/10 00:56:32 UTC
os-linux/9091: httpd is crashed without any logs.
>Number: 9091
>Category: os-linux
>Synopsis: httpd is crashed without any logs.
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: apache
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: apache
>Arrival-Date: Wed Dec 12 12:40:11 PST 2001
>Closed-Date:
>Last-Modified:
>Originator: kotaro.ise@toshiba.co.jp
>Release: 1.3.19
>Organization:
apache
>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:
>Unformatted:
[In order for any reply to be added to the PR database, you need]
[to include <ap...@Apache.Org> 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! ]