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, 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