Beta 6 SERIOUS Crash on iPod Touch (so far)

Beta 6 related (afaik):

I send out a new beta version of my game to 11 beta testers yesterday and got 2 replies from IPod Touch (3.x) Users which describe the same crash, which we could reproduce here too:

“Suddenly the screen flashes short an then the Apple Logo is on the screen… nothing helps to reactivate the unit!”

I did not change a lot of code. Just tweaked balancing and implemented part of the playlist feature.

I also do not know what exactly they did to reactivate the device. We had much pressing/holding buttons and it seems like it need to be on the cable till it can be resurrected.

There are no device logs and console seems to be empty after reboot…

Currently I create a Build with Beta 5 to against this in house with an iPod Touch we bought for that purpose.

This is by far the most annoying crash ever! The two testers REFUSE to test anymore because they fear to DAMAGE the device or that something ILLEGAL is going on. Because this behavior is listed as being part of “Bricking” the iPod Touch while jailbreaking! [import]uid: 6928 topic_id: 1477 reply_id: 301477[/import]

As I can not update the original Post here an Update:

Exactly the same Code does not crash the iPod Touch if build with Beta 5! [import]uid: 6928 topic_id: 1477 reply_id: 4120[/import]

There is a bug in the media.playSound API when you specify a onComplete listener and stop the sound before the listener is invoked. This is the problem you reported before where the app crashes on a reload. This bug is also in beta 5 so I’m sure that is not the problem your testers are seeing.

Are you using any special or new Corona APIs? I can look through the change logs but it would help to know if your code is doing anything special. Do you see that happening on any other device besides the iPod Touch? Which generation is the iPod Touch?

You can also email me the details: tom at anscamobile.com

Tom [import]uid: 7559 topic_id: 1477 reply_id: 4126[/import]

It seems like that happens only on iPod touch (newly bought … What’s that? 3G?) and there quiet reproduce able. I did not get any bug reports about that from other devices.

The software is quiet complex and uses a lot of stuff … I may send you the whole application so you can build and test it yourself. I guess that we do not need an additional nda …

When I am back at the desktop I create a little package for you Tom. [import]uid: 6928 topic_id: 1477 reply_id: 4127[/import]

We did find a issue with freeing Texture memory that is specific to Beta 6. Do you think this could be related to your iPod Touch problem? If you send me your code with instructions how to duplicate the problem, we will figure out what is wrong.

-Tom [import]uid: 7559 topic_id: 1477 reply_id: 4146[/import]

It is pretty hard to find how to reproduce the error… As testers say… it just happens suddenly when playing… And there is a lot of stuff going on…

I let a tester play with the device being attached to the Configuration Utility to watch the console output. There is nothing special happening at the time when it crashes.

I just wonder about the frequent warning below (XXXXX-Crash is the game):

"Fri Jul 23 12:45:26 unknown XXXXXX-Crash[548] : Warning: Libinfo call to mDNSResponder on main thread"
I also made an archive with all sources and data to build the version that crashes. We did some more testing and it still only crashes on those iPods… but… they are also still OS 3.1 … all other devices are 3.2 (iPad) or IOS 4.0.1

So it may be 3.1 related and not have to do with the iPod Touch itself…

I send you the archive with basic information how to play to your e-mail. [import]uid: 6928 topic_id: 1477 reply_id: 4152[/import]

We also experienced memory related crashes after extensive playing on an iPad (while testing for the same crash as on the iPod). I am currently trying to get a hold on the device log as we just had console running on a macbook. Will get that later… This may be related to what you found…

I also have some strange behavior with my music playlist code… I am pretty sure that is new to Beta 6 also.

I am currently creating a build with Beta 5 and let them use that to check for both: Memory and Music/Timer related problems.

All in all I have to say I am pretty upset about these problems!

I see no real progress on the baseline of Corona: Most bugs I reported earlier are still in the Build 6 version… basic features are still missing and now I have to deal with “black box” bugs in the framework … instead of having testers and me working on more balancing and the finishing stuff for the app :frowning: [import]uid: 6928 topic_id: 1477 reply_id: 4153[/import]

I received your code. I have a first gen iPod Touch and a iPhone both running 3.1.3 so I will see if I can reproduce the problem.

As I mentioned before, we are working to kill the reported bugs in the next beta release. This relates to removing text objects, the onComplete media.playSound crash, etc. It does take time to implement the fixes and test everything to make sure nothing else is broken.

We appreciate the sample code that you and others provide that demonstrate the problems.

-Tom [import]uid: 7559 topic_id: 1477 reply_id: 4155[/import]