php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #45817 Segfault AGAIN!
Submitted: 2008-08-14 07:40 UTC Modified: 2008-08-14 08:14 UTC
From: foo at bar dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.2.6 OS: Linux Ubuntu 8.04 stock
Private report: No CVE-ID: None
 [2008-08-14 07:40 UTC] foo at bar dot com
Description:
------------
Yet another great example why you guys should concentrate on stability instead of marketing.

This makes me think that you're incompetent 

Reproduce code:
---------------
<?php

class A {
  public function __construct() {
    self::doIt();
  }
  
  public static function doIt() {
    C::doIt();
  }
}

class C extends A {
}

$c = new C;


Expected result:
----------------
What ever but segfault

Actual result:
--------------
segfault

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-08-14 08:14 UTC] pajoye@php.net
what you do is:

function a() { a(); }
a();

recursion > not a bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 02:01:32 2024 UTC