From: fabio dot scala at swisscom dot com Operating system: Windows Server 2003 SP2 PHP version: 5.2CVS-2009-02-20 (CVS) PHP Bug Type: PDO related Bug description: PHP Crash (CLI) / PHP Access Violation (Browser output)
Description: ------------ Environment: Microsoft Windows Server 2003 SP2 PHP 5.2.9RC3-dev (cli) (built: Feb 19 2009 11:40:00) IIS 6 with ISAPI (already tried FastCGI) Changes Made to php.ini-dist: extension=php_pdo.dll extension=php_pdo_mssql.dll Error: Browser Output: PHP has encountered an Access Violation at <Address> CLI: No output at all, the process just ends/crashes. Description: Unfortunately I'm not sure when this happens exactly, I've been able to reproduce it in our web application by always using certain parameters for the same action. It seems to happen when the data fetched from the MSSQL Server increases (more rows fetched = crash). Sadly we have been having these kind of problems for a year now. Earlier with 5.1.6, now it's 5.2.8. They just seem to pop out of nowhere randomly and most of the times a restart of the IIS is necessary. This Access Violation here is the only one I've been able to *reproduce* (well kinda). Reproduce code: --------------- As it's not really a what you can call a *small* web application and it only happens when the SQL statement changes (to return more rows), I wasn't able to reproduce this Error with a small PHP Script. Expected result: ---------------- - Actual result: -------------- DebugDiag CrashHang Report: http://homepage.hispeed.ch/fabioscala/CrashHang_Report__PID_4012__02202009120132378.htm DebugDiag Memory_Report: http://homepage.hispeed.ch/fabioscala/Memory_Report__PID_4012__02202009120056456.htm Created on our integration server, the production has different hardware but the same OS. (PHP crashes on both servers of course, meaning it's not a defect RAM/hardware issue.) -- Edit bug report at http://bugs.php.net/?id=47463&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=47463&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=47463&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=47463&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=47463&r=fixedcvs Fixed in CVS and need be documented: http://bugs.php.net/fix.php?id=47463&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=47463&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=47463&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=47463&r=needscript Try newer version: http://bugs.php.net/fix.php?id=47463&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=47463&r=support Expected behavior: http://bugs.php.net/fix.php?id=47463&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=47463&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=47463&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=47463&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=47463&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=47463&r=dst IIS Stability: http://bugs.php.net/fix.php?id=47463&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=47463&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=47463&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=47463&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=47463&r=mysqlcfg
