Open ivanooi opened 2 months ago
this is the sample code
crashed at whisper.full .
Thanks
` System.setProperty("java.io.tmpdir", "/Volumes/DevTest/test-whisper-jni"); // WhisperJNI.loadLibrary(loadOptions); WhisperJNI.loadLibrary();
float[] samples = readJFKFileSamples(); System.out.println("samples=" + samples.length); WhisperJNI whisper = new WhisperJNI(); WhisperFullParams params = new WhisperFullParams(); params.detectLanguage = true ; WhisperContext ctx = whisper.init( Paths.get("/Users/ivanooi/Downloads/OpenCV-test/whisper/Mac/ggml-small.bin")); System.out.println("WhisperContext done"); int result = whisper.full(ctx, params, samples, samples.length);
`
#
this is the sample code
crashed at whisper.full .
Thanks
` System.setProperty("java.io.tmpdir", "/Volumes/DevTest/test-whisper-jni"); // WhisperJNI.loadLibrary(loadOptions); WhisperJNI.loadLibrary();
`
#
A fatal error has been detected by the Java Runtime Environment:
#
SIGSEGV (0xb) at pc=0x0000000000000000, pid=18488, tid=6147
#
JRE version: OpenJDK Runtime Environment AdoptOpenJDK (11.0.8+10) (build 11.0.8+10)
Java VM: OpenJDK 64-Bit Server VM AdoptOpenJDK (11.0.8+10, mixed mode, tiered, compressed oops, g1 gc, bsd-amd64)
Problematic frame:
C 0x0000000000000000
#
No core dump will be written. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
An error report file with more information is saved as:
/Volumes/DevTest/test-whisper-jni/hs_err_pid18488.log
#
If you would like to submit a bug report, please visit:
https://github.com/AdoptOpenJDK/openjdk-support/issues
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
#