1751974 Members
4875 Online
108784 Solutions
New Discussion

JVM error with signal 16

 
Ralph_8
New Member

JVM error with signal 16

All,

I have been able to use JNI1.1 to access java objects
from native C++ applications.

When I run the same code from within a server written in C++ ,
the JVM exits with the following Virtual Machine Error :

# HotSpot Virtual Machine Error, Internal Error
#
# Fatal: Encountered unexpected pre-existing sigaction handler
0x7af2a2a2 for signal 16.
# Error ID:
/CLO/Components/JAVA_HOTSPOT/Src/build/hp-ux/../../src/os/hp-ux/vm/os_hp-ux.cpp, 2706

I suspect that signal 16 is used for broadcasting by the server &
cannot be re-routed or turned off.

How can I work around this problem?

My platform is hpux11 (aCC compiler), JNI1.1 (PA_RISC2.0/hotspot)
and java1.2.2.07.
1 REPLY 1
Deepak Extross
Honored Contributor

Re: JVM error with signal 16

Well, the obvious workaround is to modify your C++ code to use SIGUSR2 (signal 17) in place of SIGUSR1 (signal 16).

Not too sure if this will work, but its worth a shot.