Bug 1029642

Summary: PHREAK goes into infinite loop, and hangs with 'no-loop' on rules with conditional named consequence and dynamic salience
Product: [Retired] JBoss BRMS Platform 6 Reporter: Mario Fusco <mfusco>
Component: BREAssignee: Mario Fusco <mfusco>
Status: CLOSED CURRENTRELEASE QA Contact: Marek Winkler <mwinkler>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.0.0   
Target Milestone: ER5   
Target Release: 6.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-06 20:18:04 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Mario Fusco 2013-11-12 19:36:39 UTC
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.

Comment 2 JBoss JIRA Server 2013-11-12 19:38:39 UTC
Mario Fusco <mario.fusco> updated the status of jira DROOLS-334 to Resolved

Comment 4 Marek Winkler 2013-12-12 15:26:30 UTC
Verified on BRMS 6.0.0 ER5.