View Issue Details

IDProjectCategoryView StatusLast Update
0000166XdebugUncategorizedpublic2006-02-13 19:43
Reportershepherdguy Assigned Toderick  
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 &quot;No problem&quot;;

}
}

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.

Issue History

Date Modified Username Field Change
2006-02-13 11:54 shepherdguy New Issue
2006-02-13 19:43 derick Status new => resolved
2006-02-13 19:43 derick Resolution open => fixed
2006-02-13 19:43 derick Assigned To => derick
2006-02-13 19:43 derick Note Added: 0000367
2016-07-31 12:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 12:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized