Built with php4-200109071335 linked with mycrpt 2.4.11 and 2.4.15 and the leak is still there: 0 50690 1 0 2 0 2944 2464 select Ss ?? 0:00.07 src/httpd --> 1 50747 50690 70 2 0 13300 12816 accept S ?? 0:01.36 src/httpd 1 50748 50690 4 2 0 2968 2472 accept S ?? 0:00.00 src/httpd 1 50749 50690 4 2 0 2968 2472 accept S ?? 0:00.00 src/httpd 1 50750 50690 4 2 0 2968 2472 accept S ?? 0:00.00 src/httpd 1 50751 50690 4 2 0 2968 2472 accept S ?? 0:00.00 src/httpd 1 50754 50690 0 2 0 2968 2472 accept S ?? 0:00.00 src/httpd After a few more executions: 0 50690 1 0 2 0 2944 2016 select Ss ?? 0:00.08 src/httpd 1 50747 50690 45 2 0 33392 0 accept SW ?? 0:00.00 src/httpd 1 50748 50690 51 2 0 33392 0 accept SW ?? 0:00.00 src/httpd 1 50749 50690 49 2 0 33392 0 accept SW ?? 0:00.00 src/httpd 1 50750 50690 24 2 0 33392 0 accept SW ?? 0:00.00 src/httpd 1 50751 50690 48 2 0 33392 0 accept SW ?? 0:00.00 src/httpd 1 50754 50690 52 2 0 43444 42608 accept S ?? 0:05.58 src/httpd John Capo Quoting Bug Database ([EMAIL PROTECTED]): > ID: 11642 > Updated by: derick > Reported By: [EMAIL PROTECTED] > Old Status: Assigned > Status: Feedback > Bug Type: mcrypt related > Operating System: FreeBSD 4.3-stable > PHP Version: 4.0.6 > Assigned To: derick > New Comment: > > I could not reproduce this with the latest CVS. Can you try the CVS version, or a >snapshot from snaps.php.net? > > Derick > > Previous Comments: > ------------------------------------------------------------------------ > > [2001-06-24 16:41:14] [EMAIL PROTECTED] > > I'll check this out > > ------------------------------------------------------------------------ > > [2001-06-24 12:17:53] [EMAIL PROTECTED] > > Minimal configuration > > ./configure --without-mysql --with-apache=../apache_1.3.20 --without-gd >--without-zlib --without-gdbm > --without-shared-apache --with-mcrypt > > libmcrypt versions 2.2.7, 2.4.10, 2.4.11, 2.4.15 > php versions 4.0.4pl1, 4.0.5, 4.0.6 > > This script leaks about 6MB per execution on my system. > > <PRE> > <? > $key = "87654321"; > > for ($i = 500; $i--; ) > $input .= '1234567890'; > > require("Crypt/CBC.php"); > > $CBC = new Crypt_CBC($key, "DES"); > $block = $CBC->encrypt($input); > $x = $CBC->decrypt($block); > > if ($x != $input) > print "$x\n"; > ?> > </PRE> > > Modifying PEAR/Crypt/CBC.php to use mcrypt_ecb() instead of > mcrypt_generic() reduces memory leak to less than 1MB > after 1000 executions. > > > > > ------------------------------------------------------------------------ > > > > ATTENTION! Do NOT reply to this email! > To reply, use the web interface found at http://bugs.php.net/?id=11642&edit=2 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]