Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-6982572

(so) Invalid InetAddress instance is created and causes an exception and abort in jdk5/jdk6.

XMLWordPrintable

    • b08
    • x86
    • windows_vista
    • Verified

        A customer found an exception in IPv4 and an abort in IPv6 environment.

        1. IPv4
        (1) JDK5u24
        java.net.SocketException: Protocol family unavailable
                at sun.nio.ch.Net.connect(Native Method)
                at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:464)
                at Test.main(Test.java:42)

        (2) JDK6.0u21
        java.net.SocketException: Protocol family unavailable
                at sun.nio.ch.Net.connect(Native Method)
                at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:507)
                at Test.main(Test.java:42)

        2. IPv6
        (1) JDK5.0u24
        #
        # An unexpected error has been detected by HotSpot Virtual Machine:
        #
        # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d7d0e13, pid=1848, tid=3344
        #
        # Java VM: Java HotSpot(TM) Client VM (1.5.0_24-b02 mixed mode)
        # Problematic frame:
        # V [jvm.dll+0x90e13]
        #
        # An error report file with more information is saved as hs_err_pid1848.log
        #
        # If you would like to submit a bug report, please visit:
        # http://java.sun.com/webapps/bugreport/crash.jsp
        #

        (2) JDK6.0u21
        #
        # A fatal error has been detected by the Java Runtime Environment:
        #
        # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d9b88a8, pid=3884, tid=2692
        #
        # JRE version: 6.0_21-b07
        # Java VM: Java HotSpot(TM) Client VM (17.0-b17 mixed mode windows-x86 )
        # Problematic frame:
        # V [jvm.dll+0x1088a8]
        #
        # An error report file with more information is saved as:
        # D:\work\Support_0831\hs_err_pid3884.log
        #
        # If you would like to submit a bug report, please visit:
        # http://java.sun.com/webapps/bugreport/crash.jsp
        #

        The customer has sent a possible cause of this problem.
        Please see the comment seciton.

              coffeys Sean Coffey
              tbaba Tadayuki Baba (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: