-
Notifications
You must be signed in to change notification settings - Fork 3
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
Seattle on Android crash... #111
Comments
Hmmm, |
You can track back mProxy, it should be instantiated in ScriptService.java:234. |
The problem is due to a race condition involving the initialization of mProxy. The main thread starts a new thread to perform this initialization. The main thread relies on the value of this.mProxy to be set before it proceeds with initialization. As such, when mProxy is created, it is assigned directly to this.mProxy. Therefore, there is no guarantee that this.startLocal() has finished executing by that point. |
Indeed, I overlooked in my interpretation that the null pointer reference in !InterpreterProcess could have been a result of mAddress in [ AndroidProxy?.getHost()] not being initialized because startLocal wasn't called (or finished) yet, rather than a missing mProxy. |
There's a small goof in the patch for InstallerService.java. This
|
Committed for Sensibility Testbed in r7214. The same fix needs to be applied to SeattleOnAndroid too! |
An android user reports (via crash report):
We need to dig into this.
The text was updated successfully, but these errors were encountered: