[pkg-gnupg-maint] Bug#841143: Bug#841143: False assumptions about nPth (was: Bug#841143: Suspected race in gpg1 to gpg2 conversion or agent startup)
Ian Jackson
ijackson at chiark.greenend.org.uk
Wed Jan 18 11:00:03 UTC 2017
NIIBE Yutaka writes ("Re: [pkg-gnupg-maint] Bug#841143: False assumptions about nPth (was: Bug#841143: Suspected race in gpg1 to gpg2 conversion or agent startup)"):
> I don't know if this fix solves all the problems of Ian. One step done,
> that's good.
I have been running with all my previously posted patches, some of
which I now think are irrelevant and shouldn't change the behaviour.
> Ian's approach is to change the line of
>
> active_connections--;
>
> into:
>
> if (--active_connections == 0)
> interrupt_main_thread_loop ();
>
> There are two parts in gpg-agent.c to change.
If you like I can try just that change and report back. I strongly
suspect that this will mostly-fix the problem, but leave the race I
mentioned in my other email just now.
Thanks very much for your help in disentangling this conversation.
Regards,
Ian.
--
Ian Jackson <ijackson at chiark.greenend.org.uk> These opinions are my own.
If I emailed you from an address @fyvzl.net or @evade.org.uk, that is
a private address which bypasses my fierce spamfilter.
More information about the pkg-gnupg-maint
mailing list