-
Bug
-
Resolution: Fixed
-
P4
-
21
Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8327442 | 17.0.12-oracle | Deepak Damodaran | P4 | Resolved | Fixed | b01 |
JDK-8329713 | 17.0.12 | Goetz Lindenmaier | P4 | Resolved | Fixed | b01 |
----------System.out:(16/838)----------
Seed from RandomFactory = -101903027041002175L
test TestAsyncSocketChannels.testBasicIOWithSupportedSession(shared arena): success
testCloseWithOutstandingRead - op
testCloseWithOutstandingRead - op
testCloseWithOutstandingRead - op
testCloseWithOutstandingRead - op
test TestAsyncSocketChannels.testCloseWithOutstandingRead(shared arena, 0): success
testCloseWithOutstandingRead - op
testCloseWithOutstandingRead - op
testCloseWithOutstandingRead - op
testCloseWithOutstandingRead - op
test TestAsyncSocketChannels.testCloseWithOutstandingRead(shared arena, 30): success
awaitNoFurtherWrites: i=4 , bytesWritten=391968
awaiting outstanding writes....................................outstanding writes: 0
test TestAsyncSocketChannels.testCloseWithOutstandingWrite(shared arena, 0): success
awaitNoFurtherWrites: i=2 , bytesWritten=380668
----------System.err:(21/1828)----------
java.lang.IllegalStateException: Already closed
at java.base/jdk.internal.foreign.MemorySessionImpl.alreadyClosed(MemorySessionImpl.java:311)
at java.base/jdk.internal.misc.ScopedMemoryAccess$ScopedAccessError.newRuntimeException(ScopedMemoryAccess.java:113)
at java.base/jdk.internal.foreign.MemorySessionImpl.checkValidState(MemorySessionImpl.java:219)
at java.base/jdk.internal.foreign.NativeMemorySegmentImpl.makeNativeSegment(NativeMemorySegmentImpl.java:119)
at java.base/jdk.internal.foreign.MemorySessionImpl.allocate(MemorySessionImpl.java:158)
at java.base/java.lang.foreign.Arena.allocate(Arena.java:270)
at AbstractChannelsTest.segmentBufferOfSize(AbstractChannelsTest.java:71)
at AbstractChannelsTest.segmentBuffersOfSize(AbstractChannelsTest.java:81)
at TestAsyncSocketChannels$1.completed(TestAsyncSocketChannels.java:268)
at TestAsyncSocketChannels$1.completed(TestAsyncSocketChannels.java:263)
at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishWrite(UnixAsynchronousSocketChannelImpl.java:647)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:199)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:217)
at java.base/sun.nio.ch.KQueuePort$EventHandlerTask.run(KQueuePort.java:312)
at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
STATUS:Failed.`main' threw exception: java.lang.IllegalStateException: Already closed
Seed from RandomFactory = -101903027041002175L
test TestAsyncSocketChannels.testBasicIOWithSupportedSession(shared arena): success
testCloseWithOutstandingRead - op
testCloseWithOutstandingRead - op
testCloseWithOutstandingRead - op
testCloseWithOutstandingRead - op
test TestAsyncSocketChannels.testCloseWithOutstandingRead(shared arena, 0): success
testCloseWithOutstandingRead - op
testCloseWithOutstandingRead - op
testCloseWithOutstandingRead - op
testCloseWithOutstandingRead - op
test TestAsyncSocketChannels.testCloseWithOutstandingRead(shared arena, 30): success
awaitNoFurtherWrites: i=4 , bytesWritten=391968
awaiting outstanding writes....................................outstanding writes: 0
test TestAsyncSocketChannels.testCloseWithOutstandingWrite(shared arena, 0): success
awaitNoFurtherWrites: i=2 , bytesWritten=380668
----------System.err:(21/1828)----------
java.lang.IllegalStateException: Already closed
at java.base/jdk.internal.foreign.MemorySessionImpl.alreadyClosed(MemorySessionImpl.java:311)
at java.base/jdk.internal.misc.ScopedMemoryAccess$ScopedAccessError.newRuntimeException(ScopedMemoryAccess.java:113)
at java.base/jdk.internal.foreign.MemorySessionImpl.checkValidState(MemorySessionImpl.java:219)
at java.base/jdk.internal.foreign.NativeMemorySegmentImpl.makeNativeSegment(NativeMemorySegmentImpl.java:119)
at java.base/jdk.internal.foreign.MemorySessionImpl.allocate(MemorySessionImpl.java:158)
at java.base/java.lang.foreign.Arena.allocate(Arena.java:270)
at AbstractChannelsTest.segmentBufferOfSize(AbstractChannelsTest.java:71)
at AbstractChannelsTest.segmentBuffersOfSize(AbstractChannelsTest.java:81)
at TestAsyncSocketChannels$1.completed(TestAsyncSocketChannels.java:268)
at TestAsyncSocketChannels$1.completed(TestAsyncSocketChannels.java:263)
at java.base/sun.nio.ch.Invoker.invokeUnchecked(Invoker.java:129)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finishWrite(UnixAsynchronousSocketChannelImpl.java:647)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.finish(UnixAsynchronousSocketChannelImpl.java:199)
at java.base/sun.nio.ch.UnixAsynchronousSocketChannelImpl.onEvent(UnixAsynchronousSocketChannelImpl.java:217)
at java.base/sun.nio.ch.KQueuePort$EventHandlerTask.run(KQueuePort.java:312)
at java.base/sun.nio.ch.AsynchronousChannelGroupImpl$1.run(AsynchronousChannelGroupImpl.java:113)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1144)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:642)
at java.base/java.lang.Thread.run(Thread.java:1583)
STATUS:Failed.`main' threw exception: java.lang.IllegalStateException: Already closed
- backported by
-
JDK-8327442 Test java/foreign/channels/TestAsyncSocketChannels.java failed: IllegalStateException: Already closed
- Resolved
-
JDK-8329713 Test java/foreign/channels/TestAsyncSocketChannels.java failed: IllegalStateException: Already closed
- Resolved
- links to
-
Commit openjdk/jdk17u-dev/9a0e875f
-
Commit openjdk/jdk/f92d095e
-
Review openjdk/jdk17u-dev/2360
-
Review openjdk/jdk/13866
(1 links to)