Program received signal: “SIGPIPE”

I got the following crash after switching back to the app:

-> applicationDidEnterBackground()
-> applicationWillEnterForeground()
-> applicationDidBecomeActive()
Program received signal:  “SIGPIPE”.

I’ve never seen or heard about such error before, any ideas what could cause it? Googling revealed little, the only useful thing seemed to be this article that pretty much advices to ignore the whole error on the X-Code side.

I’m using Unity 3.2 and iOS version was 4.2.1 (iPad)

This seems to happen every time I switch back to the app, also occurs on iPod4.

I’d appreciate any pointers, since this is the only thing keeping me from resubmitting Rimelands.

OK, I try to help, see if it works! (I’m at work so I’m telling this from my mind, could be a little different!)
Open your XCode project and then open the AppController.mm
In the AppController.mm locate all the methods you mentioned in your first post above (applicationWillEnterForeground, etc.)
And then locate a boolean variable named bNeedToRestoreIPhoneAudioSession or something like that, this one is always problematic! (Since UT switched to FMOD!) comment it out (don’t remember which method it was in but I’m thinking about applicationWillEnterForeground!!!) Compile, switch out and then switch back to your app, hope it solves your problem…

If you are using OpenFeint, etc. comment all the calls for UnitySetAudioSessionActive (true or false!)

Good luck,
Curious

Actually I just noticed it seems to be a debugger problem. Works fine if the game is run from the device and not from X-Code.

I did have audio-related crashes before 3.2, but they seem to be fixed now.

Ok, I didn’t realize you were running the app from XCode

Well, good luck then, happy coding :wink:
Curious