Java application crashes with 'Segmentation fault'

Solution Verified - Updated -

Issue

  • JBoss crashes with this error in the console output:

        run.sh: line 283: 19837 Segmentation fault      "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@"
    
  • We have serious problems since we migrated our production environment from EAP 4.3.0 to EAP 5.0.0 last night. One or two of our cluster-nodes are dying with following message in console.log:

        run.sh: line 283:  9076 
        Speicherzugriffsfehler 
         "$JAVA" $JAVA_OPTS -Djava.endorsed.dirs="$JBOSS_ENDORSED_DIRS" 
        -classpath "$JBOSS_CLASSPATH" org.jboss.Main "$@"
    
  • The following error in the Linux /var/log/messages file:

        kernel: java[17601]: segfault at 00000000498a2ca8 rip 00002aac2144459d rsp 00000000498a2c90 error 6
    
  • After one node in the cluster crashes, the other nodes crash in quick succession.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
  • Linux
  • CentOS
  • Red Hat Enterprise Linux (RHEL)
  • Sun/Oracle JDK

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