I have seen the question like how-do-you-crash-a-jvm and shortest-code-that-raises-a-sigsegv
There are some java code to produce SIGSEGV like:
final Constructor<Unsafe> unsafeConstructor = Unsafe.class.getDeclaredConstructor();
unsafeConstructor.setAccessible(true);
final Unsafe unsafe = unsafeConstructor.newInstance();
System.out.println(unsafe.getAddress(0));
and it produces a SIGSEGV typed V
(VM frame).
# JRE version: Java(TM) SE Runtime Environment (8.0_101-b13) (build 1.8.0_101-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.101-b13 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# V [jvm.dll+0x1e2440]
And there is Crash in Compiled Code
according to https://docs.oracle.com/javase/8/docs/technotes/guides/troubleshoot/crashes001.html.
I wonder if there anyway to produce a typed J
segmentation fault.
And I have seen some lib issue like JVM crash.(So it indicates that can be manually produced?)