Java and pgdbg issues on RHEL AS3 AMD64 Version

Just upgraded to version 5.2, and now when I try to run the debugger I get this message. Am I missing some package in my system, or is this a different problem?


An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0x807B9D8
Function=[Unknown.]
Library=(N/A)

NOTE: We are unable to locate the function name symbol for the error
just occurred. Please refer to release documentation for possible
reason and solutions.


Current Java thread:

Dynamic libraries:
0000000008048000-000000000804e000 r-xp 0000000000000000 08:05 3826481 /opt/pgi/linux86-64/5.2/jre/bin/java
000000000804e000-000000000804f000 rwxp 0000000000005000 08:05 3826481 /opt/pgi/linux86-64/5.2/jre/bin/java
000000000804f000-0000000008091000 rw-p 0000000000000000 00:00 0
0000000040000000-0000000040015000 r-xp 0000000000000000 08:05 474212 /lib/ld-2.3.2.so
0000000040015000-0000000040016000 rwxp 0000000000014000 08:05 474212 /lib/ld-2.3.2.so
0000000040016000-0000000040017000 rwxp 0000000000000000 00:00 0
0000000040017000-000000004001f000 r-xp 0000000000000000 08:05 2944297 /opt/pgi/linux86-64/5.2/jre/lib/i386/native_threads/libhpi.so
000000004001f000-0000000040020000 rwxp 0000000000007000 08:05 2944297 /opt/pgi/linux86-64/5.2/jre/lib/i386/native_threads/libhpi.so
0000000040020000-000000004002b000 r-xp 0000000000000000 08:05 474245 /lib/libnss_files-2.3.2.so
000000004002b000-000000004002c000 rwxp 000000000000a000 08:05 474245 /lib/libnss_files-2.3.2.so
000000004002c000-0000000040039000 r-xp 0000000000000000 08:05 3335822 /lib/tls/libpthread-0.60.so
0000000040039000-000000004003a000 rwxp 000000000000c000 08:05 3335822 /lib/tls/libpthread-0.60.so
000000004003a000-000000004003c000 rwxp 0000000000000000 00:00 0
000000004003c000-000000004003e000 r-xp 0000000000000000 08:05 474225 /lib/libdl-2.3.2.so
000000004003e000-000000004003f000 rwxp 0000000000001000 08:05 474225 /lib/libdl-2.3.2.so
000000004003f000-0000000040171000 r-xp 0000000000000000 08:05 3335818 /lib/tls/libc-2.3.2.so
0000000040171000-0000000040174000 rwxp 0000000000131000 08:05 3335818 /lib/tls/libc-2.3.2.so
0000000040174000-0000000040178000 rwxp 0000000000000000 00:00 0
0000000040178000-0000000040572000 r-xp 0000000000000000 08:05 3091464 /opt/pgi/linux86-64/5.2/jre/lib/i386/client/libjvm.so
0000000040572000-000000004058e000 rwxp 00000000003f9000 08:05 3091464 /opt/pgi/linux86-64/5.2/jre/lib/i386/client/libjvm.so
000000004058e000-00000000405a0000 rwxp 0000000000000000 00:00 0
00000000405a0000-00000000405b2000 r-xp 0000000000000000 08:05 474229 /lib/libnsl-2.3.2.so
00000000405b2000-00000000405b3000 rwxp 0000000000011000 08:05 474229 /lib/libnsl-2.3.2.so
00000000405b3000-00000000405b5000 rwxp 0000000000000000 00:00 0
00000000405b5000-00000000405d6000 r-xp 0000000000000000 08:05 3335820 /lib/tls/libm-2.3.2.so
00000000405d6000-00000000405d7000 rwxp 0000000000020000 08:05 3335820 /lib/tls/libm-2.3.2.so
00000000405d7000-00000000405d9000 r-xp 0000000000000000 08:05 1618865 /usr/lib/sasl/libanonymous.so.1.0.17
00000000405d9000-00000000405da000 rwxp 0000000000001000 08:05 1618865 /usr/lib/sasl/libanonymous.so.1.0.17
00000000405da000-00000000405de000 rwxs 0000000000000000 08:05 2911450 /tmp/hsperfdata_kba/5500
00000000405de000-00000000405e0000 rwxp 0000000000000000 00:00 0
00000000405ec000-000000004078d000 r-xp 0000000000000000 08:05 474284 /lib/libnss_ldap-2.3.2.so
000000004078d000-00000000407a1000 rwxp 00000000001a1000 08:05 474284 /lib/libnss_ldap-2.3.2.so
00000000407a1000-00000000407ae000 rwxp 0000000000000000 00:00 0
00000000407ae000-00000000407bd000 r-xp 0000000000000000 08:05 474257 /lib/libresolv-2.3.2.so
00000000407bd000-00000000407be000 rwxp 000000000000f000 08:05 474257 /lib/libresolv-2.3.2.so
00000000407be000-00000000407c0000 rwxp 0000000000000000 00:00 0
00000000407c0000-00000000407c4000 r-xp 0000000000000000 08:05 474242 /lib/libnss_dns-2.3.2.so
00000000407c4000-00000000407c5000 rwxp 0000000000003000 08:05 474242 /lib/libnss_dns-2.3.2.so
00000000407c5000-00000000407d5000 r-xp 0000000000000000 08:05 2699042 /opt/pgi/linux86-64/5.2/jre/lib/i386/libverify.so
00000000407d5000-00000000407d7000 rwxp 000000000000f000 08:05 2699042 /opt/pgi/linux86-64/5.2/jre/lib/i386/libverify.so
00000000407d7000-00000000407f7000 r-xp 0000000000000000 08:05 2699028 /opt/pgi/linux86-64/5.2/jre/lib/i386/libjava.so
00000000407f7000-00000000407f9000 rwxp 000000000001f000 08:05 2699028 /opt/pgi/linux86-64/5.2/jre/lib/i386/libjava.so
00000000407f9000-000000004080d000 r-xp 0000000000000000 08:05 2699043 /opt/pgi/linux86-64/5.2/jre/lib/i386/libzip.so
000000004080d000-0000000040810000 rwxp 0000000000013000 08:05 2699043 /opt/pgi/linux86-64/5.2/jre/lib/i386/libzip.so
0000000040810000-00000000421a8000 r-xs 0000000000000000 08:05 768854 /opt/pgi/linux86-64/5.2/jre/lib/rt.jar
00000000421a8000-00000000421f2000 rwxp 0000000000000000 00:00 0
00000000421f2000-0000000042208000 r-xs 0000000000000000 08:05 768853 /opt/pgi/linux86-64/5.2/jre/lib/sunrsasign.jar
0000000042208000-00000000422e3000 r-xs 0000000000000000 08:05 768852 /opt/pgi/linux86-64/5.2/jre/lib/jsse.jar
00000000422e3000-00000000422f4000 r-xs 0000000000000000 08:05 768845 /opt/pgi/linux86-64/5.2/jre/lib/jce.jar
00000000422f4000-000000004284d000 r-xs 0000000000000000 08:05 768846 /opt/pgi/linux86-64/5.2/jre/lib/charsets.jar
000000004284d000-00000000428c5000 rwxp 0000000000000000 00:00 0
00000000428c5000-000000004484d000 rwxp 0000000000078000 00:00 0
000000004484d000-000000004484f000 rwxp 0000000000000000 00:00 0
000000004484f000-00000000448cd000 rwxp 0000000002002000 00:00 0
00000000448cd000-00000000448f5000 rwxp 0000000000000000 00:00 0
0000000044900000-00000000449a0000 rwxp 0000000000000000 00:00 0
00000000449a0000-0000000044de0000 rwxp 00000000000ab000 00:00 0
0000000044de0000-0000000044f40000 rwxp 0000000000000000 00:00 0
0000000044f40000-0000000048900000 rwxp 000000000064b000 00:00 0
0000000048900000-0000000048d00000 rwxp 0000000000000000 00:00 0
0000000048d00000-000000004c900000 rwxp 000000000440b000 00:00 0
000000004c900000-000000004c901000 rwxp 0000000000000000 00:00 0
000000004c901000-000000004c902000 rwxp 000000000800c000 00:00 0
000000004c902000-000000004c904000 rwxp 0000000000000000 00:00 0
000000004c904000-000000004c920000 rwxp 000000000800f000 00:00 0
000000004c920000-000000004c922000 rwxp 0000000000000000 00:00 0
000000004c922000-000000004c940000 rwxp 000000000802d000 00:00 0
000000004c940000-000000004c942000 rwxp 0000000000000000 00:00 0
000000004c942000-000000004c95f000 rwxp 0000000000001000 00:00 0
000000004c95f000-000000004c962000 rwxp 0000000000000000 00:00 0
000000004c962000-000000004c980000 rwxp 0000000000021000 00:00 0
000000004c980000-000000004c981000 —p 0000000000000000 00:00 0
000000004c981000-000000004ca01000 rwxp 0000000000001000 00:00 0
00000000ffd14000-00000000ffd1e000 rwxp 0000000000000000 00:00 0
00000000ffd1e000-00000000ffd21000 —p 0000000000000000 00:00 0
00000000fff08000-00000000ffffe000 rw-p fffffffffff0b000 00:00 0

