Uploaded image for project: 'Daffodil'
  1. Daffodil
  2. DAFFODIL-2010

binarySeconds/milliSeconds missing length check, leaking exception and mark

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.2.0
    • 2.3.0
    • Back End
    • None
    • Windows 7
    • Yellow

    Description

      FYI: I have about 60 other "elements" that work OK for 60 different files (.cfg). I have not figured out what the cause is yet. TFpumpLog.dfdl.xsd is the new file that crashes.

      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
      !! An unexpected exception occurred. This is a bug! !!
      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

      Please report this bug and help us fix it:

      https://daffodil.apache.org/community/#issue-tracker

      Please include the following exception, the command you
      ran, and any input, schema, or tdml files used that led
      to this bug.

      org.apache.daffodil.exceptions.Abort: Invariant broken. Pool MarkPool leaked 1 instance(s).
      poolDebugLabel = before occurrence
      org.apache.daffodil.exceptions.Assert$.abort(Assert.scala:129)
      org.apache.daffodil.exceptions.Assert$.invariantFailed(Assert.scala:175)
      org.apache.daffodil.util.Pool.finalCheck(Pool.scala:103)
      org.apache.daffodil.util.Pool.finalCheck$(Pool.scala:99)
      at org.apache.daffodil.exceptions.Assert$.abort(Assert.scala:129)
      at org.apache.daffodil.exceptions.Assert$.invariantFailed(Assert.scala:175)
      at org.apache.daffodil.util.Pool.finalCheck(Pool.scala:103)
      at org.apache.daffodil.util.Pool.finalCheck$(Pool.scala:99)
      at org.apache.daffodil.processors.parsers.PState$MarkPool.finalCheck(PState.scala:431)
      at org.apache.daffodil.processors.parsers.PState.verifyFinalState(PState.scala:348)
      at org.apache.daffodil.processors.DataProcessor.doParse(Runtime.scala:242)
      at org.apache.daffodil.processors.DataProcessor.$anonfun$parse$1(Runtime.scala:200)
      at scala.util.DynamicVariable.withValue(DynamicVariable.scala:58)
      at org.apache.daffodil.ExecutionMode$.$anonfun$usingRuntimeMode$1(ExecutionMode.scala:65)
      at org.apache.daffodil.processors.DataProcessor.parse(Runtime.scala:192)
      at org.apache.daffodil.processors.DataProcessor.parse(Runtime.scala:188)
      at org.apache.daffodil.Main$.$anonfun$run$1(Main.scala:860)
      at org.apache.daffodil.util.Timer$.getTimeResult(Timer.scala:76)
      at org.apache.daffodil.util.Timer$.getResult(Timer.scala:35)
      at org.apache.daffodil.Main$.run(Main.scala:860)
      at org.apache.daffodil.Main$.main(Main.scala:1341)
      at org.apache.daffodil.Main.main(Main.scala)

      Attachments

        1. Errors.txt
          2 kB
          James L Welch
        2. Project_DataTypes.dfdl.xsd
          7 kB
          James L Welch
        3. Project_Defaults.dfdl.xsd
          3 kB
          James L Welch
        4. PUMPLOG1.CFG
          0.2 kB
          James L Welch
        5. TFpumpLog.dfdl.xsd
          2 kB
          James L Welch
        6. x.bat
          0.2 kB
          James L Welch

        Activity

          People

            slawrence Steve Lawrence
            jimwelchok James L Welch
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: