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

Aplite crashes #18

Open
chaseadam opened this issue Apr 4, 2017 · 9 comments
Open

Aplite crashes #18

chaseadam opened this issue Apr 4, 2017 · 9 comments

Comments

@chaseadam
Copy link

Seems this watchface causes my Aplite to go into SOS recovery mode. Someone mentioned that if a watchface crashes a few times, then it will push the watch into this mode. I am happy to debug but am not familiar with next steps.

@stefanheule
Copy link
Owner

I'm sorry to hear that. Let's see if we can narrow the problem down. I don't have a aplite Pebble, so it might be a bit hard for me to reproduce the problem.

Do you ever observe the watchface crashing directly? Or is the only symptom that the watch enters SOS recovery mode? Does the problem happen with other watchfaces?

@chaseadam
Copy link
Author

The only symptom is entering SOS. I may have seen this behavior once before over the last year or two (I was using the weather watchface), but cannot recall. Since switching to this watch face, SOS has occurred 3 times. Since switching back to the built in Tic Toc watchface (currently), I haven't seen an SOS screen.

@stefanheule
Copy link
Owner

Okay, I'll try to google a little and see if I can find any possible causes. Unfortunately without being able to reproduce the problem myself, I'm not sure if I can fix it :( If you learn any more information that might be useful, though, please do share it with me, and I'll try to look into it.

@chaseadam
Copy link
Author

I am happy to perform any debugging or test any code with some guidance.

@stefanheule
Copy link
Owner

Thanks for the offer. If I have any ideas how to debug, I'll let you know. Right now I don't have any concrete ideas.

@chaseadam
Copy link
Author

I experienced the crash yesterday and it reminded me of the couple times it occured
The crash appears to be when redrawing after receiving a notification.

@stefanheule
Copy link
Owner

Okay, that's useful to know. Let me see if I understand correctly: When you receive a notification, and you dismiss it on the watch (i.e. the watchface would show again), Obsidian crashes and puts your watch in SOS mode. Is that accurate?

@chaseadam
Copy link
Author

chaseadam commented Apr 6, 2017 via email

@stepardo
Copy link

stepardo commented May 1, 2017

I experienced this problem as well on two of my aplites. An idea might be, that the watchface has a memory leak. Afaik pebble OS does not have means to free memory for watchfaces, so they need to be very careful to free memory itself. Receiving a notification and dismissing it runs through the lifecycle of the watchface. That is, if there is memory left after closing the watchface, it will most likely remain.

I did not look into the sources yet, so take my comment with a grain of salt.

I really like this watchface, and I would like to take this opportunity to thank the author for creating it and making it open source!

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

3 participants