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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.