Return-Path: Delivered-To: apmail-jakarta-commons-dev-archive@apache.org Received: (qmail 68170 invoked from network); 11 Aug 2003 14:24:30 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 11 Aug 2003 14:24:30 -0000 Received: (qmail 12147 invoked by uid 97); 11 Aug 2003 14:27:12 -0000 Delivered-To: qmlist-jakarta-archive-commons-dev@nagoya.betaversion.org Received: (qmail 12140 invoked from network); 11 Aug 2003 14:27:11 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 11 Aug 2003 14:27:11 -0000 Received: (qmail 67953 invoked by uid 500); 11 Aug 2003 14:24:27 -0000 Mailing-List: contact commons-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Jakarta Commons Developers List" Reply-To: "Jakarta Commons Developers List" Delivered-To: mailing list commons-dev@jakarta.apache.org Received: (qmail 67937 invoked from network); 11 Aug 2003 14:24:26 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 11 Aug 2003 14:24:26 -0000 Received: (qmail 12134 invoked by uid 50); 11 Aug 2003 14:27:08 -0000 Date: 11 Aug 2003 14:27:08 -0000 Message-ID: <20030811142708.12133.qmail@nagoya.betaversion.org> From: bugzilla@apache.org To: commons-dev@jakarta.apache.org Cc: Subject: DO NOT REPLY [Bug 22304] New: - FTPClient.listFiles intermittently locks up X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.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://nagoya.apache.org/bugzilla/show_bug.cgi?id=22304 FTPClient.listFiles intermittently locks up Summary: FTPClient.listFiles intermittently locks up Product: Commons Version: 1.0 Final Platform: All OS/Version: Other Status: NEW Severity: Critical Priority: Other Component: Net AssignedTo: commons-dev@jakarta.apache.org ReportedBy: matthew@mathworks.com FTPClient.listFiles intermittently locks up on me, about every couple dozen times I call it. I can reproduce this with the 1.0 release and with last night's build. When I attach a debugger and look at the stack traces (below), I see that DefaultFTPFileListParser.parseFileList calls BufferedReader.readLine. Is it possible that due to networking hiccups, readLine isn't getting its end-of-line and it never times out? Using the 1.0 version: main: [1] java.net.SocketInputStream.socketRead0 (native method) [2] java.net.SocketInputStream.read (null) [3] sun.nio.cs.StreamDecoder$CharsetSD.readBytes (null) [4] sun.nio.cs.StreamDecoder$CharsetSD.implRead (null) [5] sun.nio.cs.StreamDecoder.read (null) [6] java.io.InputStreamReader.read (null) [7] java.io.BufferedReader.fill (null) [8] java.io.BufferedReader.readLine (null) [9] java.io.BufferedReader.readLine (null) [10] org.apache.commons.net.ftp.DefaultFTPFileListParser.parseFileList (DefaultFTPFileListParser.java:397) [11] org.apache.commons.net.ftp.FTPClient.listFiles (FTPClient.java:1,933) [12] org.apache.commons.net.ftp.FTPClient.listFiles (FTPClient.java:1,964) [13] org.apache.commons.net.ftp.FTPClient.listFiles (FTPClient.java:2,020) Using last night's build: main: [1] java.net.SocketInputStream.socketRead0 (native method) [2] java.net.SocketInputStream.read (null) [3] sun.nio.cs.StreamDecoder$CharsetSD.readBytes (null) [4] sun.nio.cs.StreamDecoder$CharsetSD.implRead (null) [5] sun.nio.cs.StreamDecoder.read (null) [6] java.io.InputStreamReader.read (null) [7] java.io.BufferedReader.fill (null) [8] java.io.BufferedReader.readLine (null) [9] java.io.BufferedReader.readLine (null) [10] org.apache.commons.net.ftp.DefaultFTPFileListParser.parseFileList (DefaultFTPFileListParser.java:395) [11] org.apache.commons.net.ftp.FTPClient.listFiles (FTPClient.java:1,985) [12] org.apache.commons.net.ftp.FTPClient.listFiles (FTPClient.java:2,016) [13] org.apache.commons.net.ftp.FTPClient.listFiles (FTPClient.java:2,072) Found using Windows 2000 with Sun's 1.4.2 VM. --------------------------------------------------------------------- To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org For additional commands, e-mail: commons-dev-help@jakarta.apache.org