Heap at VM Abort:
Heap
def new generation total 576K, used 0K [0x44900000, 0x449a0000, 0x44de0000)
eden space 512K, 0% used [0x44900000, 0x44900048, 0x44980000)
from space 64K, 0% used [0x44980000, 0x44980000, 0x44990000)
to space 64K, 0% used [0x44990000, 0x44990000, 0x449a0000)
tenured generation total 1408K, used 0K [0x44de0000, 0x44f40000, 0x48900000)
the space 1408K, 0% used [0x44de0000, 0x44de0000, 0x44de0200, 0x44f40000)
compacting perm gen total 4096K, used 277K [0x48900000, 0x48d00000, 0x4c900000)
the space 4096K, 6% used [0x48900000, 0x48945490, 0x48945600, 0x48d00000)

Local Time = Wed Jul 28 11:37:07 2004
Elapsed Time = 0

The exception above was detected in native code outside the VM

Java VM: Java HotSpot™ Client VM (1.4.2_03-b02 mixed mode)

Hi,

First off, please file a problem report on this and we will investigate it more. Use the web link below:

http://www.pgroup.com/support/support.php

Second, does this also occur when you try to run pgprof?

Are you able to invoke pgdbg with -motif? The -motif option will bring up the older GUI and can be used as a work around.

