RFR: 8348323: Corrupted timezone string in JVM crash log

Kevin Walls kevinw at openjdk.org
Fri Jan 24 09:23:48 UTC 2025


On Thu, 23 Jan 2025 01:10:05 GMT, Dhamoder Nalla <dhanalla at openjdk.org> wrote:

> Add a error check to "wcstombs" otherwise the "buf" prints junk or corrupted string.
> 
> Test performed: 
> 1. "jcmd < jvm pid > VM.info" for different JVM versions

Hi,
It's not random corruption, as it's the same across different machines.
We are getting timezone printing wrong, and this is I think a way of not printing the timezone.

It would be great to have more info/examples in the JBS issue.
The one example in the JBS issue contains "-eur" so perhaps part of a timezone name in Europe...

What timezone are the machines actually set to?
Is there a TZ variable set? like in JDK-8340465

-------------

PR Comment: https://git.openjdk.org/jdk/pull/23246#issuecomment-2612045687


More information about the hotspot-runtime-dev mailing list