Uploaded image for project: 'Drools'
  1. Drools
  2. DROOLS-334

PHREAK goes into infinite loop, and hangs with 'no-loop' on rules with conditional named consequence and dynamic salience

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 6.0.1.Final
    • 6.0.0.CR5
    • None
    • Hide
      Show
      Clone this project: https://github.com/DuncanDoyle/DroolsInOrderTemporalReasoningPhreakLoopAndHang run 'mvn -Pphreak clean test' Drools goes into an infinite loop. Set 'no-loop' on rule: "TECH-rule-RG-FLT-03B Retract all filtered events once we've sent an event." run 'mvn -Pphreak clean test' Drools hangs and consumes 100% CPU on one core.

      Reproducer at: https://github.com/DuncanDoyle/DroolsInOrderTemporalReasoningPhreakLoopAndHang

      Clone the project in the given GitHub repository and run 'mvn -Pphreak clean test' (-Pphreak runs the test with PHREAK, -Preteoo runs the test with ReteOO).

      ReteOO works fine, but PHREAK goes into an infinite-loop. Setting 'no-loop' on the "TECH-rule-RG-FLT-03B Retract all filtered events once we've sent an event."-rule causes the engine to hang and use 100% CPU on one core.

              mfusco@redhat.com Mario Fusco
              rhn-gps-ddoyle Duncan Doyle (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: