Menu

#8 Corrupted Action List Loop

0.9.04
closed
None
1
2015-09-24
2015-09-24
No

The following rule set demonstrates a defect that causes NodeBrain to go into an endless loop after corrupting the action list. Many minor modifications to this rule set will process correctly. However there are many possible rule sets, or command streams, that may contain this pattern as a subset and will experience this problem.

redefine R if(x); # this can be a DEFINE instead of a REDEFINE
alert x; # this can be an ASSERT instead of an ALERT - just needs to make the R rule condition true
redefine R if(x); # must be a REDEFINE of R
alert x; # must cause R to fire
redefine R if(x); # this can be a DEFINE of R2 instead of a REDEFINE of R
alert x; # must cause R to fire (or R2 if defined on previous line instead of R)

Discussion

  • Ed Trettevik

    Ed Trettevik - 2015-09-24
    • assigned_to: Ed Trettevik
     
  • Ed Trettevik

    Ed Trettevik - 2015-09-24

    Resolved in release 0.9.04

     
  • Ed Trettevik

    Ed Trettevik - 2015-09-24
    • status: open --> closed
     

Log in to post a comment.