#23565 [Opn->Bgs]: Displaying Highlighted Syntax (php -s) or (.phps) seg faults
ID: 23565
Updated by: sniper@php.net
Reported By: tim at timcrider dot com
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: Red Hat 8.0
PHP Version: 4.3.2RC4
New Comment:
It's that 3rd party accelerator..remove it and this will
work.
Previous Comments:
------------------------------------------------------------------------
[2003-05-23 06:05:54] tim at timcrider dot com
I am still getting the error whenever I add in an 'output_handler'
-----[ test ]-----
(towely) htdocs# php -s inf.php
<code><font color="#000000">
<font color="#0000CC"><?php<br /><br
/>phpinfo</font><font
color="#006600">();<br /><br /></font><font
color="#0000CC">?><br
/></font>
</font>
Segmentation fault
-----[ script ]-----
<?php
phpinfo();
?>
-----[ Version info ]-----
(towely) htdocs# php -v
PHP 4.3.2RC4 (cli) (built: May 22 2003 13:16:57)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
with the ionCube PHP Accelerator v1.3.3r2, Copyright (c) 2001-2002,
by Nick Lindridge
-----[ ini entry ]-----
output_handler = ob_gzhandler
------------------------------------------------------------------------
[2003-05-22 16:40:13] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
------------------------------------------------------------------------
[2003-05-17 12:06:17] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
Cannot replicate using latest CVS.
------------------------------------------------------------------------
[2003-05-16 14:57:46] tim at timcrider dot com
I found out what was causing the crash, so this can be updated to be
more accurate. In my php.ini file I had this set:
output_handler = ob_gzhandler
It worked fine for serving pages, and command line, but the source seg
faults. I commented out that line:
;output_handler = ob_gzhandler
and everything works fine now.
------------------------------------------------------------------------
[2003-05-13 19:55:03] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
And try the snapshot with this configure line:
./configure --disable-all --disable-cgi
(ie. just plain CLI)
I don't get any segfault either..
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/23565
--
Edit this bug report at http://bugs.php.net/?id=23565&edit=1
Thread (8 messages)