Hey Troy. I don’t have a good list of widget bugs that crash and turn into reports you are seeing. So for #1, I don’t have a good answer for you.
And for #2, yes, we’ve made changes to our version of Lua when we’ve needed to address things, but what you’re asking would be a fundamental change in how Lua works. In other words, I seriously doubt we could or would change how Lua error handle’s chunks since there is an expectation that Lua works that way.
The Corona team is busy at the moment, and it may not seem like but addressing these Android crashes is the highest priority of our engineering team right now.
There seems to be two core problems: 1. OpenAL audio crashes. 2. Changes to Google Play core services libraries.
In many cases, people are seeing jumps in ANR’s and Crashes even though they haven’t updated their apps in a long time. Corona can’t magically change your apps once they are on a device. So we have to look at what else may have changed. Many of these crashes as you note are happening on Android 7 and Android 8 which lends it to updates to Google Play. Many plugins touch Google Play’s base libraries. So we have to pretty much rebuild every plugin we are in control over. We have to get third parties to rebuild theirs now that we’ve updated our dependency library to use a more modern version of the Google Play libraries. This simply takes time and testing to make sure we don’t make the problem worse. It’s possible today, depending on what plugins you use, that you could push a new version and start seeing a decline in these reports. Have we gotten them all yet? No, but we are spending a great amount of engineering effort to address them as fast as we can.
The other crashes are around Android’s horrible support for the OpenAL library. Not only does that generate a bunch of crashes, it performs horribly as well. We have a new under-the-hood audio library in beta now for Android that is free of OpenAL and it’s call compatible with audio.* so when it’s released you should just need to rebuild and resubmit and wait on your community to update. But it’s still got bugs we are working through and we don’t want to make it worse until we are comfortable that it’s ready to go.
I can assure you we are working to get these addressed. As far as hardening Lua, I’m not sure what we can do there. We always look to harden Corona and we use plugins already to help maintain the integrity of the engine. But your device operating systems are a moving target and we always have to be agile to adapt to these changes.
Rob