Thanks,

Mark

Filed a report.

This also occurs with pgprof.

Using -motif or -text allows the debugger to function fine.

This appears to be a bug in RHEL30-64 and Java. According to a bug report on Sun’s site ( http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4969341 ), it has been fixed in Version 1.4.2_05 of the Java Runtime Environment. We currently are shipping version 1.4.2_03 and plan to move to 1.4.2_05 (or perhaps higher) in our next release. RHEL30-64 users should do the following to get the new GUIs to work:

  1. Download the latest Java Runtime Environment from Sun by going to http://www.java.com/en/index.jsp and clicking on the “Get It Now” button.

  2. After downloading the JRE for your system, follow its installation instructions and note the directory that you installed the JRE into.

  3. set the PGI_JAVA environment variable to the path of the “java” executable that you just installed. For example, let’s say that you installed the jre in /usr/java. Then the path to the java executable is /usr/java/jre/bin/java. We will then set this variable using one of the following methods:

if you are using tcsh/csh:

setenv PGI_JAVA /usr/java/jre/bin/java

if you are using sh/bash:

export PGI_JAVA=/usr/java/jre/bin/java
  1. After setting the environment variable, you should be able to run the 5.2 version of pgprof or pgdbg.


    As a side note, it does not appear RHEL30 is officially supported by Java. Java’s download page only lists Version 2.1 as supported ( http://www.java.com/en/download/help/sysreq.jsp ). However, I believe they are planning on officially supporting it from the looks of the following bug report:

http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4978918

-Mark

Hi,

The latest build to date of PGI 5.2 for download (5.2-2) contains the latest build to date of the JRE (1.4.2_05) … You can download this package from our site and everything should work.

Regards,

Mark