Tricky gpgme_wait bug.

Marcus Brinkmann marcus.brinkmann at
Thu May 5 13:38:33 CEST 2005

At Mon, 25 Apr 2005 13:51:58 -0400,
Igor Belyi <gpgme at> wrote:
> > The extra sleep between gpgme_wait causes _gpgme_io_select to get 
> > signal on more than one file handler for the same context. As a result 
> > an error reported on the first handle causes all context handlers to 
> > be closed and the associated data released. When the second selected 
> > handle get processed it causes segmentation fault.
> And just to reply to myself, attached is a proposed patch fixing the 
> problem.

Good catch.  There is another bug in wait-global that needs fixing,
too, and I will provide a combined solution very soon now.


More information about the Gnupg-devel mailing list