Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

App crashes unexpectedly without error message in android for kannada language during realtime transcribing #142

Open
aravindle opened this issue Oct 4, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@aravindle
Copy link

aravindle commented Oct 4, 2023

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

@jhen0409 jhen0409 added the bug Something isn't working label Oct 5, 2023
@jhen0409
Copy link
Member

jhen0409 commented Oct 5, 2023

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)'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants