Hi all! This small script: <?
class test { var $a = false; var $x = false; function getA() { if (!$this->x) { // yep, I know, it's infinite loop $this->foo(); } return $this->a; } function foo() { return $this->getA(); } } $test = new test; $test->getA(); ?> produces segfault in latest HEAD. A small part of backtrace(it's really huge) is below: Program received signal SIGSEGV, Segmentation fault. 0x40325455 in zend_fetch_obj_r_handler (execute_data=0xbf8000e0, opline=0x40f3a96c, op_array=0x40f39b84) at /home/tony/CVS/php-src/Zend/zend_execute.c:2120 2120 zend_fetch_property_address_read(&opline->result, &opline->op1, &opline->op2, EX(Ts), BP_VAR_R TSRMLS_CC); (gdb) bt #0 0x40325455 in zend_fetch_obj_r_handler (execute_data=0xbf8000e0, opline=0x40f3a96c, op_array=0x40f39b84) at /home/tony/CVS/php-src/Zend/zend_execute.c:2120 #1 0x403237ba in execute (op_array=0x40f39b84) at /home/tony/CVS/php-src/Zend/zend_execute.c:1391 #2 0x40326f19 in zend_do_fcall_common_helper (execute_data=0xbf800210, opline=0x40f3acc0, op_array=0x40f39d6c) at /home/tony/CVS/php-src/Zend/zend_execute.c:2728 #3 0x40327223 in zend_do_fcall_by_name_handler (execute_data=0x40f39b84, opline=0x40f3a970, op_array=0x40f3a970) at /home/tony/CVS/php-src/Zend/zend_execute.c:2810 #4 0x403237ba in execute (op_array=0x40f39d6c) at /home/tony/CVS/php-src/Zend/zend_execute.c:1391 #5 0x40326f19 in zend_do_fcall_common_helper (execute_data=0xbf800390, opline=0x40f3aa9c, op_array=0x40f39b84) at /home/tony/CVS/php-src/Zend/zend_execute.c:2728 #6 0x40327223 in zend_do_fcall_by_name_handler (execute_data=0x40f39b84, opline=0x40f3a970, op_array=0x40f3a970) at /home/tony/CVS/php-src/Zend/zend_execute.c:2810 #7 0x403237ba in execute (op_array=0x40f39b84) at /home/tony/CVS/php-src/Zend/zend_execute.c:1391 #8 0x40326f19 in zend_do_fcall_common_helper (execute_data=0xbf8004c0, opline=0x40f3acc0, op_array=0x40f39d6c) at /home/tony/CVS/php-src/Zend/zend_execute.c:2728 #9 0x40327223 in zend_do_fcall_by_name_handler (execute_data=0x40f39b84, opline=0x40f3a970, op_array=0x40f3a970) at /home/tony/CVS/php-src/Zend/zend_execute.c:2810 #10 0x403237ba in execute (op_array=0x40f39d6c) at /home/tony/CVS/php-src/Zend/zend_execute.c:1391 #11 0x40326f19 in zend_do_fcall_common_helper (execute_data=0xbf800640, opline=0x40f3aa9c, op_array=0x40f39b84) at /home/tony/CVS/php-src/Zend/zend_execute.c:2728 #12 0x40327223 in zend_do_fcall_by_name_handler (execute_data=0x40f39b84, opline=0x40f3a970, op_array=0x40f3a970) at /home/tony/CVS/php-src/Zend/zend_execute.c:2810 #13 0x403237ba in execute (op_array=0x40f39b84) at /home/tony/CVS/php-src/Zend/zend_execute.c:1391 .... --- WBR, Antony Dovgal aka tony2001 [EMAIL PROTECTED] || [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php