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

Bug: Crash when using Whisper for ASR (STT) #136

Closed
technopagan opened this issue Jul 5, 2024 · 7 comments
Closed

Bug: Crash when using Whisper for ASR (STT) #136

technopagan opened this issue Jul 5, 2024 · 7 comments
Labels
bug Something isn't working

Comments

@technopagan
Copy link

Reproduce: select Whisper for ASR in options, then press Microphone button in chat.

Only happens since latest version. Worked before.

Java Crash Report:

===== BEGIN OF CRASH =====
java.lang.IllegalStateException
	at android.media.MediaRecorder.start(Native Method)
	at org.teslasoft.assistant.ui.activities.ChatActivity.O(Unknown Source:137)
	at org.teslasoft.assistant.ui.activities.ChatActivity.w(Unknown Source:111)
	at ya.h.onClick(Unknown Source:369)
	at android.view.View.performClick(View.java:7729)
	at android.view.View.performClickInternal(View.java:7706)
	at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
	at android.view.View$PerformClick.run(View.java:30484)
	at android.os.Handler.handleCallback(Handler.java:959)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8501)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

===== END OF CRASH =====

@AndraxDev AndraxDev added the bug Something isn't working label Aug 17, 2024
@AndraxDev
Copy link
Owner

  1. Which Android version are you using?
  2. Latest version is 4.15 or 4.16 Preview?
  3. Test with new version 4.17.

@technopagan
Copy link
Author

@AndraxDev

  1. Android 14
  2. Tested on 4.16
  3. Crash still happens on 4.17

I have completely reset the app and ensured that all necessary permissions are given.

As soon as I select OpenAI Whisper for STT and then press the microphone button, the crash happens (reproducible on app version 4.17 on Android 14 at 20240819)

@technopagan
Copy link
Author


App has been crashed and needs to be restarted.

===== BEGIN SYSTEM INFO =====
Android version: 14 (API 34 REL)
ROM version: --(redacted for privacy)--
App version: 4.17 (417)
Device model: --(redacted for privacy)--
Android device ID: --(redacted for privacy)--
Installation ID: --(redacted for privacy)--
Teslasoft ID version: 1.4.0-speakgpt (140101)
Effective time: 2024-08-19T15:37:45.001453Z
===== END SYSTEM INFO =====

===== BEGIN OF CRASH =====
java.lang.IllegalStateException
	at android.media.MediaRecorder.start(Native Method)
	at org.teslasoft.assistant.ui.activities.ChatActivity.O(Unknown Source:137)
	at org.teslasoft.assistant.ui.activities.ChatActivity.w(Unknown Source:108)
	at ya.h.onClick(Unknown Source:365)
	at android.view.View.performClick(View.java:7729)
	at android.view.View.performClickInternal(View.java:7706)
	at android.view.View.-$$Nest$mperformClickInternal(Unknown Source:0)
	at android.view.View$PerformClick.run(View.java:30484)
	at android.os.Handler.handleCallback(Handler.java:959)
	at android.os.Handler.dispatchMessage(Handler.java:100)
	at android.os.Looper.loopOnce(Looper.java:232)
	at android.os.Looper.loop(Looper.java:317)
	at android.app.ActivityThread.main(ActivityThread.java:8501)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:552)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)

===== END OF CRASH =====

@AndraxDev
Copy link
Owner

Can you please provide the following info:

  • Device model (maybe custom ROM put additional limitations) (Tested on: Xiaomi Poco X3, Xiaomi Poco X6, Samsung Galaxy S23, Samsung Galaxy S24, Google Pixel 5/6/7/8 (It's all real devices, no emulators), Android versions 9-14 (Pure Android, heavy modified ROMs)
  • App settings (AI model, individual chat settings, UI settings (sometimes errors are going from here))

@AndraxDev
Copy link
Owner

Additionally tested on: New chat, existing chat, normal button usage, spamming record button.

@AndraxDev
Copy link
Owner

Note: Since app's code is obfuscated I can only see approximate error reason (but not exact line numbers) so I require some additional information.

@AndraxDev
Copy link
Owner

This issue has been inactive for a long time and bug has not be found in new releases so it will be closed as not planned.

@AndraxDev AndraxDev closed this as not planned Won't fix, can't repro, duplicate, stale Jan 19, 2025
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