32 bit java app started via JNI crashes with larger stack sizes

Solution Verified - Updated

Environment

  • 32 bit java
    • OpenJDK
    • Oracle JDK
  • Red Hat Enterprise Linux (RHEL)
    • 6 - 2.6.32-696.6.3.el6.x86_64
    • 7 - 3.10.0-693.11.6.el7.x86_64

Issue

  • We recently upgraded our kernel. We start some 32 bit java apps via JNI and we note these now crash when trying to start with larger stack sizes that are greater than 1 mb.

Resolution

  • Upgrade to OpenJDK 1.8.0.171-1.b10+

Root Cause

Category

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.