Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 88671 invoked from network); 29 Mar 2004 17:05:40 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 29 Mar 2004 17:05:40 -0000 Received: (qmail 72514 invoked by uid 500); 29 Mar 2004 17:05:28 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 72416 invoked by uid 500); 29 Mar 2004 17:05:27 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Reply-To: "Apache HTTPD Bugs Notification List" Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 72380 invoked from network); 29 Mar 2004 17:05:26 -0000 Received: from unknown (HELO exchange.sun.com) (192.18.33.10) by daedalus.apache.org with SMTP; 29 Mar 2004 17:05:26 -0000 Received: (qmail 11509 invoked by uid 50); 29 Mar 2004 17:06:06 -0000 Date: 29 Mar 2004 17:06:06 -0000 Message-ID: <20040329170606.11508.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: bugs@httpd.apache.org Cc: Subject: DO NOT REPLY [Bug 28025] New: - Looping cp, mv, or ftp >50 locks cgi script return to client browser X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT . ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE. http://issues.apache.org/bugzilla/show_bug.cgi?id=28025 Looping cp, mv, or ftp >50 locks cgi script return to client browser Summary: Looping cp, mv, or ftp >50 locks cgi script return to client browser Product: Apache httpd-2.0 Version: 2.0.49 Platform: PC OS/Version: Linux Status: NEW Severity: Blocker Priority: Other Component: All AssignedTo: bugs@httpd.apache.org ReportedBy: john.fauerbach@noaa.gov This problem is in Redhat 8.0, Enterprise 3, and the latest httpd (2.0.49) source code download from apache.org and compiled. It is also reproducible in perl. This script works fine from the command line or under Apache 1.3.x. You can substitute different commands for the cp. I first found it under while trying to ftp several, > 100 files, then I shortened the code and reproduced it using cp and mv. The original problem was when I built a ftp command file containing all the files to transfer and then it errored at > 50 files. Steps to Reproduce in Apache 2.0.49 under RH 8.0 and enterprise 3 that does not exist in Apache 1.3.x under RH 8.0, RH 7.3. Below is the script to reproduce it: john.cgi: #!/bin/bash echo "Content-type: text/html" echo "" var0=0 while [ "$var0" -lt 200 ] do echo "$var0 " cp /tmp/hh /tmp/hI have found a reproducible bug in Apache 2.0.49 under linux that does not exist in Apache 1.3.x. Below is the script to reproduce it: john.cgi: #!/bin/bash echo "Content-type: text/html" echo "" var0=0 while [ "$var0" -lt 200 ] do echo "$var0 " cp /tmp/hh /tmp/h cp /tmp/h /tmp/hh var0=`expr $var0 + 1` done echo "It is done\n

" exit 0 cp /tmp/h /tmp/hh var0=`expr $var0 + 1` done echo "It is done\n

" exit 0 This script locks up after 68 is prin. Please help. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org