|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36684 accessing a file from ftp crashes php with an access violation, locally ok
Submitted: 2006-03-10 17:54 UTC Modified: 2006-03-20 01:00 UTC
From: steveh at brendata dot co dot uk Assigned:
Status: No Feedback Package: FTP related
PHP Version: 6CVS-2006-03-10 (snap) OS: w2k3
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: steveh at brendata dot co dot uk
New email:
PHP Version: OS:


 [2006-03-10 17:54 UTC] steveh at brendata dot co dot uk
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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-03-12 09:14 UTC]
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try to avoid embedding huge scripts into the report.

 [2006-03-20 01:00 UTC] 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".
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jul 20 22:01:29 2024 UTC