Description of problem: eclipse-bugzilla grabs the bugzilla components from the query page. This fails with gcc 4.1 where it does not fail with 4.0.x. We isolated the parts that do this (hackily and not very precisely, might I add ;) and I will attach that test case. Version-Release number of selected component (if applicable): gcc-4.1.0-0.16.i386 How reproducible: Always. Steps to Reproduce: 1. javac FetchError.java 2. java FetchError Actual results: java.io.InterruptedIOException: Timeout while reading from input stream at FetchError$PollingInputStream.read (FetchError.java:402) at java.io.BufferedInputStream.refill (libgcj.so.7) at java.io.InputStreamReader.refill (libgcj.so.7) at java.io.InputStreamReader.read (libgcj.so.7) at java.io.BufferedReader.fill (libgcj.so.7) at java.io.BufferedReader.readLine (libgcj.so.7) at FetchError.getString (FetchError.java:580) at FetchError.main (FetchError.java:634) Expected results: No output (like gij 4.0.x and Sun). Additional info: (from Tom Tromey's comment in bug 178445): "[the] test case fails -- it times out when reading. However, if I comment out the call to getTimedInputStream (so that we're reading from the raw un-timed-out underlying input stream), then it works. I suspect that there is a timing bug of some kind in the timed input stream code, but I have not looked into it deeply."
Created attachment 123577 [details] Test case (ripped out of eclipse{,-bugzilla})
I've checked in a fix for this to the 4.1 branch. It is revision 110241.
I have verified this fix is in our rawhide gcc. Thanks.