Strange Exception at read

向雅 fyaoxy at
Fri Nov 13 05:13:20 PST 2009

2009/11/13 Alan Bateman <Alan.Bateman at>:
> Vikram A wrote:
>> >> in windows, WSA use some error code scopes. 5 is a windows common
>> >>error. I not think it in aio scope.
>> i think, windows error 0x05 is not windows specific.
>> it is a general x86 line read write error, can even happen during
>> windows/solaris x86 installation, if it encounters a problem.
> The issue here doesn't appear to be an implementation bug - if that were so
> then we'd probably SEGV/equivalent or observe some memory corruption (or in
> the case of Windows the I/O operation would fail when initiated with an
> error such as "The system detected an invalid pointer"). Instead, we appear
> to be encountering new behavior with the built-in firewall in Windows 7. It
> appers that when it blocks a connection it causes the asynchronous I/O to
> complete with an "access denied" error. Configuring the firewall to allow
> access (in this case ftp passive mode) seem to resolve the issue.

I tried to let windows7 built-in firewall  pass my java.exe, No any effect.
I must close the firewall, as Alan said, then all OK.

For the firewall I do a probe, not few applications cannot success to
pass as well, even mmplayer from ms self.
Anyway, The issue not a core or focus, through may be a good help that
doc the case.

BTW, Alan, what about the exception translate class?


More information about the nio-dev mailing list