Java crash in java.util.GregorianCalendar.computeTime

Solution Verified - Updated -

Issue

  • After recently upgrading to OpenJDK 11.0.19, we started seeing crashes in java.util.GregorianCalendar.computeTime:
Stack: [0x00007f3d8974c000,0x00007f3d8984d000],  sp=0x00007f3d8984af90,  free space=1019k
Native frames: (J=compiled Java code, A=aot compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 35755 c2 java.util.GregorianCalendar.computeTime()V java.base@11.0.19 (970 bytes) @ 0x00007f3dcdbc0433 [0x00007f3dcdbbf440+0x0000000000000ff3]
J 35704 c1 java.text.SimpleDateFormat.parse(Ljava/lang/String;Ljava/text/ParsePosition;)Ljava/util/Date; java.base@11.0.19 (446 bytes) @ 0x00007f3dc7cc3c5c [0x00007f3dc7cc27a0+0x00000000000014bc]
j  org.apache.commons.lang.time.DateUtils.parseDateWithLeniency(Ljava/lang/String;[Ljava/lang/String;Z)Ljava/util/Date;+153
j  org.apache.commons.lang.time.DateUtils.parseDateStrictly(Ljava/lang/String;[Ljava/lang/String;)Ljava/util/Date;+3

Environment

  • OpenJDK
    • 8u372
    • 11.0.19
    • 17.0.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content