JVM crash caused by stack overflow

Solution Unverified - Updated -

Issue

Our Java application is crashing with a SIGSEGV. The si_addr value is equal or close to the stack limit of the current thread.

~~
Current thread (0x00002aaab83f0800): JavaThread "http-144.135.181.172-8080-4" daemon [_thread_in_vm, id=8133, stack(0x0000000044cc2000,0x0000000044dc3000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=2 (SEGV_ACCERR), si_addr=0x0000000044cc2000
~~

There is also at least one native frame being executed

Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C  [libc.so.6+0x7c36b]  unsigned long+0x10b

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