FULL PRODUCT VERSION :
java version "1.8.0_45"
Java(TM) SE Runtime Environment (build 1.8.0_45-b14)
Java HotSpot(TM) 64-Bit Server VM (build 25.45-b02, mixed mode)
ADDITIONAL OS VERSION INFORMATION :
Red Hat Enterprise Linux Server release 6.5 (Santiago)
Linux gypilot-mobile02.novalocal 2.6.32-431.el6.x86_64 #1 SMP Sun Nov 10 22:19:54 EST 2013 x86_64 x86_64 x86_64 GNU/Linux
EXTRA RELEVANT SYSTEM CONFIGURATION :
lksctp 1.0.16
A DESCRIPTION OF THE PROBLEM :
JVM exits with InternalError when calling SctpMultiChannel.receive.
If a remote address which I am trying to send a packet to is down / not listening,
I get a "java.lang.InternalError: should not reach here" error in SctpMultiChannel.receive.
Exception in thread "Thread-1" java.lang.InternalError: should not reach here
at sun.nio.ch.sctp.SctpChannelImpl.receive0(Native Method)
at sun.nio.ch.sctp.SctpMultiChannelImpl.receive0(SctpMultiChannelImpl.java:978)
at sun.nio.ch.sctp.SctpMultiChannelImpl.receiveIntoNativeBuffer(SctpMultiChannelImpl.java:582)
at sun.nio.ch.sctp.SctpMultiChannelImpl.receive(SctpMultiChannelImpl.java:560)
at sun.nio.ch.sctp.SctpMultiChannelImpl.receive(SctpMultiChannelImpl.java:496)
at org.mobicents.protocols.sctp.multiclient.OneToManyAssocMultiplexer.doReadSctp(OneToManyAssocMultiplexer.java:265)
at org.mobicents.protocols.sctp.multiclient.OneToManyAssocMultiplexer.read(OneToManyAssocMultiplexer.java:302)
at org.mobicents.protocols.sctp.multiclient.MultiSelectorThread.read(MultiSelectorThread.java:226)
at org.mobicents.protocols.sctp.multiclient.MultiSelectorThread.run(MultiSelectorThread.java:154)
at java.lang.Thread.run(Thread.java:745)
Additional info:
https://bugs.openjdk.java.net/browse/JDK-8067846
REPRODUCIBILITY :
This bug can be reproduced always.