Yeah I have this in my build pre 3692 and post. Crashes jumped extremely high after we updated to API 33. Something is not playing nice. I’m suspecting it’s something in API 33 tied with admob.
As @anon63346430 said his crashes did not go up so for us who’s crashes jumped up it must be some API/plugin we are using that ties in with the latest build of solar which targets api33
So, is there any result with the complete AdMob removed?
I have a similar picture with one of my applications - after the update with the 3695 build, crashes began to grow rapidly.
I still expect the Android Vitals metric. I barely have the results, I will publish them.
What are the top crashes you are seeing for that specific build you put up
All the normal ones?
plugins =
{
--IAPs
["plugin.google.iap.billing.v2"] =
{
publisherId = "com.solar2d",
supportedPlatforms = { android=true }
},
["plugin.amazon.iap"] =
{
publisherId = "com.coronalabs",
supportedPlatforms = { ["android-kindle"]=true }
},
--General
["plugin.facebook.v4a"] =
{
publisherId = "com.coronalabs",
supportedPlatforms = { ["android-kindle"]=true }
},
["plugin.bit"] =
{
publisherId = "com.coronalabs"
},
["plugin.openssl"] =
{
publisherId = "com.coronalabs",
},
["plugin.googleSignIn"] =
{
publisherId="tech.scotth",
marketplaceId = "ydlbgq",
supportedPlatforms = { android = true, iphone = true }
},
["plugin.utf8"] =
{
publisherId = "com.coronalabs",
},
["plugin.reviewPopUp"] =
{
publisherId = "tech.scotth",
marketplaceId = "ydlbgq",
supportedPlatforms = { iphone = true }
},
["plugin.appleSignIn"] =
{
publisherId = "tech.scotth",
marketplaceId = "ydlbgq",
supportedPlatforms = { iphone = true }
},
["plugin.memoryBitmap"] =
{
publisherId = "com.coronalabs"
},
--AD networks
["plugin.unityads.v4"] =
{
publisherId = "com.solar2d",
supportedPlatforms = { android = true, iphone = true }
},
["plugin.vungle.v6"] =
{
publisherId = "com.solar2d",
supportedPlatforms = { ["android-kindle"] = true }
},
},
I don’t see any specific issues - just more crashes in general (last 28 days = 9 crashes, last 60 days = 15 overall)
While we do have issues with ANRs, our Crash rate is pretty low - comparable to SGS’s:
We’ve recently built with 3695, and as you can see on the graph we update pretty regularly - crashes have remained stable for us.
We also use a lot of plugins (Applovin Max with a bunch of network adaptors including Admob and Unity for ad mediation, plus a whole load of other plugins for analytics etc).
In that graph, on what date have you launched the version compiled with 3695?
I believe the build rolled out on the 24/08 used 3695, and I know for certain that the builds released on 07/09 and 28/09 used it.
Hi, I have the crash rate results from the last version I uploaded, where I completely removed admob. And to my surprise it hasn’t gone down.
When I go to the details of the failures, it does not show me results. (I guess in a couple more days he will show them to me…)
In the version without Admob, my build.settings is:
plugins =
{
-- enable the native.popup.social plugin PARA BOTON COMPARTIR
["CoronaProvider.native.popup.social"] = {publisherId = "com.coronalabs"},
-- Para habilitar Compras Integradas --
["plugin.google.iap.billing.v2"] = {publisherId = "com.solar2d"},
},
and comparing with the plugins that @anon63346430 uses I see that the only one that I use and the one that @anon63346430 does not use is:
[“CoronaProvider.native.popup.social”] = {publisherId = “com.coronalabs”},
@chris_raz do you use it too?
Hey @orangegstudios well that’s interesting.
Yes I do use the native social popup. That was a reason I asked @anon63346430 which plugins he used so we can compare. I think both you and I use the same plugins.
I don’t think that plugin has been updated for quite some time. Don’t know if it is just not playing nice with api33
Or if there is some other non plugin related API in solar2D we both may use?
Surely removing the plugin is an easy test? I doubt it really benefits your game anyway? Or do you have some meaningful A/B stats on with/without plugin?
Like for example, I removed Facebook SSO and it made zero difference. Seemingly no ones cares for Facebook these days (with all the scandals and bad press).
I just uploaded a new version removing plugin native social popup.
To wait for the results …
I also have this plugin in the application, where the crashes have increased.
However, at the same time, in my other apps where it is also present, there is no change in crashes after updating to 33.
In our case crashes happen between scene change, composer.gotoScene. Though we were unable to catch these crashes on our devices, but our users mass reporting about this. What’s also, interesting it’s happening randomly. User can play 10 games and then app will crash. Or play just 1 game, go to main menu and app will crash.
What interesting is we have two modes: offline and online. And crashes happen only in online mode. So we thought maybe it’s somehow related to sockets incorrectly closed or something like that after upgrading to API 33.
Considering ads, for test we completely removed them and send apk for our users to test. And crashes still were there.
Here graph of crashes
Here is stack of the first one:
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
pid: 0, tid: 20451 >>> net.elvista.kozel <<<
backtrace:
#00 pc 0x0000000000101320 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/libcorona.so (BuildId: 96f4b59a7e33262d7bf5ae4a4ad70456b7ff0286)
#01 pc 0x000000000010143c /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/libcorona.so (BuildId: 96f4b59a7e33262d7bf5ae4a4ad70456b7ff0286)
#02 pc 0x000000000001388c /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#03 pc 0x0000000000028ac0 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#04 pc 0x0000000000013e94 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#05 pc 0x00000000000131cc /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#06 pc 0x00000000000141bc /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#07 pc 0x000000000000a424 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (lua_pcall+164) (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#08 pc 0x000000000000cf3c /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#09 pc 0x000000000001388c /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#10 pc 0x0000000000028ac0 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#11 pc 0x0000000000013e94 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#12 pc 0x00000000000131cc /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#13 pc 0x00000000000141bc /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#14 pc 0x000000000000a424 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (lua_pcall+164) (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#15 pc 0x000000000000cf3c /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#16 pc 0x000000000001388c /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#17 pc 0x0000000000028ac0 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#18 pc 0x0000000000013e94 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#19 pc 0x00000000000131cc /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#20 pc 0x00000000000141bc /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#21 pc 0x000000000000a424 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/liblua.so (lua_pcall+164) (BuildId: 3ed06aae199f0b1079b3841c17b2c371e6a6574a)
#22 pc 0x00000000000ec8d0 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/libcorona.so (BuildId: 96f4b59a7e33262d7bf5ae4a4ad70456b7ff0286)
#23 pc 0x00000000000a0ddc /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/libcorona.so (BuildId: 96f4b59a7e33262d7bf5ae4a4ad70456b7ff0286)
#24 pc 0x0000000000121400 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/lib/arm64/libcorona.so (BuildId: 96f4b59a7e33262d7bf5ae4a4ad70456b7ff0286)
#25 pc 0x00000000001680a8 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/oat/arm64/base.odex (art_jni_trampoline+152)
#26 pc 0x00000000001c645c /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/oat/arm64/base.odex (com.ansca.corona.Controller.updateRuntimeState+1436)
#27 pc 0x00000000001e0c44 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/oat/arm64/base.odex (com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.guardedRun+2740)
#28 pc 0x00000000001e17a0 /data/app/~~tHws_mclzeJSx5Z-_FKYfQ==/net.elvista.kozel-UqJPLdZ4_dVVDp875IbLmw==/oat/arm64/base.odex (com.ansca.corona.graphics.opengl.GLSurfaceView$GLThread.run+208)
#29 pc 0x0000000000133564 /apex/com.android.art/lib64/libart.so (art_quick_invoke_stub+548)
#30 pc 0x00000000001a97e8 /apex/com.android.art/lib64/libart.so (art::ArtMethod::Invoke(art::Thread*, unsigned int*, unsigned int, art::JValue*, char const*)+200)
#31 pc 0x000000000055daec /apex/com.android.art/lib64/libart.so (art::JValue art::InvokeVirtualOrInterfaceWithJValues<art::ArtMethod*>(art::ScopedObjectAccessAlreadyRunnable const&, _jobject*, art::ArtMethod*, jvalue const*)+460)
#32 pc 0x00000000005ad96c /apex/com.android.art/lib64/libart.so (art::Thread::CreateCallback(void*)+1308)
#33 pc 0x00000000000ec8f8 /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+64)
#34 pc 0x000000000008c190 /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64)
The SIGSEGV (invalid memory pointer basically) is happening in lua code (note the lua-pcall in the error) so it is not lower in the framework core (which is not lua). Most plugins are lua code so it is mostly happening there…
What’s the affected devices like? Low RAM? If so then could be memory related
10% crash rate is pretty high
Have also noticed this, our top performing apps seem to have the major increase with crash rate. And we have a couple which did not seem to be affected even though they have the same plugins. Albeit these have much much smaller downloads and user base so sharing the app might not be used as much hence less crashes, so that could be a factor.
I’m thinking it also may be a core related API in solar being used in some of the apps. Its very hard to pin point.
@orangegstudios please keep us updated if removing the native social plugin helped when the data comes through.