I’m experiencing a repeatable crash in my game that I can’t explain. The game works fine in the editor, but crashes every time on the iPhone.
Px actor destructor 93366928
Px actor destructor 93931184
Px actor destructor 93465776
Px actor destructor 93923968
Px actor destructor 94216256
Mprotect failed at 0x51fa000 (length 94208) with errno 13
Mprotect remapping failed
Previous frame inner to this frame (gdb could not unwind past this frame)
At this point of the game, the game has just finished destroying walls from a grid in order to form a maze. It then runs CombineChildren to combine the remaining walls into one mesh. This works the first time for any game type. However, if I exit to the main menu, switch to a different skin, and launch a new gametype, the error occurs. It does not happen if I go to new gametype without selecting a new skin. It does not happen if I go to the same gametype after selecting a new skin. The gametypes themselves are nearly an identical setup, save for winning conditions.
If anyone can give me a little more insight into what this error means, I may be able to better diagnose the problem. Thanks for any help.