Bug in sun.nio.ch.SolarisEventPort#port_dissociate
Alan Bateman
Alan.Bateman at oracle.com
Fri Jun 16 15:36:00 UTC 2017
On 14/06/2017 15:32, David M. Lloyd wrote:
>
> It's coming from a user so my information is limited but I can
> establish that it is happening under load, and I think it corresponds
> to an open socket being abruptly closed in another thread.
>
> I am not sure whether I can get it down to a test case though. I'll
> see if I can get access to a Solaris system for testing.
>
If you get some idea on the conditions when this occurs then it would be
useful.
To make sure there is nothing obvious, I ran JDK tests on Solaris 11.3
system with the port Selector as the default. All the tests pass. I
can't think of a scenario where port_dissociate could fail with EBADF.
It is correct to ignore ENOENT as that occurs then the file descriptor
registered with the port is closed by dup'ing.
-Alan
More information about the nio-dev
mailing list