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

receive() method of DatagramSocket failed with IPv6 stack with merlin build 47

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • core-libs
    • beta
    • sparc
    • solaris_8
    • Verified

      receive() method of DatagramSocket failed with IPv6 stack and on a dual stack machine (Solaris 8) with merlin build 47. Same UDP tests passed with IPv4 stack.
      On server side its showing "Segmentataion fault(Core dumped)" message.

      How to reproduce the error:

      1. Take the attached udpServer.java and udpClient.java

      2. Execute udpServer
       java -Djava.net.preferIPv6Addresses=true -Djava.net.preferIPv4Stack=false udpServer -d -v -l 0

      3. Execute udpServer

      java -Djava.net.preferIPv6Addresses=true -Djava.net.preferIPv4Stack=false udpClient -d -v -l 5 -m 50 -s javacup -C javacup -c

      4. On server side its showing "Segmentation fault(core dumpled)" error message

      Other Information:

      Same tests passed with IPv4 stack.

            ywangsunw Yingxian Wang (Inactive)
            vakellasunw Venkata Akella (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: