#49936 [Opn->Fbk]: crash with ftp stream in php_stream_context_get_option()
ID: 49936
Updated by: jani@php.net
-Summary: C0000005 crash with fopen(ftp://)
Reported By: marielyne at acanac dot net
-Status: Open
+Status: Feedback
Bug Type: Filesystem function related
Operating System: Windows 7
PHP Version: 5.3SVN-2009-10-20 (snap)
New Comment:
Does this happen with PHP 5.2.11 ? Does this happen using local
filesystem instead of remote ftp site?
Previous Comments:
------------------------------------------------------------------------
[2009-10-20 22:12:21] marielyne at acanac dot net
Description:
------------
Trying to split a local file (at least 1 megabyte) to a FTP server à la
Hjsplit
PHP
=====
This snapshot was automatically generated on
Tue, 20 Oct 2009 19:16:25 +0000
Version: 5.3.2-dev
Branch: HEAD
Build: Release
=====
FTP
=====
FileZilla server 0.9.33
=====
Reproduce code:
---------------
http://www.pastebin.ca/1633753
Expected result:
----------------
*filename
fopen 2
fread
fwrite
[repeat last 2]
*filename
fopen 3
fread
fwrite
[repeat last 4]
done
Actual result:
--------------
*filename
fopen 2
fread
fwrite
*filename
CRASH
backtrace and FTP log @ http://www.pastebin.ca/1633797
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=49936&edit=1
Thread (9 messages)