Bug#900173: git-annex: internal error: evacuate: strange closure type 4325404

Joey Hess id at joeyh.name
Tue May 29 17:35:59 BST 2018


Any chance you can build git-annex from source, so we can try a few
modifications to try to narrow this down?

sudo apt-get build-dep git-annex
apt-get source git-annex
cd git-annex-6.20180509
make
PATH=`pwd`:$PATH
export PATH

Then see if you can reproduce the problem, and then try applying the
attached patch, and re-making and see if it avoids the problem.
The patch tries to avoid doing anything before forking when starting
the assistant, so it should do only the same pre-fork operations as
git-annex watch. (Other than some differences due to argument parsing I
suppose.)

-- 
see shy jo
-------------- next part --------------
diff --git a/Command/Assistant.hs b/Command/Assistant.hs
index 70088674d..b148b2566 100644
--- a/Command/Assistant.hs
+++ b/Command/Assistant.hs
@@ -60,8 +60,8 @@ start o
 		liftIO autoStop
 		stop
 	| otherwise = do
-		liftIO ensureInstalled
-		ensureInitialized
+		--liftIO ensureInstalled
+		--ensureInitialized
 		Command.Watch.start True (daemonOptions o) (startDelayOption o)
 
 startNoRepo :: AssistantOptions -> IO ()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-maintainers/attachments/20180529/54b115b1/attachment.sig>


More information about the Pkg-haskell-maintainers mailing list