cocos2d-x crashes during visit() calls

I have cocos2d-x app crashing time after time. Crash happens in random cases, even in idle state — I can leave app in simulator and after 2-5 minutes it may crash with no user interaction.
The sad thing — it crashed in production, too. I use Crittercism crash reporting SDK and it shows the same stack.
More, I tried cocos2d-x samples bundled with cocos SDK, they crash the same way. Here I included some screenshots to show up the stacks:

https://dl.dropbox.com/u/5480488/cocos2dxcrash1.png
https://dl.dropbox.com/u/5480488/cocos2dxcrash2.png
https://dl.dropbox.com/u/5480488/cocos2dxcrash3.png

And yes, it affects (almost?) all available versions of Cocos and iOS. Currently it crashes in latest cocos2d-x and iOS 6.1.3.

SOS, please!


cocos2dxcrash2.png (484.6 KB)

Leszek X, no changes.

Does it crash on simulator and/or on real device?

Both on simulator and device.

I did not noticed any problems on ios 6.0 simulator with cocos2d-x 2.0.4 which I’m using but later I will download latest 6.1 simulator and check this.

Leszek X, it happens on different simulator versions, not the 6.1 only.

That sounds strange. I did not noticed something like this on 6.0 simulator or on my iphone with ios v5.1.1.

Here is latest try to reproduce. Taken empty project, added 1000 “standard” sprites:

@ for(int i = 0; i < 500; i ++) {
addChild(CCSprite::create(“HelloWorld.png”));
addChild(CCSprite::create(“CloseNormal.png”));
}@

Crashed after 5 mins/ See screenshot…

Me too,I just loaded the ccbi file

it happens on one of my macs which OS is 10.8.x , but not happens on another which OS is 10.7.5.

have the same problem… crash randomly on 2.1.2

Sounds like my problem too. It only appears with IOS 6.1.3 ?

Andreas Mank wrote:

Sounds like my problem too. It only appears with IOS 6.1.3 ?

not only 6.1