1825801 Members
2182 Online
109687 Solutions
New Discussion

JVM Crash on HP-UX 11.31

 
I_kept_walking
New Member

JVM Crash on HP-UX 11.31

Hi,

While installing our application server with the installation GUI (using JDK 1.6.0.08 32-bit) we see a JVM crash.
This is not seen when we install it using 64 bit JDK (-d64) on same machine. Neither this is seen when we install it on HP-UX 11.23.

We checked the patch level and it seems to be satisfactory. JDK related patches corresponding to the Sept 2008 Quality patches seem to be there.

/usr/sbin/swlist | grep -e QPK -e GOLD -e BUNDLE11i
QPKBASE B.11.31.0809.326 Base Quality Pack Bundle for HP-UX 11i v3, September 2008

/usr/sbin/swlist -l product | grep PHSS_39822
PHSS_39822 1.0 linker + fdp cumulative patch

/usr/sbin/swlist -l product | grep PHKL_40208
PHKL_40208 1.0 scheduler cumulative patch

This is snapshot of the hs_err_pid.log

#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (11) at pc=cd99fee8, pid=29444, tid=19
#
# JRE version: 6.0
# Java VM: Java HotSpot(TM) Server VM (17.0-b17-jre1.6.0.08-rc1 PA2.0 (aCC_AP) mixed mode hp-ux-pa-risc )
# Problematic frame:
# V [libjvm.sl+0x159b7790]
#
# Please report this error to HP customer support.
#

--------------- T H R E A D ---------------

Current thread (00495168): JavaThread "WizardController" daemon [_thread_in_vm, id=19, lwp_id=8916078, stack(54740000,547c0000)]

siginfo:si_signo=SIGSEGV: si_errno=0, si_code=0 (SEGV_UNKNOWN), si_addr=00000000

Registers:
r1: b7ce0558 rp: 00000000 r3: b7f1aae4 r4: 00495168
r5: 00000000 r6: 561a1488 r7: 547c0b00 r8: 561a47f8
r9: 00000000 r10: a0f44078 r11: a0f44168 r12: a0f35028
r13: 56cbbd10 r14: a0f43de8 r15: a6ff8680 r16: a6ff8680
r17: a6ff8748 r18: b5c0ff00 r19: b7cf3558 r20: 004952c0
r21: 00495180 r22: 00000002 r23: b7f33738 r24: 00000000
r25: 00495168 r26: 0000000c dp: 0000e900 ret0: b7f3373c
ret1: 00000000 sp: 547c0e00 r31: 00000006
Stack pointer: (sp=547c0e00)
547c0de0: b7cf3558 00000109 c0009ea3 c0009ea3
547c0df0: b7d20b88 00000000 00000050 00000034
Instructions: (pc=cd99fee8)
cd99fec8: e97dbb24 37da3ea1 4bd33fc1 6bc43f89
cd99fed8: 341a0018 4bdd3da9 34990000 6bda3ed1
cd99fee8: 4bb40000 37da3ef9 37c53da9 4a9f0010

Stack: [54740000,547c0000], sp=547c0e00, free space=%pk
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.sl+0x159b7790]
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j com.bea.plateng.common.jni.JNIUtil.getFreeSpace(Ljava/lang/String;)J+0
j com.bea.plateng.common.util.diskspace.FileSystem.getAvailableSpaceMB()J+7
j com.bea.plateng.common.util.diskspace.FileSystem.(Ljava/io/File;)V+22
j com.bea.plateng.common.util.diskspace.Computer.addDirToInstall(Lcom/bea/plateng/common/util/diskspace/Directory;)Z+43
j com.bea.plateng.common.util.diskspace.Computer.addDirsToInstall(Ljava/util/Collection;)Z+29
j com.bea.plateng.wizard.installer.helpers.DiskSpaceHelper.checkDiscSpaceForProductInstallation(Lcom/bea/cie/gpr/model/HomeTarget;Lcom/bea/
plateng/wizard/IControllerProxy;Ljava/lang/String;)Ljava/lang/String;+274
j com.bea.plateng.wizard.installer.helpers.ProductDirHelper.setStoreKeysAndValidateDiskSpace()V+274
j com.bea.plateng.wizard.installer.helpers.ProductDirHelper.validateAndSet()V+310
j com.bea.plateng.wizard.installer.gui.tasks.ProductDirChooserTask.okNext()Z+17
j com.bea.plateng.wizard.WizardController.nextTask()Z+6
j com.bea.plateng.wizard.WizardController.run()V+188
j java.lang.Thread.run()V+11
v ~StubRoutines::call_stub
.....
.....

