Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stack overflow in Colobot
#2
I'm pretty sure the limit is about 1000 stack frames (but do keep in note that there are multiple internal stack frames per function call). Are you sure that your functions do indeed get called as expected and you are not running into some other bug that causes the recursion to loop infinitely? If you still think there is something wrong with the stack limit, try to reproduce this issue on a smaller program so we can test it easier.

Just looked into the code to confirm, I was correct with the stack limit - https://github.com/colobot/colobot/blob/...ines.h#L23


Messages In This Thread
Stack overflow in Colobot - by Smok - 12-09-2016, 09:16 PM
RE: Stack overflow in Colobot - by krzys_h - 12-09-2016, 11:40 PM
RE: Stack overflow in Colobot - by Smok - 12-10-2016, 10:59 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)