- changed title to CST hangs if scheduling block isn't complete
- changed status to open
- assigned issue to
- removed comment
CST hangs if scheduling block isn't complete
If a schedule.ccl file contains
schedule group A in A
the CST hangs at "Creating schedule bindings...". This error in the schedule.ccl file should be detected and a fatal error message should be generated.
Keyword:
Comments (8)
-
-
- changed status to open
- changed milestone to ET_2012_05
- removed comment
Please review the attached patch which solves the problem for me. I request two 'yes' because of the sensitive place (CST).
-
- removed comment
Scheduling a group in itself is possible in Cactus. One has to disable printing the schedule, though. This does make sense if there is an IF or a WHILE modifier.
-
- removed comment
This patch doesn't change the ability to schedule something within itself. It only fixes the hang, which is unrelated to this. The patch is really simple: it is a one-line change checking whether the end of the file has been reached before trying (an otherwise always) failing regexp. I still need to "yes".
-
repo owner - removed comment
Patch is fine by me.
-
- removed status
- removed comment
Please apply.
-
- changed status to open
- removed comment
-
- changed status to resolved
- removed comment
- Log in to comment
The problem isn't the recursion (alone), but the missing {}"" block after this. the following shows the same:
schedule group A in B
while this doesn't hang:
schedule group A in A { } ""
I believe cyclic dependencies are checked at runtime only, but I didn't check A->A