Dustin Lang writes:
> Can someone tell me what this means:
> 
> java.io.IOException: Bad file descriptor
>         at java.io.FileInputStream.readBytes(Native Method)
>         at java.io.FileInputStream.read(Compiled Code)
>       ...

Sorry, I can't say without looking at the native method.  But I'd lay
even money that Linux's read() system call is returning EBADF, and there
is some macro in the native code that throws an exception with a
description taken from sys_errlist[errno].

read(2) says that EBADF indicates that "fd is not a valid file
descriptor or is not open for reading."

I don't know why that would be the case, but I can't see how it could
be anything other than (a) a bug in JDK 1.2pre, or (b) some sort of
resource-exhaustion type thing.  You could try running strace to see
exactly the parameters to the failing read call.

Best,
daniel dulitz

Valley Technologies, Inc.               Peak Performance Real-Time DSP
State College, PA


----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to