whisper.rn
whisper.rn copied to clipboard
App crashes unexpectedly without error message in android for kannada language during realtime transcribing
Hi,
I've setup a basic repo to test this library and the app crashes for kannada machine learning model but seems to be working fine for english and hindi models. I'm attaching the error logs right after the crash, plus the screen setup for initializing the model, context and and starting realtime transcribing. Please let us know if there is a possibility of this being fixed. Thankyou
https://github.com/aravindle/whisperrnissue/blob/main/errorlogs.txt
https://github.com/aravindle/whisperrnissue/blob/main/App.js
Thanks for the report, I'l investigate later.
I just put the error logs here for easier tracking:
10-04 18:05:16.734 6482 6482 F DEBUG : signal 6 (SIGABRT), code -1 (SI_QUEUE), fault addr --------
10-04 18:05:16.734 6482 6482 F DEBUG : Abort message: 'JNI DETECTED ERROR IN APPLICATION: input is not valid Modified UTF-8: illegal start byte 0xa1
10-04 18:05:16.734 6482 6482 F DEBUG : string: '�ಿಚಿಡಬೇಕುದು ವಿಧಾನಸಭಾ ಕ್ಷೇತ್ರಗಳಲ್ಲಿ ಕಾಂಗ್ರೆಸ್ ಪಕ್ಷದ ಆದೇಶ ಸಮಾಚಾರ ಕೇಳಿದೆ'
10-04 18:05:16.734 6482 6482 F DEBUG : input: '<0xa1> 0xe0 0xb2 0xbf 0xe0 0xb2 0x9a 0xe0 0xb2 0xbf 0xe0 0xb2 0xa1 0xe0 0xb2 0xac 0xe0 0xb3 0x87 0xe0 0xb2 0x95 0xe0 0xb3 0x81 0xe0 0xb2 0xa6 0xe0 0xb3 0x81 0x20 0xe0 0xb2 0xb5 0xe0 0xb2 0xbf 0xe0 0xb2 0xa7 0xe0 0xb2 0xbe 0xe0 0xb2 0xa8 0xe0 0xb2 0xb8 0xe0 0xb2 0xad 0xe0 0xb2 0xbe 0x20 0xe0 0xb2 0x95 0xe0 0xb3 0x8d 0xe0 0xb2 0xb7 0xe0 0xb3 0x87 0xe0 0xb2 0xa4 0xe0 0xb3 0x8d 0xe0 0xb2 0xb0 0xe0 0xb2 0x97 0xe0 0xb2 0xb3 0xe0 0xb2 0xb2 0xe0 0xb3 0x8d 0xe0 0xb2 0xb2 0xe0 0xb2 0xbf 0x20 0xe0 0xb2 0x95 0xe0 0xb2 0xbe 0xe0 0xb2 0x82 0xe0 0xb2 0x97 0xe0 0xb3 0x8d 0xe0 0xb2 0xb0 0xe0 0xb3 0x86 0xe0 0xb2 0xb8 0xe0 0xb3 0x8d 0x20 0xe0 0xb2 0xaa 0xe0 0xb2 0x95 0xe0 0xb3 0x8d 0xe0 0xb2 0xb7 0xe0 0xb2 0xa6 0x20 0xe0 0xb2 0x86 0xe0 0xb2 0xa6 0xe0 0xb3 0x87 0xe0 0xb2 0xb6 0x20 0xe0 0xb2 0xb8 0xe0 0xb2 0xae 0xe0 0xb2 0xbe 0xe0 0xb2 0x9a 0xe0 0xb2 0xbe 0xe0 0xb2 0xb0 0x20 0xe0 0xb2 0x95 0xe0 0xb3 0x87 0xe0 0xb2 0xb3 0xe0 0xb2 0xbf 0xe0 0xb2 0xa6 0xe0 0xb3 0x86'
10-04 18:05:16.734 6482 6482 F DEBUG : in call to NewStringUTF
10-04 18:05:16.734 6482 6482 F DEBUG : from java.lang.String com.rnwhisper.WhisperContext.getTextSegment(long, int)'