Name: yyT116575 Date: 10/12/2000
Hotspot Version 2 build E
1) From Native Code Call the Java Engine thru JNI using JNI_CreateJavaVM. In the
JavaVMInitArgs set the "exit" option. Thus instructing the Java engine to
perform a callback to a native function during exit.
2) Call some java method which will finally issue a "System.Exit(0)".
3) The Hotspot enginge will call the callback function.
4) Upon return from the callback routine, the hotspot enginge crashes with the
message:
#
# HotSpot Virtual Machine Error, Internal Error
# Please report this error at
# http://java.sun.com/cgi-bin/bugreport.cgi
#
# Error ID: 4A4156410E4350500149
#
# Problematic Thread: prio=5 tid=0xff1230 nid=0xffc80391 initialized
#
(Review ID: 110594)
======================================================================
- duplicates
-
JDK-4378695 hotspot with JNI crashes after exit hook
-
- Closed
-