Operating System - HP-UX
1825808 Members
2261 Online
109688 Solutions
New Discussion

Re: An unexpected exception has been detected in native code outside the VM. Function=mallinfo

 

An unexpected exception has been detected in native code outside the VM. Function=mallinfo

Hallo !
When calling a small Java program which accesses a database, we get a hotspot error which you can see below.
We use java full version "1.3.1.12-_05_dec_2003_13_05" on HPUX B.11.11 U 9000/800
The problem occurs on only on of our HPUX machines, where the Virtual Partition is installed (don't know whether that matters). For the rest, OS, Patch leve etc are all the same as on the other HPUX machines.

Any ideas?
Thanks!

Kind regards
Sabine

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xc0197304
Function name=mallinfo
Library=/usr/lib/libc.2

Current Java thread:
"main" prio=6 tid=0x0003c460 nid=1 lwp_id=718932 runnable [0x7b041000..0x7b041708]
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at com.versant.trans.Wrappers.java_lang_Class_forName(Wrappers.java:88)
at com.versant.trans.TransSession.classForName(TransSession.java:2678)
at com.versant.trans.TransSession.newInstance(TransSession.java:4373)
at com.versant.trans.TransSession.generatePickler(TransSession.java:3301)
at com.versant.trans.TransSession.generatePickler(TransSession.java:3292)
at com.versant.trans.TransSession.findPicklerForClassHandle(TransSession.java:3164)
at com.versant.trans.TransSession.findClassHandle(TransSession.java:3086)
- locked <0x77529f80> (a com.versant.trans.TransSession)
at com.versant.trans.TransSession.makePersistent(TransSession.java:4024)
at com.versant.trans.TransSession.makePersistent(TransSession.java:1529)
- locked <0x77529f80> (a com.versant.trans.TransSession)
at com.versant.trans.TransSession.makePersistent(TransSession.java:1510)
- locked <0x77529f80> (a com.versant.trans.TransSession)
at Test.main(Test.java:12)

Dynamic libraries:
/opt/java1.3/bin/../bin/PA_RISC2.0/native_threads/java
text:0x00001000-0x00007384 data:0x00008000-0x000086b8
/opt/java1.3/bin/../jre/lib/PA_RISC2.0/server/libjvm.sl
text:0xc9000000-0xc987c000 data:0x7af5e000-0x7b01e000
/usr/lib/libpthread.1
text:0xc0040000-0xc0059000 data:0x7af23000-0x7af26000
/usr/lib/libm.2
text:0xc0080000-0xc00ac000 data:0x7af26000-0x7af27000
/usr/lib/librt.2
text:0xc07e8000-0xc07ec000 data:0x7af27000-0x7af28000
/usr/lib/libcl.2
text:0xc03c0000-0xc04ab000 data:0x7af29000-0x7af35000
/usr/lib/libisamstub.1
text:0xc005f000-0xc0060000 data:0x7af28000-0x7af29000
/usr/lib/libCsup.2
text:0xc0310000-0xc032b000 data:0x7af35000-0x7af38000
/usr/lib/libc.2
text:0xc0100000-0xc0246000 data:0x7b023000-0x7b036000
/usr/lib/libdld.2
text:0xc0004000-0xc0007000 data:0x7b01e000-0x7b01f000
/opt/java1.3/jre/lib/PA_RISC2.0/native_threads/libhpi.sl
text:0xc2750000-0xc2762000 data:0x7af21000-0x7af23000
/opt/java1.3/bin/../jre/lib/PA_RISC2.0/libverify.sl
text:0xc2710000-0xc2720000 data:0x7af0d000-0x7af0e000
/opt/java1.3/bin/../jre/lib/PA_RISC2.0/libjava.sl
text:0xc2770000-0xc279c000 data:0x7af08000-0x7af0d000
/opt/java1.3/bin/../jre/lib/PA_RISC2.0/libzip.sl
text:0xc27a0000-0xc27b3000 data:0x7af06000-0x7af08000
/opt/versant/vds6053/lib/libjvi6.0.5.sl
text:0xca600000-0xca82c000 data:0x7ac06000-0x7ac59000
/usr/lib/libnss_files.1
text:0xc0034000-0xc003d000 data:0x789fc000-0x789fd000

Local Time = Tue Aug 10 16:37:36 2004
Elapsed Time = 3
#
# The exception above was detected in native code outside the VM
#
# Java VM: Java HotSpot(TM) Server VM (1.3.1 1.3.1.12-_05_dec_2003_13_05 PA2.0 mixed mode)
#




5 REPLIES 5
celine_1
New Member

Re: An unexpected exception has been detected in native code outside the VM. Function=mallinfo

??
Steve Steel
Honored Contributor

Re: An unexpected exception has been detected in native code outside the VM. Function=mallinfo

Hi

vpars may make a difference . Signal 11 is normally maxdsiz or maxdsiz_64 in the kernel is too small and there is a memory problem indicated.

Compare kernels

Also

www.hp.com/go/java

Try
SDK & RTE 1.3.1.13 which has a load of fixes.


Steev Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Meraj
New Member

Re: An unexpected exception has been detected in native code outside the VM. Function=mallinfo

Sabine,

Any solution you have managed to get on this problem of :

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=0xc0197304
Function name=mallinfo
Library=/usr/lib/libc.2


I am facing a similar problem with one of my application HP-UX 11.11

Please let me know the workaround for these.

Thanks in advance !!

Cheers
Meraj
Stephen Keane
Honored Contributor

Re: An unexpected exception has been detected in native code outside the VM. Function=mallinfo

Do you have PHCO_28425 installed?

Under severe memory shortage conditions,the application calling memorymap(3C) or mallinfo(3C) dumps core.

JAGae45338; SR 8606281395

Re: An unexpected exception has been detected in native code outside the VM. Function=mallinfo

Hallo

after a long period of experimentation it turned out that the software we used wasn't compiled well. So it wasn't a problem of HP UX after all.
It is still strange that this happened only on one HP server, but the problem is now solved.
We don't have PHCO_28425 installed on this machine.

Thanks for your help,
bye
Sabine