I ran the debug version for over 24 hours on the "Overnight_script" without a crash.
I finally exited the script - no crash - and set my fold.it options.txt back to "main".
After restarting fold.it and doing a couple of manual global shakes and wiggles, I started the "overnight_script" on puzzle 274. It ran no longer than 20 minutes and crashed.
Is it possible there is some sort of timing or race condition that's causing the crash that doesn't come into play when the main_debug version is running, perhaps because the additional slowness of the script execution in debug mode prevents it? Something to look for…
Brick
The debug version is too slow to be practical on this testing. I noticed that events that normally take place in a second or 2 now take 10 minutes. I have the impression that the entire OpenGL is handled in software. Horribly slow. So no, that debug version did not crash with me either. 20 minutes real-world translates to 6000 minutes in debug.
Brick, did you get any information from the log when it crashed?
Sorry, no. I was back in "main" mode mode so I didn't think to save the log.
I'd give _debug another try, but now I can't seem to get any puzzles showing in-game. 277 doesn't show up for main or main_debug.
Here is a snippet where an exception occurred. From the logic you may be able to deduct which routine it is. Start is at 0124DCC0. Occurred while interrupting a shake in Lua.
Is it possible that the bug is coming from the chat client code ? I had a stable system for hours tonight and the moment I typed the first character into the chat window the system crashed.
I think I may have tracked down the source of the crashing when canceling a script, and at least one cause of the crashing while running the scripts. I've posted a new update for main_debug that addresses these (and should be faster than the last one). Please let me know if this is any more stable.
I've had some stability running scripts by unchecking all the view options. There are still crashes but not as many as before. The scripts run longer.
It seems more stable however when adding a script from the webpage I got this entirely new error:
Microsoft Visual C++ runtime library
Program: c:\program files\foldit\foldit.exe
R6025
- pure virtual function call
See also: http://support.microsoft.com/kb/125749