Bug #11061: Crash while recursivly call of a class method

From: Date: Wed, 23 May 2001 18:24:30 +0000
Subject: Bug #11061: Crash while recursivly call of a class method
Groups: php.dev 
Request: Send a blank email to php-dev+get-56522@lists.php.net to get a copy of this message
From: Wingman@WINGDesign.de Operating system: Linux 2.4.x/Windows 98 PHP version: 4.0 Latest CVS (2001-05-23) PHP Bug Type: Reproducible crash Bug description: Crash while recursivly call of a class method This class will core dump your php, reproducable *every* time (how boring ;-)), testing with latest CVS on Linux 2.4.x and Windows 98 <? class CFooBar { function barFoo() { return $this->barFoo(); } } $fooBar = New CFooBar(); $fooBar->barFoo(); ?> gdb bt: (gdb) bt #0 0x80e7a56 in zend_fetch_var_address (result=0x81f9fb8, op1=0x81f9fc8, op2=0x81f9fd8, Ts=0xbf800038, type=0) at ./zend_execute.c:462 #1 0x80e9c18 in execute (op_array=0x81fb03c) at ./zend_execute.c:1209 #2 0x80ec12b in execute (op_array=0x81fb03c) at ./zend_execute.c:1614 #3 0x80ec12b in execute (op_array=0x81fb03c) at ./zend_execute.c:1614 [CUT] #47 0x80ec12b in execute (op_array=0x81fb03c) at ./zend_execute.c:1614 #48 0x80ec12b in execute (op_array=0x81fb03c) at ./zend_execute.c:1614 #49 0x80ec12b in execute (op_array=0x81fb03c) at ./zend_execute.c:1614 -- Edit Bug report at: http://bugs.php.net/?id=11061&edit=1

« previous php.dev (#56522) next »