JVM crash when executing compiled java code

Solution Verified - Updated -

Issue

  • The JVM crashed and provided a hs_err crash file indicates the crash occurred in some compiled Java code:
Stack: [0x0000000011680000,0x0000000011780000],  sp=0x000000001177e6c0,  free space=1017k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J  org.crashing.compiled.Class.method()J
...
  • Crash in code compiled by the C1 compiler:
Stack: [0x00007f01aae5e000,0x00007f01aaf5f000],  sp=0x00007f01aaf5d240,  free space=1020k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 35615 C1 sun.nio.ch.Util.free(Ljava/nio/ByteBuffer;)V (13 bytes) @ 0x00007f06294973ce [0x00007f0629497360+0x6e]
  • Crash in code compiled by the C2 compiler:
Stack: [0x00003ffbdb7a0000,0x00003ffbdb9a0000],  sp=0x00003ffbdb99ba20,  free space=2030k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
J 1985 C2 java.net.URLStreamHandler.parseURL(Ljava/net/URL;Ljava/lang/String;II)V (1193 bytes) @ 0x00003fff71efdc3c [0x00003fff71efc280+0x19bc]

Environment

  • Java

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