Re: Bug #1100: Segmentation Fault
| From: | Rasmus Lerdorf | Date: | Thu, 01 Jan 1970 00:00:00 +0000 |
| Subject: | Re: Bug #1100: Segmentation Fault | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-3762@lists.php.net to get a copy of this message | ||
> 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@lists.php.net
For help: php-dev-help@lists.php.net