[JBoss JIRA] (DROOLS-336) Property Reactivity fails on phreak
by Mario Fusco (JIRA)
Mario Fusco created DROOLS-336:
----------------------------------
Summary: Property Reactivity fails on phreak
Key: DROOLS-336
URL: https://issues.jboss.org/browse/DROOLS-336
Project: Drools
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Mario Fusco
Assignee: Mario Fusco
In LeftInputAdapterNode a modifyByPass happens, for a sink that has not been reached before. So it thinks it's new, and thus propagates as an insert
The real bug comes in doInsertObject method. It creates a child LT here, even though once it enters doInsertSegmentMemory the mask intersect fails. This leaves a child LT, that is not propagated. Next time update is called, as the LT is there it thinks it's a modify and propagates as a modify - but it never reached the beta node or the LeftMemory, and thus the memory corruption.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (DROOLS-327) PHREAK goes into infinite loop, even with 'no-loop' defined.
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-327?page=com.atlassian.jira.plugin... ]
Mario Fusco resolved DROOLS-327.
--------------------------------
Fix Version/s: 6.0.0.Final
Resolution: Done
> PHREAK goes into infinite loop, even with 'no-loop' defined.
> ------------------------------------------------------------
>
> Key: DROOLS-327
> URL: https://issues.jboss.org/browse/DROOLS-327
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.0.CR5
> Environment: Mac OS-X 10.9, JBoss Developer Studio 7, Oracle Hotspot 1.7.0_45
> Reporter: Duncan Doyle
> Assignee: Mario Fusco
> Labels: infinite, loop, no-loop, phreak
> Fix For: 6.0.0.Final
>
>
> See this project on my Github: https://github.com/DuncanDoyle/DroolsPhreakConditionalNamedConsequenceInf...
> The 'src/main/resources/rules/Sample.drl' contains an adapted version of the default Drools Eclipse plugin sample rule. As you can see, the rule uses Conditional Named Consequence construct. Although the rule is a bit strange (the issue actuallty popped up while debugging another issue) it does show different behaviour between ReteOO and PHREAK, where in this case PHREAK actually goes into an infinitie-loop, even though 'no-loop' has been defined on the "Hello World" rule.
> To run the sample using ReteOO:
> - mvn -Preteoo exec:java
> The (correct) output is:
> Hello World
> Goodbye cruel world
> To run the sample using PHREAK
> - mvn -Pphreak exec:java
> The incorrect output is:
> Hello, I'm here!
> Hello World
> Goodbye cruel world
> Goodbye cruel world
> Goodbye cruel world
> Goodbye cruel world
> Goodbye cruel world
> {infinite loop}
> Note that the PHREAK run also prints "Hello, I'm here!" and ReteOO doesn't (because the activation of that rule is canceled when the Message is updated with a new message and status).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (DROOLS-327) PHREAK goes into infinite loop, even with 'no-loop' defined.
by Mario Fusco (JIRA)
[ https://issues.jboss.org/browse/DROOLS-327?page=com.atlassian.jira.plugin... ]
Mario Fusco reassigned DROOLS-327:
----------------------------------
Assignee: Mario Fusco (was: Mark Proctor)
> PHREAK goes into infinite loop, even with 'no-loop' defined.
> ------------------------------------------------------------
>
> Key: DROOLS-327
> URL: https://issues.jboss.org/browse/DROOLS-327
> Project: Drools
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Affects Versions: 6.0.0.CR5
> Environment: Mac OS-X 10.9, JBoss Developer Studio 7, Oracle Hotspot 1.7.0_45
> Reporter: Duncan Doyle
> Assignee: Mario Fusco
> Labels: infinite, loop, no-loop, phreak
>
> See this project on my Github: https://github.com/DuncanDoyle/DroolsPhreakConditionalNamedConsequenceInf...
> The 'src/main/resources/rules/Sample.drl' contains an adapted version of the default Drools Eclipse plugin sample rule. As you can see, the rule uses Conditional Named Consequence construct. Although the rule is a bit strange (the issue actuallty popped up while debugging another issue) it does show different behaviour between ReteOO and PHREAK, where in this case PHREAK actually goes into an infinitie-loop, even though 'no-loop' has been defined on the "Hello World" rule.
> To run the sample using ReteOO:
> - mvn -Preteoo exec:java
> The (correct) output is:
> Hello World
> Goodbye cruel world
> To run the sample using PHREAK
> - mvn -Pphreak exec:java
> The incorrect output is:
> Hello, I'm here!
> Hello World
> Goodbye cruel world
> Goodbye cruel world
> Goodbye cruel world
> Goodbye cruel world
> Goodbye cruel world
> {infinite loop}
> Note that the PHREAK run also prints "Hello, I'm here!" and ReteOO doesn't (because the activation of that rule is canceled when the Message is updated with a new message and status).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (WFLY-276) Clustering/multi-node tests cannot be run with -Djpda debugger
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-276?page=com.atlassian.jira.plugin.s... ]
Radoslav Husar updated WFLY-276:
--------------------------------
Summary: Clustering/multi-node tests cannot be run with -Djpda debugger (was: TS: How to use -Djpda with clustered tests)
Affects Version/s: 8.0.0.Alpha1
Yep, they both listen on 8787.
> Clustering/multi-node tests cannot be run with -Djpda debugger
> --------------------------------------------------------------
>
> Key: WFLY-276
> URL: https://issues.jboss.org/browse/WFLY-276
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Clustering, Documentation, Test Suite
> Affects Versions: 8.0.0.Alpha1
> Reporter: Radoslav Husar
> Assignee: Ondrej Zizka
> Priority: Minor
> Fix For: 8.0.0.CR1
>
>
> The doc now says whats pasted below, but I am not sure if both servers are listening on 8787 because (that would fail the startup), if I have to connect to both or where do I configure that, etc.
> {code}
> Running JBoss AS instances with debugger
> Adding -Djpda (May be changed to -Ddebug in the future) will make JBoss AS run with JPDA JVM arguments for debugging.
> It will suspend and wait for the debugger to connect at port 8787.
> JBoss AS is started by Arquillian, when the first test which requires given instance is run. There's (currently) no challenge text in the console, it will look like the first test is stuck. This is being solved in http://jira.codehaus.org/browse/SUREFIRE-781.
> Depending on which test group(s) you run, multiple instances may be started. In that case, you need to attach the debugger multiple times.
> {code}
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months
[JBoss JIRA] (WFLY-2484) Revise clustering tests
by Radoslav Husar (JIRA)
[ https://issues.jboss.org/browse/WFLY-2484?page=com.atlassian.jira.plugin.... ]
Radoslav Husar commented on WFLY-2484:
--------------------------------------
Updated WFLY-276, are you guys using clustering tests with attached debuggers?
> Revise clustering tests
> -----------------------
>
> Key: WFLY-2484
> URL: https://issues.jboss.org/browse/WFLY-2484
> Project: WildFly
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: Clustering
> Affects Versions: 8.0.0.Beta1
> Reporter: Radoslav Husar
> Assignee: Paul Ferraro
> Fix For: 8.0.0.Final
>
>
> Paul pointed out that some of the tests are no longer relevant with the new implementation and some were never actually relevant, e.g. duplicate tests.
> We should revise the set of tests to keep the testsuite small and find out missing tests.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
11 years, 2 months