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

receive() method of MulticastSocket fails with IPv6 address on Sol 8

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Duplicate
    • Affects Version/s: 1.4.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • CPU:
      sparc
    • OS:
      solaris_8

      Description

      receive() method of MulticastSocket fails with IPv6 address on Solaris 8. While testing with a multicast reader and writer, once its receiving properly second time its throwing segmentation fault(core dumped) message on the screen on reader side . Same code is working fine with IPv4 address.
      This is coming with merling build 47.

      How to reproduce this:

      1. Take the attached mcatReader.java and mcastWriter.java files.

      2. Execute the writer as follows.
        java mcastWriter -d -l 0 -m 40

      3. Execute the reader as follows
        java mcastReader -d -v -l 100

        On reader side find the error " Segmentation fault(code dumped)"

      Other INformation:

      Same tests are working fine with IPv4 address.
      You can execute with IPv4 addresses by commenting out the IPv6 address statement as shown bellow in both mcastReader.java and mcastWriter.java .

      private static String maddress = "224.0.0.1";
      // private static String maddress = "ff15::1234:1234:1234:1234";

        Attachments

          Issue Links

            Activity

              People

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

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: