#23683 [Opn]: ftp_close($connection) crashes
| From: | pekka at studio-on-the dot net | Date: | Sun, 18 May 2003 19:43:33 +0000 |
| Subject: | #23683 [Opn]: ftp_close($connection) crashes | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-39899@lists.php.net to get a copy of this message | ||
ID: 23683
User updated by: pekka at studio-on-the dot net
Reported By: pekka at studio-on-the dot net
Status: Open
Bug Type: Reproducible crash
Operating System: Windows XP Profesional SP1
PHP Version: 4.3.2RC3
New Comment:
Oh, and Apache is 1.3.27.
Previous Comments:
------------------------------------------------------------------------
[2003-05-18 14:42:04] pekka at studio-on-the dot net
I have an ftp upload script (non public code), which ends in plain
ftp_close($connection);
Where $connection is opened handle. After installing RC3 (as module) I
a crash:
Event viewer: "Faulting application Apache.exe, version 0.0.0.0,
faulting module php4ts.dll, version 4.3.2.2, fault address
0x000b9fc4."
or
"Faulting application Apache.exe, version 0.0.0.0, faulting module
ntdll.dll, version 5.1.2600.1106, fault address 0x00002109."
FTP is disconneted by the function before crash (ftp logs show session
was perfect and complete). I have tried it with local ftp server and
remote ones. I tried also with
ftp_close();
and got no crash (and of course no disconnect either)
If I used
ftp_close($fdfdf);
where $fdfdf is NOT an opened ftp handle, Apache just hangs page load
after output code before ftp_close BUT without a crash.
If I comment line
/*
ftp_close($connection);
*/
the whole script runs ok, except ftp remains open of course.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23683&edit=1