Re: [PHP-DEV] Bug #12721: PHP crashes at any code-highlight related command

2001-08-14 Thread Zeev Suraski

At 20:07 13-08-01, [EMAIL PROTECTED] wrote:
>From: [EMAIL PROTECTED]
>Operating system: Redhat/7.0, kernel 2.2.16
>PHP version:  4.0.6
>PHP Bug Type: Reproducible crash
>Bug 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
>;-) ).

Does it crash every time - will a simple highlight_string("hello"); crash it?

Zeev


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP-DEV] Bug #12721: PHP crashes at any code-highlight related command

2001-08-13 Thread chris

From: [EMAIL PROTECTED]
Operating system: Redhat/7.0, kernel 2.2.16
PHP version:  4.0.6
PHP Bug Type: Reproducible crash
Bug 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
;-) ).


-- 
Edit bug report at: http://bugs.php.net/?id=12721&edit=1


-- 
PHP Development Mailing List 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]