ID: 35820 Updated by: [EMAIL PROTECTED] Reported By: ottawaremovethissixtyseven at hotmail dot com -Status: Open +Status: Feedback Bug Type: IIS related Operating System: W2K PHP Version: 4CVS-2005-12-27 (snap) New Comment:
Is it necessary to use some DB API to reproduce a leak in XML-related function? And I should note that this script doesn't make any sense, since we don't have the Connect.php and the database used, so we're unable just run it and see the problem. Previous Comments: ------------------------------------------------------------------------ [2005-12-29 16:29:14] ottawaremovethissixtyseven at hotmail dot com As part of troubleshooting we created this simple PHP script and ran an intense performance test: <?php include('Connect.php'); $SQL = 'SELECT COUNT(*) FROM COLORS'; fdbc_fetch_into(fdbc_exec($DB,$SQL),&$Count); echo "You have {$Count[0]} colors defined in your system"; ?> Our debugger is showing: a 97% leak probability in php4ts!XmlInitEncoding Please let me know if you need additional information. ------------------------------------------------------------------------ [2005-12-27 20:51:55] [EMAIL PROTECTED] Short reproducable scripts are fine. Please leave the status at "feedback" until you can provide those. ------------------------------------------------------------------------ [2005-12-27 20:38:56] ottawaremovethissixtyseven at hotmail dot com I'm guessing you're looking for the PHP scripts that are being used in this performance test. I'm working on getting this. If you need anything other than the scripts please let me know. ------------------------------------------------------------------------ [2005-12-27 20:04:12] [EMAIL PROTECTED] It's possible if you provide some more information about the issue. The patch would be good too. ------------------------------------------------------------------------ [2005-12-27 20:01:09] ottawaremovethissixtyseven at hotmail dot com We are currently unable to use PHP 5 with our application. Any chance this memory leak will be fixed in an upcoming PHP 4.x snapshot? ------------------------------------------------------------------------ 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/35820 -- Edit this bug report at http://bugs.php.net/?id=35820&edit=1