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

Corrupted timezone string in JVM crash log

XMLWordPrintable

    • b08
    • generic
    • windows

        The timezone string printed by `os::print_date_and_time` is corrupted for some locales when `wcstombs` fails, as shown below.

        Host: AMD Ryzen 5 2600 Six-Core Processor , 12 cores, 15G, Windows 11 , 64 bit Build 22621 (10.0.22621.3958)
        Time: Tue Dec 10 16:32:49 2024 K��-eur󰡩 t鬩 idBuild 22621 (10.0.22621.3958) elapsed time: 1272.020845 seconds (0d 0h 21m 12s)

        Typically, the timezone is replaced with random junk, followed by leftovers of the OS version string. Interestingly, the junk remains consistent across multiple machines.

              dhanalla Dhamoder Nalla
              dhanalla Dhamoder Nalla
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: