#20802 [Opn->Ctl]: memory limit crash

From: Date: Wed, 04 Dec 2002 06:33:08 +0000
Subject: #20802 [Opn->Ctl]: memory limit crash
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-26584@lists.php.net to get a copy of this message
ID: 20802 Updated by: derick@php.net Reported By: busia@tiscali.it -Status: Open +Status: Critical Bug Type: Reproducible crash Operating System: Redhat 7.0 PHP Version: 4.3.0RC2 New Comment: Veryfied with PHP 4.4.0-dev (Nov 29 2002) and PHP 4.3.0-dev (Nov 25 2002). With both versions the script just ended without any error message, but there is no segmentation fault. Derick Previous Comments: ------------------------------------------------------------------------ [2002-12-03 16:12:50] busia@tiscali.it I have a php installation with a memory limit set to 8MB. If I try to run this script <? for ($i=0; $i<=10000000; $i++) { $var.="a"; } echo "all is ok"; ?> I don't receive an error like "memory limit excedeed" (10MB > 8MB), simply the server kills the connection without any error on the screen or in the logs. Server configuration: Linux Redhat 7.0 Apache 1.3.22 PHP 4.3.0RC2 Zend Optimizer 2.0.3 Mysql 4.0.5 Configure: './configure' '--enable-track-vars' '--prefix=/usr' '--exec-prefix=/usr' '--libexecdir=/usr/lib/apache' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--datadir=/home/httpd' '--sysconfdir=/etc/httpd/conf' '--localstatedir=/var' '--libdir=/usr/lib/apache' '--includedir=/usr/include/apache' '--mandir=/usr/man' '--with-mysql=/usr' '--enable-memory-limit' '--with-config-file-path=/usr/local/Zend/etc' '--with-apxs' '--with-zlib' ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20802&edit=1

« previous php.bugs (#26584) next »