#28512 [NoF-Opn]: Mssql.c runtime error
ID: 28512 User updated by: barry at hpfm dot com dot au Reported By: barry at hpfm dot com dot au -Status: No Feedback +Status: Open -Bug Type: Session related +Bug Type: *Web Server problem Operating System: Redhat 9.0 PHP Version: 4.3.5 New Comment: Problem still exists - I'll try to get more details on the exact sequence of calls though the only real notive we get is a radical reduction in the performance of the queries and the associated path_to_logs/error_log file produced by Apache. Previous Comments: [2004-06-02 01:00:03] 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. [2004-05-25 23:28:59] [EMAIL PROTECTED] Can you please try to create a sample that uses the native function calls directly. That would make debugging easier for me. [2004-05-25 00:53:43] barry at hpfm dot com dot au Description: I am developing an application that runs php on Rh9.0,Apache1.3 that accesses data residing on a Windows SBS server running SQLSERVER. I am getting huge apache error_log files (see attached sample) because of a memory leak in msssql.c. The application runs quite slowly and really hammers the apache server. The application is using PEAR DB, DBO. Occassionally the $dbo-find() will not return anything at all. Reproduce code: --- ?php require_once config.php; require_once DataObjects/Person.php; require_once DataObjects/Members.php; $person = new DataObject_Person; $member = new DataObject_Members; echo Starting DB Tests: find all CPl membersbr; $member-debugLevel(0); echo Issue find requestbr; $transfers=$member-find(); echo $transfers. CPL folk to translatebr; while ( ( $member-fetch() ) ) { echo pre; var_dump($member-toArray()); echo /pre; } ? Actual result: -- --- [Tue May 25 08:47:49 2004] Script: '/www/sites/slsa/SLSA_Members/include/DBTes ts01.php' --- /downloads/php4.3/php4.3.5/php-4.3.5/ext/mssql/php_mssql.c(191) : Block 0x083839 00 status: /downloads/php4.3/php4.3.5/php-4.3.5/Zend/zend_variables.c(44) : Actual location (location was relayed) Beginning: OK (allocated on /downloads/php4.3/php4.3.5/php-4.3.5/ext/mssql/ php_mssql.c:847, 19 bytes) End: Overflown (magic=0x2A8FCC00 instead of 0x2A8FCC84) 1 byte(s) overflown --- -- Edit this bug report at http://bugs.php.net/?id=28512edit=1
#28512 [NEW]: Mssql.c runtime error
From: barry at hpfm dot com dot au Operating system: Redhat 9.0 PHP version: 4.3.5 PHP Bug Type: Session related Bug description: Mssql.c runtime error Description: I am developing an application that runs php on Rh9.0,Apache1.3 that accesses data residing on a Windows SBS server running SQLSERVER. I am getting huge apache error_log files (see attached sample) because of a memory leak in msssql.c. The application runs quite slowly and really hammers the apache server. The application is using PEAR DB, DBO. Occassionally the $dbo-find() will not return anything at all. Reproduce code: --- ?php require_once config.php; require_once DataObjects/Person.php; require_once DataObjects/Members.php; $person = new DataObject_Person; $member = new DataObject_Members; echo Starting DB Tests: find all CPl membersbr; $member-debugLevel(0); echo Issue find requestbr; $transfers=$member-find(); echo $transfers. CPL folk to translatebr; while ( ( $member-fetch() ) ) { echo pre; var_dump($member-toArray()); echo /pre; } ? Actual result: -- --- [Tue May 25 08:47:49 2004] Script: '/www/sites/slsa/SLSA_Members/include/DBTes ts01.php' --- /downloads/php4.3/php4.3.5/php-4.3.5/ext/mssql/php_mssql.c(191) : Block 0x083839 00 status: /downloads/php4.3/php4.3.5/php-4.3.5/Zend/zend_variables.c(44) : Actual location (location was relayed) Beginning: OK (allocated on /downloads/php4.3/php4.3.5/php-4.3.5/ext/mssql/ php_mssql.c:847, 19 bytes) End: Overflown (magic=0x2A8FCC00 instead of 0x2A8FCC84) 1 byte(s) overflown --- -- Edit bug report at http://bugs.php.net/?id=28512edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28512r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28512r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28512r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28512r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28512r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28512r=needscript Try newer version: http://bugs.php.net/fix.php?id=28512r=oldversion Not developer issue:http://bugs.php.net/fix.php?id=28512r=support Expected behavior: http://bugs.php.net/fix.php?id=28512r=notwrong Not enough info:http://bugs.php.net/fix.php?id=28512r=notenoughinfo Submitted twice:http://bugs.php.net/fix.php?id=28512r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28512r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28512r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28512r=dst IIS Stability: http://bugs.php.net/fix.php?id=28512r=isapi Install GNU Sed:http://bugs.php.net/fix.php?id=28512r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28512r=float