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

Crash when device is on low memory (was: "Camera") #8

Closed
spljaa opened this issue May 21, 2017 · 6 comments
Closed

Crash when device is on low memory (was: "Camera") #8

spljaa opened this issue May 21, 2017 · 6 comments

Comments

@spljaa
Copy link

spljaa commented May 21, 2017

Hi,
I've problem that taking photo stops/terminates aat. Is this observed elsewhere? What kind of log/data could be helpfull to diagnose case?
Regards
Jan

@bailuk
Copy link
Owner

bailuk commented May 21, 2017

What device and Android version are you using? How do you know it terminates (and not just hides)? Does a message gets displayed? Does this happen with other apps too?

Also does this happen when taking a photo or when starting the camera app?

@spljaa
Copy link
Author

spljaa commented May 21, 2017 via email

@bailuk
Copy link
Owner

bailuk commented May 21, 2017

You can use adb and logcat from the Android SDK to get a stack trace when AAT crashes. This would help me a lot.

Also note that AAT restores the last track after a crash.

@spljaa
Copy link
Author

spljaa commented May 22, 2017

In my case track was not restored... Thus maybe it was something different.
Today I tried it and it stopped just once. I would need some time to do tests properly.
And I'm not sure how to filter logcat. Here are some greps that might be related to the problem.
It shows some stack trace.

2160b.txt
4896.txt
32406.txt

@bailuk bailuk closed this as completed in 93dcecc May 25, 2017
@bailuk bailuk changed the title Camera Crash when device is on low memory (was: "Camera") May 25, 2017
@bailuk
Copy link
Owner

bailuk commented May 25, 2017

Thank you for your debugging effort.

There was a bug that gets triggered when the device is on low memory.
It still is possible that AAT gets closed by Android when your phone is running out of memory. If this should happen you are welcome to open a new issue.

@spljaa
Copy link
Author

spljaa commented May 27, 2017

Thanks for fixing it.
I will test it. At least I hope way I build apk from sources was correct and will not introduce other problems

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

No branches or pull requests

2 participants