Uploaded image for project: 'Commons Compress'
  1. Commons Compress
  2. COMPRESS-470

ParallelScatterZipCreator leaks temporary files (and maybe more)

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.18
    • Fix Version/s: 1.19
    • Component/s: Archivers
    • Labels:

      Description

      As indicated by https://issues.apache.org/jira/browse/COMPRESS-446?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16679878#comment-16679878 COMPRESS-446 may have closed one resource leak but not all of them.

      If an exception occurs in writeTo we may miss calling close on some of the ScatterZipOutputStream}}s which in turn may leak resources like temporary files opened by using {{FileBasedScatterGatherBackingStore.

      This affects all versions since 1.10

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                bodewig Stefan Bodewig
              • Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: