Uploaded image for project: 'HPCC'
  1. HPCC
  2. HPCC-11172

assert error after master workunit notified when used in if-then.

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.2.2
    • Fix Version/s: 6.4.0
    • Component/s: Code Generator
    • Labels:
      None

      Description

      This is code generated by a macro. I am testing a change to the macro. I added a stopcondition to each iteration that I kick off so it will skip subsequent iterations if a condition is false. This works when the condition is ‘< 30’, but when I make it ‘> 30’, it fails with this error:
      3000: System error: 3000: assert((wfid > 0) && (wfid <= capacity)) failed - file: /var/lib/jenkins/workspace/LN-Candidate-4.2.2-1/LN/centos-5.7-x86_64/HPCC-Platform/common/workunit/workflow.cpp, line 561

      Here is the first try, using a condition of ‘> 30’(which evaluates to true), which fails:
      http://10.241.3.240:8010/?inner=../WsWorkunits/WUInfo%3FWuid%3DW20140409-125715
      3000: System error: 3000: assert((wfid > 0) && (wfid <= capacity)) failed - file: /var/lib/jenkins/workspace/LN-Candidate-4.2.2-1/LN/centos-5.7-x86_64/HPCC-Platform/common/workunit/workflow.cpp, line 561

      Here is the same exact code, except the condition is ‘< 30’(evaluates to false). This completes.
      http://10.241.3.240:8010/?inner=../WsWorkunits/WUInfo%3FWuid%3DW20140409-134123
      completed.

      It fails immediately after the master workunit is notified by the child workunit. I did the notify manually and saw that the master workunit did not run any other graph after it was notified.

      When I make the condition a constant, say 'true', it works fine.

        Attachments

          Activity

            People

            • Assignee:
              ghalliday Gavin Halliday
              Reporter:
              lbentley Vern Bentley
            • Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: