View Issue Details

IDProjectCategoryView StatusLast Update
0000166XdebugUncategorizedpublic2006-02-13 19:43
Reportershepherdguy Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Summary0000166: Seg fault from set_error_handler inside of class
Description

this is a segmentation fault bug with xdebug 1.3.2 and php 5.0.4 (stock fedora core 0000004 release rpm=5.0.4-10.5). Occurs if library loaded in. xdebug doesn't have to be running.
Only appears in a class situation. The same error code doesn't cause problems outside of a class.

Additional Information

<?

class Breaks {

function get($url) {
}

function run() {
set_error_handler('simpleTestErrorHandler');
$this->testBreaks();
restore_error_handler();
}

function testBreaks() {
print "$x"; // this works
$this->get("$x"); // this DOESNT

print "No problem";

}
}

function simpleTestErrorHandler() {
}

#phpinfo();
#exit;

$t = new Breaks();
$t->run();
exit;

?>

TagsNo tags attached.
Operating SystemFedora Core 4
PHP Version5.0.4

Activities

derick

2006-02-13 19:43

administrator   ~0000367

This has been fixed a loooong time ago for Xdebug 2. Please use the latest beta (2.0.0beta5) as it has had many improvements.