Crash can be generated programatically from JNI C