Urgent! Android version crashes like hell

I wasn’t sure about the exact time this crash started. I didn’t make any change in last two months but the crash report might started to happen earlier (and I wasn’t paying attention until recently that too many users are complaining so I think it’s not just a random crash due to rare cases but some serious one) and might be involved with my last update in March. Besides, even for my last update, I didn’t change anything related to this kind of http requests. I was just trying to isolate the problem to point out that my code is not causing this problem.

Anyway, the CoronaSDK version is 2564.

Engineering looked at the log and there is nothing Corona related in it.  It’s coming from somewhere in the system and there isn’t much useful in the crash log.  Since the other links above are not Corona related, we can only deduce that Google broke something.

Rob

@Rob

Does CoronaSDK use “OkHttp” ?  Could you check this with the engineer?

Just wondering, are you using HTTPS or any SSL in your app ?

I am just using webView and http downloading. I am not doing something special.

@joe528,

Corona SDK doesn’t use OkHttp, so those links about solutions for OkHttp aren’t the most helpful for us.

Based on the fact that products unrelated to Corona are reporting similar issues, that’s more evidence that the problem lies with Google and not Corona SDK.

That being said, it may be worthwhile to poke around Android forums for any news on the issue.

Despite this leaning towards a Google issue, we want to see if there’s anything we can do to help mitigate the issue from occurring within Corona.

That being said, to everyone who’s commented on the issue we’re curious about the following:

* Can you reproduce this issue on your own device (not user crash report)?

* What OS versions is this crashing on?

* What devices is it crashing on?

* What plugins are you guys using in the apps that exhibit this behavior?

Thank you for your further investigation. It’s really appreciated.

  1. I cannot reproduce it. It seems the crash does not not happen universally but it happens for certain device & Android version consistently. So the users with the certain configuration keeps experiencing this crash.

  2. From the report, it looks like the OS version is always Android 4.4

  3. Galaxy Note 2/3/4, HTC One, HTC Desire, Galaxy Tab 8, Galaxy S4, Xperia ZL, etc.

  4. My app uses following plugins:  Flurry, Google Play Services, Facebook, Chartboost.  They have been there and the crash wasn’t happening until recently.

@ajaymccaled-work

@Corona

@Rob

Would the problem be related to “HttpClient is not threadsafe”? Some discussion here: https://geonet.esri.com/thread/94377  where the stack trace of the crash is exactly the same as what I’ve been seeing.

I just updated a new version of my app with latest CoronaSDK and the crash reports from Google still come in like hell. I really hope Corona can look further into this issue to see any possible workaround. The rate of the crash is never seen before & it has caused my installation number started to decline (# of uninstallation > # of installation after this crash issue is observed).