php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35614 extends crashes apache with Segmentation fault
Submitted: 2005-12-09 14:44 UTC Modified: 2005-12-09 14:55 UTC
From: spam at gemal dot dk Assigned:
Status: Not a bug Package: Apache related
PHP Version: 5.1.1 OS: Linux
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: spam at gemal dot dk
New email:
PHP Version: OS:

 

 [2005-12-09 14:44 UTC] spam at gemal dot dk
Description:
------------
the following code produces Segmentation fault on php

<?php
class gpic {
	function __construct() {
		$conf = new gpicConfig();
		print "test";
	}
}

class gpicConfig extends gpic {
}
?>

PHP 5.0.5 (cli) (built: Oct 31 2005 10:51:24)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.5, Copyright (c) 1998-2004 Zend Technologies
    with Zend Extension Manager v1.0.9, Copyright (c) 2003-2005, by Zend Technologies
    with Zend Optimizer v2.6.0, Copyright (c) 1998-2005, by Zend Technologies
    with Zend Debugger v5.0.0, Copyright (c) 1999-2005, by Zend Technologies

Reproduce code:
---------------
<?php
class gpic {
	function __construct() {
		$conf = new gpicConfig();
		print "test";
	}
}

class gpicConfig extends gpic {
}
?>



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-12-09 14:55 UTC] tony2001@php.net
Do not file bugs when you have Zend extensions (zend_extension=)
loaded. Examples are Zend Optimizer, Zend Debugger, Turck MM Cache,
APC, Xdebug and ionCube loader.  These extensions often modify engine
behavior which is not related to PHP itself.


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 10:01:33 2025 UTC