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

TestCPUTimeSampleQueueAutoSizes.java trigger error: malloc(): invalid size (unsorted)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P3 P3
    • None
    • 26
    • hotspot
    • jfr
    • generic
    • linux

      Test log snippet on linux-x64:
      STDOUT:
      [8.703s][info][jfr,startup] Started recording 1. No limit specified, using maxsize=250MB as default.
      [8.703s][info][jfr,startup]
      [8.703s][info][jfr,startup] Use jcmd 2613797 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
      Lost samples: 6 at 1416 start time 1761335040870
      STDERR:
      malloc(): invalid size (unsorted)

      Test log snippet on linux-aarch64:
      STDOUT:
      [8.786s][info][jfr,startup] Started recording 1. No limit specified, using maxsize=250MB as default.
      [8.786s][info][jfr,startup]
      [8.786s][info][jfr,startup] Use jcmd 2738881 JFR.dump name=1 filename=FILEPATH to copy recording data to file.
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # SIGSEGV (0xb) at pc=0x0000ffff989b8360, pid=2738881, tid=2740654
      #
      # JRE version: OpenJDK Runtime Environment HJDK-0 (26.0) (fastdebug build 26+-cc9483b4)
      # Java VM: OpenJDK 64-Bit Server VM HJDK-0 (fastdebug 26+-cc9483b4, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-aarch64)
      # Problematic frame:
      # V [libjvm.so+0x1705360] JfrDoublyLinkedList<ObjectSample>::remove(ObjectSample*)+0x180
      #
      # Core dump will be written. Default location: /home/yansendao/git/jdk/build/jt-work/jtreg/test_jdk/jdk/jfr/event/profiling/TestCPUTimeSampleQueueAutoSizes/core.2738881
      #
      # JFR recording file will be written. Location: /home/yansendao/git/jdk/build/jt-work/jtreg/test_jdk/jdk/jfr/event/profiling/TestCPUTimeSampleQueueAutoSizes/hs_err_pid2738881.jfr
      #
      Unsupported internal testing APIs have been used.

        1. core.2613797.tar.xz
          49.62 MB
          Sendao Yan
        2. hs_err_pid2738881.log
          156 kB
          Sendao Yan
        3. hs_err_pid3610257.log
          118 kB
          Sendao Yan
        4. TestCPUTimeSampleQueueAutoSizes.java-aarch64.log
          27 kB
          Sendao Yan
        5. TestCPUTimeSampleQueueAutoSizes.java-x64.log.log
          27 kB
          Sendao Yan

            jbechberger Johannes Bechberger
            syan Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: