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

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P3
    • 26
    • Affects Version/s: 26
    • Component/s: hotspot
    • Environment:
    • 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.

            Assignee:
            Johannes Bechberger
            Reporter:
            Sendao Yan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: