| Summary: | Drools engine gets stuck if evaluating a query while fireUntilHalt is running | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Retired] JBoss BRMS Platform 6 | Reporter: | Marek Winkler <mwinkler> | ||||||||
| Component: | BRE | Assignee: | Mario Fusco <mfusco> | ||||||||
| Status: | CLOSED EOL | QA Contact: | Marek Winkler <mwinkler> | ||||||||
| Severity: | urgent | Docs Contact: | |||||||||
| Priority: | urgent | ||||||||||
| Version: | 6.3.0 | CC: | kverlaen, mfusco, Xin.guo | ||||||||
| Target Milestone: | CR1 | Keywords: | Regression | ||||||||
| Target Release: | 6.3.0 | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | |||||||||||
| : | 1328048 (view as bug list) | Environment: | |||||||||
| Last Closed: | 2020-03-27 19:44:22 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: | |||||||||
| Bug Depends On: | |||||||||||
| Bug Blocks: | 1328048 | ||||||||||
| Attachments: |
|
||||||||||
PR with reproducer: https://github.com/droolsjbpm/drools/pull/734 The freeze does not occur on 6.3.x branch (please note that test method withResultTest fails - not sure if this would be expected?). The freeze occurs on 6.4.x and master branches. Fixed on master by https://github.com/droolsjbpm/drools/compare/1cf6f3d...626009a *** Bug 1328048 has been marked as a duplicate of this bug. *** Cherry-picked to 6.4.x branch with https://github.com/droolsjbpm/drools/commit/8f8275fc1 Verified in BRMS 6.3.0 CR1. Created attachment 1180176 [details]
zip file with a unit test that i used to reproduce issue on the lastest snapshot
Created attachment 1180177 [details]
thread dump of the hanging still occuring on latest snapshot.
Hi, I'm experiencing this bug again, or it might be a different bug. The repro steps are similar. I call getQueryResults on the RHS of a rule, and the rule hangs. I attached a zip with a repro, and Thread dump. I'd make a new bug in bugzilla, but I can't seem to make new bugs in BRMS 6.
Xin Guo, thanks for reporting the problem. The reason why you could not create a new Bug in Bugzilla is that we moved to JIRA [1]. Please create a new issue there. Thanks again! [1] https://issues.jboss.org/projects/RHBRMS |
Created attachment 1147232 [details] Thread dump Description of problem: Drools engine gets stuck (thread dump attached) while evaluating a query when fireUntilHalt is running. Please see the reproducer in PR. Version-Release number of selected component (if applicable): BRMS 6.3.0 ER3 How reproducible: always Steps to Reproduce: 1. run mvn clean test -Dtest=QueryCepFireUntilHaltTest in drools-compiler from the PR Actual results: The test hangs. Expected results: The test passes.