Xoom crashes if app closed and the reopened immediately

Hi all,

I’ve had an e-mail from a customer who’s running one of my apps on their Xoom.

Apparently it all works fine whilst the app is running but if she exits the app and then tries to go back in immediately the whole Xoom shuts down and won’t restart for a minute or so!

Here’s what she wrote:

“It shuts my whole system down, the Xoom screen goes black and becomes unresponsive. It is actually scary, because even if you hit the start button on your Xoom, nothing, it just stays off… then about a minute later, your Xoom just restarts as if you hit the on button. It doesn’t go back to the app, it just restarts the Xoom completely.”

I’m running the following when the application exits or suspends and this doesn’t seems to cause problems on any device I’ve tested on:

function onSystemEvent( event ) if ( event.type == "applicationExit" ) then nilThisClass(); -- Remove any event listeners Runtime:removeEventListener( "system", onSystemEvent ); elseif (event.type == "applicationSuspend") then native.requestExit() end end

Any ideas would be much appreciated.

Thanks!

Ian [import]uid: 123492 topic_id: 36439 reply_id: 336439[/import]

I reported this issue the other day (though my issue was with native.newTextField) and Corona brilliantly resolved it within 24 hours.

I believe your call to native.requestExit or some other native call somewhere will be causing it and will be resolved by using build 1038 onwards.

http://developer.coronalabs.com/release/2013/1038/

Android: Fixed silent crash that can only be seen in the log when exiting out of the app having native objects. (Introduced in daily build #1030.)

Android: Fixed silent crash that can only be seen in the log when quickly backing out of the app just before an alert dialog or activity indicator gets displayed. [import]uid: 204816 topic_id: 36439 reply_id: 144656[/import]

Thanks Chris - much appreciated.

I will recompile using a newer build. [import]uid: 123492 topic_id: 36439 reply_id: 144661[/import]

I reported this issue the other day (though my issue was with native.newTextField) and Corona brilliantly resolved it within 24 hours.

I believe your call to native.requestExit or some other native call somewhere will be causing it and will be resolved by using build 1038 onwards.

http://developer.coronalabs.com/release/2013/1038/

Android: Fixed silent crash that can only be seen in the log when exiting out of the app having native objects. (Introduced in daily build #1030.)

Android: Fixed silent crash that can only be seen in the log when quickly backing out of the app just before an alert dialog or activity indicator gets displayed. [import]uid: 204816 topic_id: 36439 reply_id: 144656[/import]

Thanks Chris - much appreciated.

I will recompile using a newer build. [import]uid: 123492 topic_id: 36439 reply_id: 144661[/import]

I reported this issue the other day (though my issue was with native.newTextField) and Corona brilliantly resolved it within 24 hours.

I believe your call to native.requestExit or some other native call somewhere will be causing it and will be resolved by using build 1038 onwards.

http://developer.coronalabs.com/release/2013/1038/

Android: Fixed silent crash that can only be seen in the log when exiting out of the app having native objects. (Introduced in daily build #1030.)

Android: Fixed silent crash that can only be seen in the log when quickly backing out of the app just before an alert dialog or activity indicator gets displayed. [import]uid: 204816 topic_id: 36439 reply_id: 144656[/import]

Thanks Chris - much appreciated.

I will recompile using a newer build. [import]uid: 123492 topic_id: 36439 reply_id: 144661[/import]

I reported this issue the other day (though my issue was with native.newTextField) and Corona brilliantly resolved it within 24 hours.

I believe your call to native.requestExit or some other native call somewhere will be causing it and will be resolved by using build 1038 onwards.

http://developer.coronalabs.com/release/2013/1038/

Android: Fixed silent crash that can only be seen in the log when exiting out of the app having native objects. (Introduced in daily build #1030.)

Android: Fixed silent crash that can only be seen in the log when quickly backing out of the app just before an alert dialog or activity indicator gets displayed. [import]uid: 204816 topic_id: 36439 reply_id: 144656[/import]

Thanks Chris - much appreciated.

I will recompile using a newer build. [import]uid: 123492 topic_id: 36439 reply_id: 144661[/import]