★ wanayoo — archive 1999 https://github.com/NativeScript/android-runtime/issues/1591Nouvelle recherche | Portail wanayoo
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

Microsoft cognitiveservices crashed in worker #1591

Open
jibon57 opened this issue Mar 6, 2020 · 5 comments
Open

Microsoft cognitiveservices crashed in worker #1591

jibon57 opened this issue Mar 6, 2020 · 5 comments

Comments

@jibon57
Copy link

@jibon57 jibon57 commented Mar 6, 2020

Environment
Getting NativeScript components versions information...
Component nativescript has 6.4.1 version and is up to date.
Component tns-core-modules has 6.4.2 version and is up to date.
Component tns-android has 6.4.1 version and is up to date.
Component tns-ios has 6.4.2 version and is up to date.

Describe the bug
I am implementing cognitiveservices for NativeScript android. It's working fine but when I am navigating to another page & come back to previous page that time during use of the service got crash on real device (Samsung s7 edge). It's working fine with emulator but crashing in real device.

To Reproduce
Please check the attached project file. Click on Navigate & play or record. Then back to previous page & click again on Navigate to go. Now check the service & it will crash the APP. Same scenario is working fine with iOS.

Expected behavior
Should work as iOS

Sample project
Archive_2.zip

@darind
Copy link
Member

@darind darind commented Mar 10, 2020

I am unable to reproduce the crash on my device. Could you send the adb log of the crash?

@jibon57
Copy link
Author

@jibon57 jibon57 commented Mar 10, 2020

@darind thanks for reply. Here is the log
logcat.txt

@jibon57
Copy link
Author

@jibon57 jibon57 commented Mar 11, 2020

@darind any findings? It's not showing any error message on crash. Just closing APP.

@darind
Copy link
Member

@darind darind commented Mar 11, 2020

@jibon57, unfortunately I am not able to reproduce the crash and the log dump doesn’t seem to contain any error message which could be helpful.

You can try commenting out portions of your code until you are able to narrow down the crash to some specific instruction.

@jibon57
Copy link
Author

@jibon57 jibon57 commented Mar 11, 2020

@darind , I have noticed like this:

When I enter to that page & click on play for Speech synthesis it's working & back to previous page. After re-enter click to play. It's still working. But if I click on record to voice recognition that time APP is getting close without showing any error. So, it's like if I am doing same things I mean only record to voice recognition or play to Speech synthesis each time then it's working fine. If I do different thing then APP get crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.