From: steveh at brendata dot co dot uk Operating system: w2k3 PHP version: 6CVS-2006-03-10 (snap) PHP Bug Type: FTP related Bug description: accessing a file from ftp crashes php with an access violation, locally ok
Description: ------------ I have a program that access a number of files, if I access them locally then there is no issue, if I change the path to be an ftp stream then after the first file is retrieved, PHP crashes with an access violation. I haven't yet tried stripping down the code, I will if there's no other way of determining the issue. On the current snapshot (as of this bug entry), the access violation is "PHP has encountered an Access Violation at 01C6C1B7". The access is via a squid proxy (using a stream context on the open, which works as I can see the comms with the proxy), I have used ethereal on the server and I can see that the entire file is read, however, immediately after this, php dies. Expected result: ---------------- PHP should process the file in the same way as if accessed locally. Actual result: -------------- PHP crashes -- Edit bug report at http://bugs.php.net/?id=36684&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36684&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36684&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36684&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36684&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36684&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36684&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36684&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36684&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36684&r=support Expected behavior: http://bugs.php.net/fix.php?id=36684&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36684&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36684&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36684&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36684&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36684&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36684&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36684&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36684&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36684&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36684&r=mysqlcfg