php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #12721 PHP crashes at any code-highlight related command
Submitted: 2001-08-13 13:07 UTC Modified: 2001-08-14 06:41 UTC
From: chris at de-punkt dot de Assigned:
Status: Closed Package: Reproducible crash
PHP Version: 4.0.6 OS: Redhat/7.0, kernel 2.2.16
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: chris at de-punkt dot de
New email:
PHP Version: OS:

 

 [2001-08-13 13:07 UTC] chris at de-punkt dot de
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 ;-) ).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-14 06:41 UTC] sniper@php.net
These have been fixed in CVS.
Try the latest snapshot: http://snaps.php.net/

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu May 08 00:01:29 2025 UTC