#47285 [Com]: strtotime() still leaks memory

From: Date: Sat, 14 Feb 2009 10:06:38 +0000
Subject: #47285 [Com]: strtotime() still leaks memory
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-133827@lists.php.net to get a copy of this message
ID: 47285 Comment by: danger at FreeBSD dot org Reported By: danger at FreeBSD dot org Status: No Feedback Bug Type: Date/time related Operating System: FreeBSD PHP Version: 5.2.8 New Comment: No feedback provided? I reported that the dev version still leaks and as I said, I am still able to provide you with the access to the machine, where you will be able to reproduce the problem... Previous Comments: ------------------------------------------------------------------------ [2009-02-13 11:02:06] maarten at vivesta dot com I have the same problem: PHP 5.2.9RC2-dev (cli) (built: Feb 12 2009 15:10:25) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies On FreeBSD 6.3. Built PHP without FreeBSD patches, just downloaded latest and did "cd php5.2-200902121330", "./configure", "make" and "./sapi/cli/php" <?php while (1) { $a=strtotime ( 'now', time() ); } Top shows the memory usage growing steadily. ------------------------------------------------------------------------ [2009-02-13 01:00:01] php-bugs at lists dot php dot net No feedback was provided for this bug for over a week, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". ------------------------------------------------------------------------ [2009-02-05 12:09:35] danger at FreeBSD dot org root@[temp ~]# php -v PHP 5.2.9-dev (cli) (built: Feb 5 2009 13:04:42) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies still leaks. If you are interested in access to that box to debug, I will be glad to provide you with the login credentials. ------------------------------------------------------------------------ [2009-02-05 10:01:54] derick@php.net Like I said, I can not reproduce this. But please test without xcache being loaded! ------------------------------------------------------------------------ [2009-02-05 09:56:32] danger at FreeBSD dot org root@[web1 ~]# php -v PHP 5.2.9-dev (cli) (built: Feb 5 2009 10:52:28) Copyright (c) 1997-2009 The PHP Group Zend Engine v2.2.0, Copyright (c) 1998-2009 Zend Technologies with XCache v1.2.2, Copyright (c) 2005-2007, by mOo I also applied distribution patches that come with FreeBSD (exluding the patch-ext_date_lib_timelib_structs.h one), you may find them at http://cvsweb.freebsd.org/ports/lang/php5/files. Verified that the above PHP version still leaks memory, slower but still. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/47285 -- Edit this bug report at http://bugs.php.net/?id=47285&edit=1

« previous php.bugs (#133827) next »