Re: Bug #12721: PHP crashes at any code-highlight related command
| From: | Zeev Suraski | Date: | Tue, 14 Aug 2001 13:32:58 +0000 |
| Subject: | Re: Bug #12721: PHP crashes at any code-highlight related command | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-63161@lists.php.net to get a copy of this message | ||
At 20:07 13-08-01, chris@de-punkt.de wrote:
Does it crash every time - will a simple highlight_string("hello"); crash it? ZeevFrom: chris@de-punkt.deOperating system: Redhat/7.0, kernel 2.2.16PHP version: 4.0.6 PHP Bug Type: Reproducible crashBug description: PHP crashes at any code-highlight related command I have (over several versions of apache and php) noticed a very strange bug: PHP keeps crashing the Apache when using .phps files or any of the highlight_*() family (including show_source, of course). The child dies with SIG11, gdb output follows: -- SNIP -- Core was generated by `/usr/local/apache/bin/httpd'. Program terminated with signal 11, Segmentation fault. #0 0x400097fd in ?? () (gdb) bt #0 0x400097fd in ?? () #1 0x4000cea0 in ?? () #2 0x4000d020 in ?? () #3 0x8061793 in php_fopen_primary_script () #4 0x400cfbfc in ?? () -- SNAP -- phpinfo() is at http://www.de-punkt.de/info.php There have been *no* similar issues on this machine (i.e. a build of mysql, which should evoke generic memory or CPU issues as well, runs through pretty clean), it only keeps crashing with PHP (and the Zend Cache, that is ;-) ).