Operating System - HP-UX
1836428 Members
3246 Online
110100 Solutions
New Discussion

Re: Getting an Exception in Native Libraries and generating Core.

 
Krishna Kaswa
New Member

Getting an Exception in Native Libraries and generating Core.

Hi,
One of our test application is giving core dump after changing the JDK version from 1.3 to 1.4.1. It gives core dump only on hp11 machine and it doesn't create a core on hp11i machine (core dumps only on hpux11). Please find below the details and core trace on this. Can you pls advise on this?

We have already applied all the HP/JAVA recommended patches on this machine.
http://www.hp.com/products1/unix/java/infolibrary/patches.html#11

Below I have pasted the core stack
========================================================================================================
hplc002:/clarify_vol3/users/home/clkrishna/12.0/cbo_29/hp/scripts[236]> gdb /opt/java1.4/bin/PA_RISC2.0/java core
HP gdb 3.0 for PA-RISC 1.1 or 2.0 (narrow), HP-UX 11.00.
Copyright 1986 - 2001 Free Software Foundation, Inc.
Hewlett-Packard Wildebeest 3.0 (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.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.

#0 0xc01f45a0 in kill () from /usr/lib/libc.2
(gdb) where
#0 0xc01f45a0 in kill () from /usr/lib/libc.2
#1 0xc0191948 in raise () from /usr/lib/libc.2
#2 0xc01d1f7c in abort_C () from /usr/lib/libc.2
#3 0xc01d1fd4 in abort () from /usr/lib/libc.2
#4 0xc8978b44 in os::abort () from /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
#5 0xc897105c in os::handle_unexpected_exception () from /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
#6 0xc897ad44 in os::Hpux::JVM_handle_hpux_signal () from /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
#7 0xc8977bf4 in os::Hpux::signalHandler () from /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
#8
#9 0xc8a04124 in shlib_hpux::shl_getsymbols_all () from /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
#10 0xc8a04748 in shlib_hpux::pc2shsym () from /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
#11 0xc89744e0 in os::dll_address_to_function_name () from /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
#12 0xc896fbb8 in os::report_fatal_error () from /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
#13 0xc8971264 in os::handle_unexpected_exception () from /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
#14 0xc897ad44 in os::Hpux::JVM_handle_hpux_signal () from /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
#15 0xc8977bf4 in os::Hpux::signalHandler () from /opt/java1.4/jre/lib/PA_RISC2.0/server/libjvm.sl
#16
#17 0xc002bd64 in ?? ()
#18 0xc002bd44 in ?? ()
#19 0xc0191948 in raise () from /usr/lib/libc.2
Cannot access memory at address 0xffffffd4
(gdb)
======================================================================

Thanks and Regards
Krishna
2 REPLIES 2
Paula J Frazer-Campbell
Honored Contributor

Re: Getting an Exception in Native Libraries and generating Core.

Hi

Have you tried a re-install of JDK, also did the first install show any errors?

Paula
If you can spell SysAdmin then you is one - anon
Paula J Frazer-Campbell
Honored Contributor

Re: Getting an Exception in Native Libraries and generating Core.

Also

Chech your version against OS here:-


http://www.hp.com/products1/unix/java/versions/

Paula
If you can spell SysAdmin then you is one - anon