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

vmTestbase/nsk/jvmti/scenarios/bcinstr/BI02/bi02t001 memory corruption when using -Xcheck:jni

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3
    • 24
    • 22
    • hotspot
    • None

    Description

      $ make test CONF=linux-x64-debug TEST=test/hotspot/jtreg/vmTestbase/nsk/jvmti/scenarios/bcinstr/BI02/bi02t001/TestDescription.java JTREG="JAVA_OPTIONS=-Xcheck:jni"

      fails with:

      NMT Block at 0x00000001246115c0, corruption at: 0x00000001246115c0:
      0x0000000124611540: 00 01 00 09 00 00 00 1d 00 01 00 01 00 00 00 05
      0x0000000124611550: 2a b7 00 01 b1 00 00 00 01 00 0a 00 00 00 06 00
      0x0000000124611560: 01 00 00 00 1a 00 01 00 0b 00 0c 00 01 00 09 00
      0x0000000124611570: 00 00 1b 00 01 00 01 00 00 00 03 10 65 ac 00 00
      0x0000000124611580: 00 01 00 0a 00 00 00 06 00 01 00 00 00 1d 00 01
      0x0000000124611590: 00 0d 00 00 00 02 00 0e e8 8e 00 00 00 00 00 00
      0x00000001246115a0: 48 01 00 00 00 00 00 00 00 00 00 00 09 00 9e e9
      0x00000001246115b0: ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab ab
      0x00000001246115c0: 18 01 00 00 00 00 00 00 80 14 61 24 01 00 00 00
      0x00000001246115d0: ca fe ba be 00 00 00 42 00 0f 0a 00 02 00 03 07
      0x00000001246115e0: 00 04 0c 00 05 00 06 01 00 10 6a 61 76 61 2f 6c
      0x00000001246115f0: 61 6e 67 2f 4f 62 6a 65 63 74 01 00 06 3c 69 6e
      0x0000000124611600: 69 74 3e 01 00 03 28 29 56 07 00 08 01 00 2a 6e
      0x0000000124611610: 73 6b 2f 6a 76 6d 74 69 2f 73 63 65 6e 61 72 69
      0x0000000124611620: 6f 73 2f 62 63 69 6e 73 74 72 2f 42 49 30 32 2f
      0x0000000124611630: 62 69 30 32 74 30 30 31 61 01 00 04 43 6f 64 65
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/Users/cplummer/dev/ws/jdk/open/src/hotspot/share/services/mallocHeader.inline.hpp:107), pid=5411, tid=25091
      # fatal error: NMT corruption: Block at 0x00000001246115d0: header canary broken
      #

      Reproduced on both macosx-aarch64-debug and linux-x64-debug

      Test vmTestbase/nsk/jvmti/scenarios/bcinstr/BI03/bi03t001/TestDescription.java fails in the same way.

      Attachments

        Activity

          People

            sspitsyn Serguei Spitsyn
            cjplummer Chris Plummer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: