LUA v2 stack overflow

Case number:954892-990306
Topic:Developer Preview
Opened by:Rav3n_pl
Status:Closed
Type:Bug
Opened on:Monday, September 5, 2011 - 19:21
Last modified:Saturday, September 10, 2011 - 20:23

It is happen in my Void Killer script I have ported to V2 LUA.
Code is exact same as for v1, only different "doers" are called.
Attaching screen.

AttachmentSize
foldit_1315250151.png327.9 KB
(Mon, 09/05/2011 - 19:21  |  4 comments)


Tlaloc's picture
User offline. Last seen 8 weeks 3 days ago. Offline
Joined: 08/04/2008
Groups: Mojo Risin'

I need a copy of the script. Can you send me the source so I can track this down?

Joined: 06/17/2010

Code in attachment.

Tlaloc's picture
User offline. Last seen 8 weeks 3 days ago. Offline
Joined: 08/04/2008
Groups: Mojo Risin'
Status: Open » Closed

There is a bug in the script that is causing this error. Under some circumstances, SaveRB is calling SaveBest, which is calling SaveRB again. This infinite recursion eventually blows the stack and gives this error.

Joined: 06/17/2010

Oops!
Need rewrite that part.
Thanks for help catching it :)

Sitemap

Developed by: UW Center for Game Science, UW Institute for Protein Design, Northeastern University, Vanderbilt University Meiler Lab, UC Davis
Supported by: DARPA, NSF, NIH, HHMI, Amazon, Microsoft, Adobe, Boehringer Ingelheim, RosettaCommons