Re: PHP 4.0 Bug #3698 Updated: Segfault w/ classes

From: Date: Fri, 03 Mar 2000 10:51:14 +0000
Subject: Re: PHP 4.0 Bug #3698 Updated: Segfault w/ classes
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-16340@lists.php.net to get a copy of this message
The problem is obvious, and it is a programming but as it is recursive. I do want to think of how to stop it from crashing. It's kind of difficult though, especially on UNIX. Andi At 10:15 AM 3/3/00 +0000, Bug Database wrote:
ID: 3698 Updated by: hholzgra Reported By: johan@ekenberg.nu Status: Analyzed Bug Type: Reproduceable crash Assigned To: Comments: seems like an "out of memory" problem thats not caught ad reported in an understandable way 1) you request a new object of type first_class, 2) its constructor requests a new second_class object 3) second_class has no constructor of its own, so base_class constructor is used 4) base_class constructor requests a new first_class object 5) continue at step 2) until memory is full Full Bug description available at: http://bugs.php.net/version4/?id=3698 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net
--- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#16340) next »