httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 28025] New: - Looping cp, mv, or ftp >50 locks cgi script return to client browser
Date Mon, 29 Mar 2004 17:06:06 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=28025>.
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<P>"

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

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


Mime
View raw message