[GPGME] gpgme_wait causes an assertion failure on successful operation

Daiki Ueno ueno at unixuser.org
Tue Oct 24 04:52:34 CEST 2006

>>>>> In <87slheans4.wl%marcus.brinkmann at ruhr-uni-bochum.de> 
>>>>>	Marcus Brinkmann <marcus.brinkmann at ruhr-uni-bochum.de> wrote:
> > It seems that ./tests/gpg/t-wait which expects an error GPG_ERR_NO_DATA
> > is only example of gpgme_wait.  I tried to make it to expect an
> > successful operation, then I got an assertion failure.

> Thanks for reporting this.  The active context list lock needs to be
> released while signaling the DONE event.  I have applied a fix for
> that in revision 1184 which is not very efficient, but it should be OK
> for now.

> 2006-10-23  Marcus Brinkmann  <marcus at g10code.de>

>         * wait-global.c (gpgme_wait): Unlock CTX_LIST_LOCK while calling
>         _gpgme_engine_io_event().

I confirmed it.  Thanks!

Daiki Ueno

More information about the Gnupg-devel mailing list