Re: [PHP-DEV] Bug #1100: Segmentation Fault From: Rasmus Lerdorf (rasmus <email protected>)
Date: 01/28/99

> I get a [Thu Jan 28 13:54:33 1999] [notice] httpd: child pid 19344 exit signal Segmentation Fault (11) whenever requesting any .php-file. I donīt have a clue what to do to find out more so any hint would be appreciated....

> #0 0xef4a4668 in strlen ()
> #1 0x79bfc in _estrdup (s=0x0) at alloc.c:270
> #2 0x7c028 in php3_init_request_info (conf=0x1b0f14) at request_info.c:209

Hrm.. Any chance that when you compiled PHP you pointed it at header
files from a standard Apache instead of the StrongHold ones? They are not
the same, and I would expect something like this if you did this. Other
than that, all I can suggest is running httpd -X under gdb and
single-stepping into php3_init_request_info() and try to determine why
r->filename is null. It really shouldn't be, so either the request
structure is messed up because of a header file mixup or one of the other
modules are stepping all over memory and blowing it away.

-Rasmus

--
PHP Development Mailing List   http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe <email protected>
For help: php-dev-help <email protected>