native.requestExit(): The application has stopped unexpectedly (FIXED)

Using native.requestExit() on Android results in “the application stopped unexpectedly” if the app shows web popup. [import]uid: 52103 topic_id: 15749 reply_id: 315749[/import]

It’s not crashing for me when I have a web popup displayed. Is there anything else your app is doing? Would you mind posting an “adb logcat” here with a stack dump of the error? [import]uid: 32256 topic_id: 15749 reply_id: 58140[/import]

Sure, here you go (click the image for full log):

I also just noticed these image loading errors, although, the game is running just fine. The image files mentioned in those errors exist and are being successfully loaded and displayed in the game.

How do I get the stack dump? Is this it?
app-state.txt [import]uid: 52103 topic_id: 15749 reply_id: 58145[/import]

This bug is related to this one:
http://developer.anscamobile.com/forum/2011/09/28/webpopup-openfeint-bug-corona-2011626

The ^ linked ^ post also has a video of both. [import]uid: 52103 topic_id: 15749 reply_id: 58215[/import]

Vitaly,

I apologize for not getting back to you. I plan on looking into this issue today. Thank you for your patience. [import]uid: 32256 topic_id: 15749 reply_id: 58943[/import]

Vitaly,

Regarding the "can’t open " issue, it turns out those error messages were harmless. They were caused by Corona attempting to load the image file’s EXIF data (ie: metadata), but it turns out Android does not support loading EXIF data from an asset file embedded in the APK. So I fixed the code to prevent it from trying. This change will prevent these error messages from being logged.

Regarding the crash, it was caused by a race condition in our WEB Popup code. It has been fixed as well.

Both of the above fixes will be made available in the next daily build. Thank you for reporting these issues and for your patience. [import]uid: 32256 topic_id: 15749 reply_id: 58966[/import]

Joshua,

Thanks for fixing this quickly! I know you guys want to have weekends too, so no worries :slight_smile: [import]uid: 52103 topic_id: 15749 reply_id: 59083[/import]