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

segmentation fault in DatagramSocket.send (regression)

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6u10
    • Fix Version/s: None
    • Component/s: core-libs
    • Subcomponent:
    • CPU:
      x86
    • OS:
      linux_ubuntu

      Description

      FULL PRODUCT VERSION :

      java version "1.6.0_14"
      Java(TM) SE Runtime Environment (build 1.6.0_14-b08)
      Java HotSpot(TM) 64-Bit Server VM (build 14.0-b16, mixed mode)

      and

      java version "1.6.0_17"
      Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
      Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)

      But not in:


      java version "1.6.0_13"
      Java(TM) SE Runtime Environment (build 1.6.0_13-b03)
      Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02, mixed mode)


      ADDITIONAL OS VERSION INFORMATION :
      Linux isidore 2.6.31-16-generic #53-Ubuntu SMP Tue Dec 8 04:02:15 UTC 2009 x86_64 GNU/Linux


      A DESCRIPTION OF THE PROBLEM :
      Segmentation fault occurs. here is gdb stack trace (no symbols, sorry):

      (gdb) bt
      #0 0x00007f6698a19df4 in Java_java_net_PlainDatagramSocketImpl_send () from /opt/installs/jdk/sun-jdk1.6.0_14/jre/lib/amd64/libnet.so
      #1 0x00007f66fc89ff50 in ?? ()
      #2 0x0000000041195810 in ?? ()
      #3 0x0000000041195be8 in ?? ()
      #4 0x00000000411b3800 in ?? ()
      #5 0x00007f66985e9698 in ?? ()
      #6 0x00007f669a214c28 in ?? ()
      #7 0x00007f66985e9700 in ?? ()
      #8 0x00007f669a218d00 in ?? ()
      #9 0x0000000000000000 in ?? ()


      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
        To recreate this problem, checkout the mobicents media server source code and build it with maven:

      svn checkout http://mobicents.googlecode.com/svn/tags/servers/media/2.x.y/jsr-309/mobicents-jsr309-impl-2.0.0.BETA2

      cd mobicents-jsr309-impl-2.0.0.BETA2
      mvn test

      a test of the MGCP component faults on sending a datagram.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      Segmentation fault is not expected.
      ACTUAL -
      16:57:06,111 DEBUG [TransactionHandler] Send command event to /127.0.0.1, message
      CRCX 1 /mobicents/media/IVR/$@127.0.0.1:2427 MGCP 1.0
      C: 1
      M: sendonly
      N: ###@###.###:2727
      Z2: /mobicents/media/packetrelay/$@127.0.0.1:2427

      Segmentation fault (core dumped)
      [INFO] ------------------------------------------------------------------------
      [ERROR] BUILD FAILURE
      [INFO] ------------------------------------------------------------------------
      [INFO] There are test failures.


      REPRODUCIBILITY :
      This bug can be reproduced always.

      ---------- BEGIN SOURCE ----------
      If downloading the mobicents code and running the test is not acceptable please let me know. I will take the time to isolate better.
      ---------- END SOURCE ----------

      CUSTOMER SUBMITTED WORKAROUND :
      Don't use a later version of jdk6 with mobicents.

      Release Regression From : 6u13
      The above release value was the last known release where this
      bug was not reproducible. Since then there has been a regression.

        Attachments

          Activity

            People

            • Assignee:
              robm Robert Mckenna
              Reporter:
              ndcosta Nelson Dcosta (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: