[GPGME] gpgme_wait causes an assertion failure on successful operation

Daiki Ueno ueno at unixuser.org
Fri Oct 20 04:57:16 CEST 2006


Hi,

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.

$ ./t-wait
lt-t-wait: ath.c:71: _gpgme_ath_mutex_lock: Assertion `*lock == ((ath_mutex_t) 0)' failed.
zsh: abort      ./t-wait

t-wait is not linked against any thread libraries.

$ libtool --mode=execute ldd t-wait
        linux-gate.so.1 =>  (0xffffe000)
        libgpgme.so.11 => /home/ueno/gpgme1.0-1.1.2/gpgme/.libs/libgpgme.so.11 (0xb7f64000)
        libc.so.6 => /lib/tls/libc.so.6 (0xb7e1c000)
        libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0xb7e18000)
        /lib/ld-linux.so.2 (0xb7f88000)

Did I missed something?

Regards,
-- 
Daiki Ueno
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t-wait.c.diff
Type: application/octet-stream
Size: 1307 bytes
Desc: not available
Url : /pipermail/attachments/20061020/49487c28/t-wait.c.obj


More information about the Gnupg-devel mailing list