Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:26531 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 51489 invoked by uid 1010); 13 Nov 2006 09:19:32 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 51474 invoked from network); 13 Nov 2006 09:19:31 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 13 Nov 2006 09:19:31 -0000 X-Host-Fingerprint: 80.123.98.46 unknown Received: from [80.123.98.46] ([80.123.98.46:6948] helo=localhost.localdomain) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 45/81-40419-2A838554 for ; Mon, 13 Nov 2006 04:19:31 -0500 To: internals@lists.php.net,Antony Dovgal Message-ID: <455838CB.1020204@php.net> Date: Mon, 13 Nov 2006 10:20:11 +0100 User-Agent: Thunderbird 1.5.0.7 (X11/20060918) MIME-Version: 1.0 CC: Dmitry Stogov References: <45563921.1090900@php.net> <455773F8.9070904@zend.com> In-Reply-To: <455773F8.9070904@zend.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Posted-By: 80.123.98.46 Subject: Re: [PHP-DEV] memory manager panic From: mike@php.net (Michael Wallner) Hi Tony, > > Mike, please make sure you didn't forget to do `cvs up Zend` and > `./cvsclean` to get a clean build. > I can't reproduce it with your test case, though. It is generated from a clean build. I'd appreciate if you could try to replicate it with the following shell script: --- #!/bin/bash # adjust these values BYTES=210000 INTVL=50 LIMIT=500000 # RTVAL=0 START=$BYTES while test $RTVAL == "0" do sapi/cli/php -dmemory_limit=$LIMIT -r"leak($BYTES);" >/dev/null 2>&1; RTVAL=$?; if test $RTVAL == "255"; then if test $START == $BYTES; then echo "Initial BYTES ($START) too big"; else echo "Intervall ($INTVL) too big"; fi; exit; fi; BYTES=`expr $BYTES + $INTVL`; if test $BYTES == $LIMIT; then echo "Huh? Reached LIMIT ($LIMIT)"; exit; fi; done; echo "SEGV at $BYTES bytes alloc"; --- -- Michael