-
-
Notifications
You must be signed in to change notification settings - Fork 142
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
Occasional crash on startup #544
Comments
Just a quick glance, it looks like the first thing the app does (Main.brs) is set "currentUser". But if the overhang isn't available yet (e.g. timing issue?) then you'd get a crash. Might be as simple as reversing these two lines in Main.brs (so that CreateHomeGroup comes first):
I can try this upcoming weekend, but since you are able to reproduce it, it might be worth giving it a shot and seeing if the crash goes away. |
I tried like 100 times to reproduce it, and couldn't get it to happen again. It seems to only happen periodically. |
You are not crazy. I got this twice this morning. Still investigating. |
This is also odd like #560, and I agree it sounds like some timing thing. The overhang defined in the Scene XML so I would have assumed it should be created well before that was called. I don't see any harm in having some additional checks there, just in case.
|
Likewise. Had it for a while trying to see if the name in the overhang is still set, but keep forgetting to look. Certainly seems to have resolved those crashes for me. |
Describe the bug
Sometimes the app crashes on startup. I've seen this happen in the production version of the app, as well as when it's sideloaded. While debugging a different issue today, the crash happened. Here's the error:
I'm not sure why the
updateUser
method is being called in this context. The call stack shows that it's the only function in the call stack, so it's probably being triggered by an observer somewhere.The text was updated successfully, but these errors were encountered: