Hotspot container tests assert with non-ascii vendor name

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Unresolved
    • Priority: P3
    • 27
    • Affects Version/s: 25
    • Component/s: hotspot
    • generic
    • linux

      See JDK-8375471 for the details. Basically if non-ascii vendor name is used the hotspot container tests fail on a fastdebug build due to an assert:

      FAILED: containers/docker/DockerBasicTest.java

      The failure trace is:
      [COMMAND]
      docker run --tty=true --rm jdk-internal:test-containers-docker-DockerBasicTest-basic /jdk/bin/java -XX:+ErrorFileToStderr -Djdk.test.docker.image.name=fedora -Djdk.test.docker.image.version=42 -version
      [2026-01-20T10:00:03.748050003Z] Gathering output for process 13334
      [ELAPSED: 2619 ms]
      [STDERR]

      [STDOUT]
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/disk/openjdk/upstream-sources/git/jdk-jdk/src/hotspot/share/runtime/perfData.cpp:439), pid=1, tid=7
      # assert(strcmp(value, system_value) == 0) failed: property value mustn't differ from System.getProperty. Our value is: Foo bar \u00f6\u00dc\u00df, System.getProperty is: Foo bar \ufffd\ufffd\ufffd\ufffd\ufffd\ufffd
      #
      # JRE version: OpenJDK Runtime Environment (27.0) (fastdebug build 27-internal-adhoc.sgehwolf.jdk-jdk)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 27-internal-adhoc.sgehwolf.jdk-jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x1802438] PerfDataManager::assert_system_property(char const*, char const*, JavaThread*)+0x468
      #
      # Core dump will be written. Default location: Determined by the following: "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %d %F" (alternatively, falling back to //core.1)
      #
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # Internal Error (/disk/openjdk/upstream-sources/git/jdk-jdk/src/hotspot/share/runtime/perfData.cpp:439), pid=1, tid=7
      # assert(strcmp(value, system_value) == 0) failed: property value mustn't differ from System.getProperty. Our value is: Foo bar \u00f6\u00dc\u00df, System.getProperty is: Foo bar \ufffd\ufffd\ufffd\ufffd\ufffd\ufffd
      #
      # JRE version: OpenJDK Runtime Environment (27.0) (fastdebug build 27-internal-adhoc.sgehwolf.jdk-jdk)
      # Java VM: OpenJDK 64-Bit Server VM (fastdebug 27-internal-adhoc.sgehwolf.jdk-jdk, mixed mode, sharing, tiered, compressed oops, compressed class ptrs, g1 gc, linux-amd64)
      # Problematic frame:
      # V [libjvm.so+0x1802438] PerfDataManager::assert_system_property(char const*, char const*, JavaThread*)+0x468
      #
      # Core dump will be written. Default location: Determined by the following: "/usr/lib/systemd/systemd-coredump %P %u %g %s %t %c %h %d %F" (alternatively, falling back to //core.1)
      #
      # If you would like to submit a bug report, please visit:
      # https://bugreport.java.com/bugreport/crash.jsp
      #

      I'm attaching the jtr file.

            Assignee:
            Severin Gehwolf
            Reporter:
            Severin Gehwolf
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: