From:             the_deppchef at hotmail dot com
Operating system: Linux  2.4.27  (Debian)
PHP version:      5.0.3
PHP Bug Type:     Reproducible crash
Bug description:  Segmentation Fault on endless loop creating large amount of 
objects

Description:
------------
When having an endless loop (it's a selfcall of a member function of an
object, but I guess it's a general problem) and creating objects with that
loop, i get a segmentation fault.

Reproduce code:
---------------
http://paste.phpfi.com/42611

Expected result:
----------------
Anything but a segmentation fault
probably "Fatal Error: out of memory"

Actual result:
--------------
[Tue Dec 21 10:37:28 2004] [notice] child pid 4249 exit signal
Segmentation fault (11)
(Output of my reproduce code ends with "Big 3390 :Medium : 1 Medium : 2" =
after ~34k created objects)

-- 
Edit bug report at http://bugs.php.net/?id=31226&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=31226&r=trysnapshot4
Try a CVS snapshot (php5.0): 
http://bugs.php.net/fix.php?id=31226&r=trysnapshot50
Try a CVS snapshot (php5.1): 
http://bugs.php.net/fix.php?id=31226&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=31226&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=31226&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=31226&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=31226&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=31226&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=31226&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=31226&r=notwrong
Not enough info:             
http://bugs.php.net/fix.php?id=31226&r=notenoughinfo
Submitted twice:             
http://bugs.php.net/fix.php?id=31226&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=31226&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=31226&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=31226&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=31226&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=31226&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=31226&r=float
No Zend Extensions:          http://bugs.php.net/fix.php?id=31226&r=nozend
MySQL Configuration Error:   http://bugs.php.net/fix.php?id=31226&r=mysqlcfg

Reply via email to