#22052 [Fbk->Opn]: Ftp ftp_rawlist,ftp_nlist broken

From: Date: Tue, 04 Mar 2003 16:55:02 +0000
Subject: #22052 [Fbk->Opn]: Ftp ftp_rawlist,ftp_nlist broken
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-34791@lists.php.net to get a copy of this message
ID: 22052 User updated by: ntrujillo at cox dot net Reported By: ntrujillo at cox dot net -Status: Feedback +Status: Open Bug Type: FTP related Operating System: FreeBSD 5.0-RELEASE #0 PHP Version: 4.3.1-dev New Comment: This is still broken, however unable to reproduce ftp_* type httpd or php core dump. I'm not too sure if this is related, but Pollita's tmp log file method only appends the directory info in CLI mode . .. ....thanks for your time, and sorry for the delay. Previous Comments: ------------------------------------------------------------------------ [2003-02-20 22:26:36] sniper@php.net Ok. Let's keep this at 'Feedback' status until you can get it to work. ------------------------------------------------------------------------ [2003-02-20 18:57:59] ntrujillo at cox dot net there is a diff in the /ext/domxml that is preventing patch-ext_domxml_config.m4 from cvs in freebsd port to apply cleanly. I'll let you know as soon as this is fixed in the cvs port ------------------------------------------------------------------------ [2003-02-20 18:31:56] sniper@php.net Please generate a new backtrace using the script pollita@php.net gave and the latest snapshot from today. (I can not reproduce this either, on linux) If the backtrace is exactly same as the one you posted earlier, don't add it, just mention that fact. :) ------------------------------------------------------------------------ [2003-02-20 18:06:33] ntrujillo at cox dot net Pollita, I believe this is a pretty generic install, no NIS,NFS,firewall, or clustering. notes on setup:: arch:i386 mobo:MSI pro5 i850 chipset proc:P4 1.8ghz 512k l2 cache ram:512mb 800mhz rdram disc:80gb cheetah 4 ATA-100 acd0: CD-RW <CD-RW BCE2410IM> at ata0-master UDMA33 acd1: DVD-ROM <JLMS DVD-ROM LTD-166S> at ata0-slave UDMA33 The only 'special' thing that is different is audio support compiled into custom kernel. Hope this helps :) ------------------------------------------------------------------------ [2003-02-20 13:04:45] pollita@php.net I hate to say this... but I just cannot reproduce this bug. I've installed FreeBSD 5.0 on a Pentium2-233, Apache 1.3.27, and a PHP 4.3 snapshot php4-STABLE-200302190030.tar.gz as a DSO (via --with-apxs). Using: <?php $fp = ftp_connect("ftp.us.debian.org"); var_dump($fp); ftp_login($fp, "anonymous", "pollita@php.net"); var_dump($fp); var_dump(ftp_rawlist($fp, "/debian/pool/main/p")); var_dump($fp); ftp_close($fp); ?> and get the listing of 488 files that is expected with no segfaults or other errors. There's clearly something 'special' about your installations which is triggering this bug to occur. Can you list any deviations from a standard install that are used on your server(s)? You never mentioned what architecture you're running on? Is it x86 or something else? Are you using NIS? clustering? Do you have any firewalling enabled? Recall that FTP connections use a separate command stream and data stream. Do other ftp_* commands work as expected? ftp_get() would be a good one to test. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/22052 -- Edit this bug report at http://bugs.php.net/?id=22052&edit=1

« previous php.bugs (#34791) next »