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

ParallelScatterZipCreator leaks temporary files (and maybe more)

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.18
    • 1.19
    • Archivers

    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

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

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

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment