Third party jre segfaults when ran within gdb

Solution Verified - Updated -

Issue

Running gdb against a java application ends up with the jre segfaulting.

The problem does not occurs when gdb is attached to a running process.

When using /usr/bin/java, gdb seems to run correctly, but when using  /usr/java/jdk1.6.0_17/bin/java, then the jre segfaults.

Environment

  • Red Hat Enterprise Linux 5
  • gdb
  • 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.