The following NEW bug has been ADDED.
======================================================================
http://bugs.xdebug.org/bug_view_page.php?bug_id=0000241
======================================================================
Reporter: magnus
Handler:
======================================================================
Project: Xdebug
Bug ID: 241
Category: Usage problems
Reproducibility: always
Severity: crash
Priority: normal
Status: new
Operating System: Debian 3.1
PHP Version: 5.2-dev
Xdebug Version: 2.0.0rc4-dev
======================================================================
Date Submitted: 2007-02-15 17:55 CET
Last Modified: 2007-02-15 17:55 CET
======================================================================
Summary: Crash in xdebug_get_function_stack()
Description:
This code segv:
<?php
function error_handler($errno, $string, $file, $line, $context)
{
$entry = Error_Class::newError();
}
class Error_Class
{
public static function newError($errno = false)
{
return new Error_Entry(false, $errno);
}
public static function getBT()
{
$tmp = xdebug_get_function_stack();
}
}
class Error_Entry
{
public function __construct($base, $errno)
{
Error_Class::getBT();
}
}
set_error_handler('error_handler');
$tmp = explode('/', trim($_SERVER['FOO'], '/'));
?>
======================================================================
Bug History
Date Modified Username Field Change
======================================================================
2007-02-15 17:55magnus New Bug
2007-02-15 17:55magnus Bug Monitored: magnus
======================================================================
Received on Thu Feb 15 2007 - 17:55:53 GMT
This archive was generated by hypermail 2.2.0 : Sun Jun 24 2018 - 04:00:03 BST