Posted By: GPEngine
Error 111: Crash in Script, causes unknown - 05/11/15 17:53
The following simple script leads to generic Error 111: Crash in Script.
Strangely, the presence of function "unused" is significant (If I remove it, the script does not crash.) This defies all my debugging fu.
What is going on here?
Code:
#define MAX_POINTS 2000 typedef struct { var a; var b; int c; } MYST; function unused(MYST* mysts) { mysts[0].c = 0; } function run() { StartDate = 20120815; EndDate = 20120901; var ds[MAX_POINTS]; var es[MAX_POINTS]; MYST fs[MAX_POINTS]; }
Strangely, the presence of function "unused" is significant (If I remove it, the script does not crash.) This defies all my debugging fu.
What is going on here?