Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

TodVader

macrumors 6502a
Original poster
Sep 27, 2005
596
0
Quebec, Canada
Hi. I put together my game and I have a bug that happens frequently but but always at the same time. It crashes the game.

I get this error in the debugger:

mi_cmd_stack_list_frames: Not enough frames in stack.


What does this mean? It happens just before allocating a new sprite object. Is it a stack overflow? What can I do to fix this? If I slow down the game, it seems to fix it, but I'm not 100% certain.

Thanks
 
That error message is a problem with the debugger. I think it means that you've corrupted the stack and that has confused the debugger.
 
Yeah I've been searching this one like crazy.

I have a manager class which checks the state of bullet sprites and one that checks the rest. It used to all be in the second one. In one loop, I was referring to the wrong manager when removing a child.

It wasn't my easiest bug in my life but I'm glad I can move on.:apple:
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.