|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59059 Calling methods, declared in parent classes causes seg fault
Submitted: 2010-02-02 11:26 UTC Modified: 2010-02-05 03:32 UTC
From: bugs at bilke dot org Assigned: val (profile)
Status: Closed Package: bcompiler (PECL)
PHP Version: 5.2.10 OS:
Private report: No CVE-ID: None
 [2010-02-02 11:26 UTC] bugs at bilke dot org
The staring point is a compiled custom class, which extends some php built in class.

If I call a method on the custom-class which is defined within the parent class i got a seg fault.

Reproduce code:

$f = fopen('compile/MyClass.php', "w");
bcompiler_write_file($f, 'MyClass.php');

class MyClass extends DateTime {

Calling script (index.php):
require_once 'MyClass.php';

$o = new MyClass();

Expected result:
The offset of DateTime

Actual result:
$ php index.php 
Segmentation fault
Exit 139


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2010-02-04 13:33 UTC]
Could you please check it with the latest SVN version. I believe it should be fixed now. Please confirm if the bug is gone.
 [2010-02-05 03:32 UTC] bugs at bilke dot org
bug seems to gone in the latest svn version. thx
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Jul 17 20:01:29 2024 UTC