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

RunThese30M.java fails with "free(): corrupted unsorted chunks"

    XMLWordPrintable

    Details

    • Subcomponent:
      jfr
    • CPU:
      x86_64
    • OS:
      linux

      Description

      The following test failed in the JDK17 CI:

      applications/runthese/RunThese30M.java

      Here's a snippet from stress.process.err:

      --------------------------------------------------------------------------------
      JfrStressModule got uncaught exception in execute at Sat Mar 13 07:07:47 UTC 2021 (1615619267044)
      java.lang.IllegalStateException: Can't stop an already stopped recording.
              at jdk.jfr/jdk.jfr.internal.PlatformRecorder.stop(PlatformRecorder.java:286)
              at jdk.jfr/jdk.jfr.internal.PlatformRecording.stop(PlatformRecording.java:164)
              at jdk.jfr/jdk.jfr.Recording.stop(Recording.java:225)
              at applications.kitchensink.process.stress.modules.JfrStressModule.execute(JfrStressModule.java:240)
              at applications.kitchensink.process.stress.modules.StressModule.run(StressModule.java:81)
      --------------------------------------------------------------------------------
      Exception in thread "JfrStressModule" java.lang.RuntimeException: java.lang.IllegalStateException: Can't stop an already stopped recording.
              at applications.kitchensink.process.stress.modules.StressModule.run(StressModule.java:92)
      Caused by: java.lang.IllegalStateException: Can't stop an already stopped recording.
              at jdk.jfr/jdk.jfr.internal.PlatformRecorder.stop(PlatformRecorder.java:286)
              at jdk.jfr/jdk.jfr.internal.PlatformRecording.stop(PlatformRecording.java:164)
              at jdk.jfr/jdk.jfr.Recording.stop(Recording.java:225)
              at applications.kitchensink.process.stress.modules.JfrStressModule.execute(JfrStressModule.java:240)
              at applications.kitchensink.process.stress.modules.StressModule.run(StressModule.java:81)
      Iteration done: Jvmti at Sat Mar 13 07:07:51 UTC 2021
      *** Error in `/opt/mach5/mesos/work_dir/jib-master/install/jdk-17+13-1000/linux-x64.jdk/jdk-17/bin/java': free(): corrupted unsorted chunks: 0x00007fc1b0033e80 ***
      ======= Backtrace: =========
      /lib64/libc.so.6(+0x81299)[0x7fc1b7174299]
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+13-1000/linux-x64.jdk/jdk-17/lib/server/libjvm.so(+0xbfc550)[0x7fc1b6ace550]
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+13-1000/linux-x64.jdk/jdk-17/lib/server/libjvm.so(+0xbfafb5)[0x7fc1b6accfb5]
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+13-1000/linux-x64.jdk/jdk-17/lib/server/libjvm.so(+0xbfc76a)[0x7fc1b6ace76a]
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+13-1000/linux-x64.jdk/jdk-17/lib/server/libjvm.so(+0x7af5f5)[0x7fc1b66815f5]
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+13-1000/linux-x64.jdk/jdk-17/lib/server/libjvm.so(+0xdddff9)[0x7fc1b6cafff9]
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+13-1000/linux-x64.jdk/jdk-17/lib/server/libjvm.so(+0xddda6a)[0x7fc1b6cafa6a]
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+13-1000/linux-x64.jdk/jdk-17/lib/server/libjvm.so(+0xddf338)[0x7fc1b6cb1338]
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+13-1000/linux-x64.jdk/jdk-17/lib/server/libjvm.so(+0xddf808)[0x7fc1b6cb1808]
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+13-1000/linux-x64.jdk/jdk-17/lib/server/libjvm.so(+0xddfacf)[0x7fc1b6cb1acf]
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+13-1000/linux-x64.jdk/jdk-17/lib/server/libjvm.so(+0xd60e5e)[0x7fc1b6c32e5e]
      /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+13-1000/linux-x64.jdk/jdk-17/lib/server/libjvm.so(+0xbbcbe7)[0x7fc1b6a8ebe7]
      /lib64/libpthread.so.0(+0x7ea5)[0x7fc1b76ccea5]
      /lib64/libc.so.6(clone+0x6d)[0x7fc1b71f196d]
      ======= Memory map: ========
      800000000-800ba4000 rw-p 00001000 08:03 405623361 /opt/mach5/mesos/work_dir/jib-master/install/jdk-17+13-1000/linux-x64.jdk/jdk-17/lib/server/classes_nocoops.jsa
      800ba4000-800c00000 ---p 00000000 00:00 0
      800c00000-800c40000 rw-p 00000000 00:00 0
      800c40000-800cc0000 rw-p 00000000 00:00 0
      800cc0000-800e10000 rw-p 00000000 00:00 0

      There is no hs_err_pid file, but I'm attaching the stress.process.err
      to this bug report.

      Since this is a memory corruption bug, I'm starting this bug
      out as a P3.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            dcubed Daniel Daugherty
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated: