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

4GB NITF file crashes Daffodil. 8GB and 10GB files do not.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Critical
    • Resolution: Fixed
    • 2.7.0
    • 3.0.0
    • Back End
    • None
    • Centos 7.8.

    Description

      NITF parse crashes Daffodil using this command line:

      apache-daffodil-2.7.0-incubating-bin/bin/daffodil parse -s nitf.dfdl.xsd test4G.ntf > 4G.ntf.xml

      The test file is 4GB. Testing with 8GB and 10GB NITF images is successful. I have attached the test images as zipped and then compressed files. Beware when you expand them - you will have 3 files totaling 22GB.

      The attached nitf.dfdl.xsd file includes a work-around from S. Lawrence (for the memory caching issue described elsewhere) and another fix that has already been rolled in to the NITF Schema repo.

      Attachments

        1. test8G.ntf.zip.Z
          9 kB
          Brent Nordin
        2. test4G.ntf.zip.Z
          6 kB
          Brent Nordin
        3. test10G.ntf.zip.Z
          10 kB
          Brent Nordin
        4. stderr
          9 kB
          Brent Nordin
        5. nitf.dfdl.xsd
          66 kB
          Brent Nordin
        6. jpeg.dfdl.xsd
          43 kB
          Brent Nordin

        Activity

          People

            jadams_tresys Josh Adams
            bnordin Brent Nordin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: