(Segmentation Fault) Corona crashing with particle tap

Hello,

I’m experiencing corona crashing when I tap a particle animation and was wondering if anyone else has experienced the same problem. I don’t use any .TapListener, actually there is not a single tap listener in the entire page.

The crash is the dirty kind, simulator window goes numb and windows shows crash report. Can’t see any corona error messages on the console before the crash :frowning:
On the Mac, however, I do get the nasty error message! it shows /Applications/CoronaSDK/Corona Terminal: line 9: 305 Segmentation fault: 11 “$path/Corona Simulator.app/Contents/MacOS/Corona Simulator” $*
logout

it’s the worst kind of bug: doesn’t happen all the time. Sometimes we have trouble replicating it, sometimes it happens over and over…

The effect is quite complex, I unfortunately can’t post it here due to product secrecy issues. It involves 11 emitters, 8 images (two images 600x570, one 200x200, one 150x130, one 450x300, one 485x330, one 1x1 (streched to make lines).
Two of the emitters are in a group using a mask, so that may add to the problem.

If someone can help me, I’ll send you the code privately, I just don’t wanna make it public…

Thank you! [import]uid: 79152 topic_id: 19554 reply_id: 319554[/import]

This is the crash report from iPad’s organizer:

Dec 23 13:33:32 unknown ReportCrash[1636] : Formulating crash report for process Fadas[1635]
Dec 23 13:33:32 unknown com.apple.launchd[1] : (UIKitApplication:com.storybox.fadas[0x8f7b]) Job appears to have crashed: Segmentation fault: 11
Dec 23 13:33:32 unknown SpringBoard[17] : Application ‘Fadas’ exited abnormally with signal 11: Segmentation fault: 11
Dec 23 13:33:33 unknown ReportCrash[1636] : Saved crashreport to /var/mobile/Library/Logs/CrashReporter/Fadas_2011-12-23-133332_iPad-BoogeyBox.plist using uid: 0 gid: 0, synthetic_euid: 501 egid: 0

the bug also happen more often on the windows simulator than on the mac… [import]uid: 79152 topic_id: 19554 reply_id: 75496[/import]

bogeybox, this can virtually be caused by anything, so you’d need to track down the cause as much as possible by commenting out one code block after another. Are there any indices that those crashes are caused by Particle Candy at all? According to the log you posted, it may be related to Corona’s storyboard module. However, you’d need to send us some stripped down sample code (please strip as much of your own code as possible) so that we can do some tests here.

Did you try any other versions of the simulator yet? Did it make any difference?
[import]uid: 10504 topic_id: 19554 reply_id: 76353[/import]

Hello,

sorry for taking so long to comment, didn’t see the update.
Our problem was with masks, everywhere we used it, it caused crashes. The screen in which we used particle candy was the most problematic one but particle candy wasn’t the source of the bug.

Sorry for the confusion [import]uid: 79152 topic_id: 19554 reply_id: 85255[/import]