The libjvm.sl is getting pointed out. But the same thing works fine if we use 64 bit version of the JDK.

The core file also is generated. But gdb java core did not give much details. Or I was not able to read into it properly?

gdb java core

HP gdb 5.9 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00
and target hppa1.1-hp-hpux11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 5.9 (based on GDB) is covered by the
GNU General Public License. Type "show copying" to see the conditions to
change it and/or distribute copies. Type "show warranty" for warranty/support.
..
Core was generated by `java'.
Program terminated with signal 6, Aborted.

#0 0xc00f2e70 in ()
(gdb) bt
#0 0xc00f2e70 in ()
warning: Attempting to unwind past bad PC 0xc00f2e70
#1 0xc00b5f5c in ()
#2 0xc00b5f5c in ()
(gdb)

I checked if the core file was sound.

what core
..
..
SMART_BIND
92453-07 dld dld dld.sl B.11.68 090608


Any pointers as to areas where I can sniff around to get to the root of this? Is this something known? Any Patches I missed?

Regards

7 REPLIES 7
Steven E. Protter
Exalted Contributor

Re: JVM Crash on HP-UX 11.31

Shalom,

HP has patches for java that are not normally included in a QPK.

http://www.hp.com/go/java

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
I_kept_walking
New Member

Re: JVM Crash on HP-UX 11.31

Thanks for Quick reply.

I used this link:
http://ftp.hp.com/pub/softlib/hpuxjava-patchinfo/g-11.31-6.0-1131.0809.html

for finding the patched which would be needed in case only Quality pack Sept'08 is installed.
PHSS_39822 and PHKL_40208 are listed as needed for PA_RISC system.

Any other place I can refer and confirm the same?

Again thanks for replying.


Steven E. Protter
Exalted Contributor

Re: JVM Crash on HP-UX 11.31

Secondary confirmation:

You can open up a support case with HP Response center.

Having a newer QPK installed may still require you to add the two patches named in the document.

If you can you are better off with those patches than without.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Dennis Handly
Acclaimed Contributor

Re: JVM Crash on HP-UX 11.31

>SEP: You can open up a support case with HP Response center.

Exactly. After making sure you have the latest java patches, that's your first line of support for JVM problems.
I_kept_walking
New Member

Re: JVM Crash on HP-UX 11.31

I meant that I have those two patches related to the PA_RISC, mentioned in the document along with the Quality pack.

Any ideas as to libjvm.sl which is getting mentioned? Anyone seen anything similar to this? Is it an issue of some libraries not getting loaded or not getting loaded in the right way?

Thanks for help guys.
Dennis Handly
Acclaimed Contributor

Re: JVM Crash on HP-UX 11.31

>I meant that I have those two patches related to the PA_RISC, mentioned in the document along with the Quality pack.

If you have these patches and the latest version of Java, your next step is to call the Response Center.

>Any ideas as to libjvm.sl which is getting mentioned?

This is the Java VM.
Wim Rombauts
Honored Contributor

Re: JVM Crash on HP-UX 11.31

I think the next best step is to upgrade to the latest java release : 1.6.0.09
And if that doesn't help, I think you better open a service request with HP.