1827064 Members
4394 Online
109713 Solutions
New Discussion

JVM problem need help.

 
madhavabk
Regular Advisor

JVM problem need help.

Hi All,

When my product starts during startup of machine, it is getting killed. The reason being signal(SIGBUS) sent to it by JVM, as it is clear from tusc output.

Can any one tell what could be the reason.
What is this problem with JVM. since i do not know much about JVM detailed solutions can help me.

Do i need to configure my machine with SAM?
If that is the case then how can i send list of params and values set as of now in my machine.

sigprocmask(SIG_SETMASK, 0x7f7f9c0c, NULL) ............... = 0
close(3) ................................................. = 0
close(6) ................................................. = 0
read(5, "( 0 ) 0 x c 3 c 1 d 8 0 4 ".., 1024) ...... = 1024
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGBUS (10) at pc=c016f4d4, pid=2409, tid=1
#
# Java VM: Java HotSpot(TM) Server VM (1.5.0.03 jinteg:02.13.06-15:51 PA2.0 (aCC_AP) mixed mode)
# Problematic frame:
#
[error occurred during error reporting, step 60, id 0xb]

# An error report file with more information is saved as hs_err_pid2409.log
waitpid(2409, 0x7f7f9b00, 0) ............................. [sleeping]

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

Current thread is native thread

siginfo:si_signo=10, si_errno=0, si_code=0, si_addr=c0334000

Registers:
r1: 7adfb8d0 rp: c3b2bfc3 r3: c0334000 r4: c3b2be38
r5: 7b002869 r6: 00011028 r7: 7aff6c48 r8: 7f7f0d18
r9: 00000001 r10: 00000000 r11: 0000001a r12: 00000014
r13: 00000000 r14: 7f7f0c58 r15: 0000002d r16: 00000001
r17: 40001078 r18: 00000000 r19: 7b037794 r20: 092b6400
r21: c016f478 r22: 00000000 r23: 0001bf90 r24: 00008000
r25: 00000000 r26: c0334000 dp: 00012c90 ret0: c0334000
ret1: 00015df4 sp: 7f7f1160 r31: c033c000
Stack pointer: (sp=7f7f1160)
7f7f1140: 7ade48d0 7b037794 c3b2bfc3 c3b2bf53
7f7f1150: 00000000 00000000 00000000 00000000
Instructions: (pc=c016f4d4)
c016f4b4: 9300b002 0f591200 e840d002 e81f1ff5
c016f4c4: 08000240 d7390d18 0b1a061f fb396fd9
c016f4d4: 0f591360 d3e13bfd 0ff93360 375a0010

Stack: [00000000,00000000), sp=7f7f1160, free space=2088900k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)

Thanks,
Madhava

3 REPLIES 3
RAC_1
Honored Contributor

Re: JVM problem need help.

For all java problems on hp-ux, I always start with patches. Are you up to date on patches? Particularly java patces? Install all latest java patches.

Also, what does JVm exactly do? Do you have very high JVM max heap size, initial heap sizes? Set then resonalble, but not very high.
There is no substitute to HARDWORK
Steven E. Protter
Exalted Contributor

Re: JVM problem need help.

Shalom,

swlist -l product | grep -i jre (or jdk)

Upgrade to the latest version, swremove the older version.

Install all patches recommended on this site where you also get the java depots

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
madhavabk
Regular Advisor

Re: JVM problem need help.

Hi All,

My machine seems to be updated with latest patches for JAva and latest java version 1.5
And machine is configured for java1.5.

The process what i am starting works if i start it once machines comes up with the same startup script. But getting killed only when it is started up during system boot time.

Thanks,
Madhava