PHP 4.0 Bug #3698 Updated: Segfault w/ classes
| From: | Bug Database | Date: | Fri, 03 Mar 2000 10:15:06 +0000 |
| Subject: | PHP 4.0 Bug #3698 Updated: Segfault w/ classes | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-16337@lists.php.net to get a copy of this message | ||
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