diff options
author | Joey Hess <joeyh@joeyh.name> | 2017-09-29 22:36:08 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2017-09-29 22:36:08 -0400 |
commit | c85e2d09160e46d9bf38b711308708c8d13119d6 (patch) | |
tree | 8e22990c20f3551e87d96e15a0b5b05c6586cf38 /CHANGELOG | |
parent | b8248cf826a69ca43d3fe462b6686407cb859c65 (diff) |
fix process and FD leak
Fix process and file descriptor leak that was exposed when git-annex was
built with ghc 8.2.1. Apparently ghc has changed its behavior of GC
of open file handles that are pipes to running processes. That
broke git-annex test on OSX due to running out of FDs.
Audited for all uses of Annex.new and made stopCoProcesses be called
once it's done with the state. Fixed several places that might have
leaked in other situations than running the test suite.
This commit was sponsored by Ewen McNeill.
Diffstat (limited to 'CHANGELOG')
-rw-r--r-- | CHANGELOG | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -14,6 +14,9 @@ git-annex (6.20170926) UNRELEASED; urgency=medium * test: Fix reversion that made it only run inside a git repository. * copy, move: Behave same with --fast when sending to remotes located on a local disk as when sending to other remotes. + * Fix process and file descriptor leak that was exposed when + git-annex was built with ghc 8.2.1. Broke git-annex test on OSX + due to running out of FDs, and may have also leaked in other situations. -- Joey Hess <id@joeyh.name> Thu, 28 Sep 2017 12:01:39 -0400 |