>> Just a note for future reference. After applying this patch, if I do an
>> incremental build I get a segfault from some darcs commands, like
>> obliterate, only on darcs-3 repositories (!).
>
> Can you try again by obliterating, building, applying, and rebuilding? I
> guess you won't get the error then.
I tried that repeatedly before I established what was going on. The
sequence that failed was clean build without the patch; apply patch;
incremental build. The failure persisted even after I obliterated until
I did a clean build. (I only actually observed the failure as a segfault
once, when I dug deeper into the test failures, but the symptoms I did
observe each time were consistent.)
> I remember that I also had strange segfaults with experimental darcs
> versions that had worked fine in the past. I got the segfaults when
> working on darcs itself, which is in V2 format, so this is not limited
> to V3 repos. Same as for you, rebuilding the darcs in question fixed it.
In this case it was definitely V3-specific, several tests were passing
on V1 and V2 and failing on V3.
> I recently switched compiler versions a few times, sometimes building
> with ghc-8.2.2, sometimes with ghc-8.6.3 and now with ghc-8.6.5, and I
> think this is what caused the problems for me. Perhaps related to shared
> libraries not being found in the correct places?
I was definitely using a consistent compiler version (same shell and
same cabal.project.local).
|