Problem with libgcrypt maybe because of libgnutls

Paul Salters psalters at
Tue May 15 09:54:13 CEST 2012

Dear mailinglist members,

I have an problem with my application. My application is using the
xmlrpc-c library ( that library is
using the curl library which is using the gnutls library which is
using libgcrypt. (So far so good?)

My application is multi-threaded most of the time it runs fine but
sometimes i get the following error message: ""ath.c:193:
_gcry_ath_mutex_lock: Assertion '*lock == ((ath_mutex_t) 0)' failed".
Of course I have checked if the different library's are thread safe.
All claim to be thread safe. Also i have asked the xmlrpc-c developer
if he saw this problem before. But unfortunately he did not see this
problem before. I have searched Google and it looks like it's a
problem with libgcrypt. This error message can be found at curl
mailinglists and other mailinglists but that is from an few years ago.
So maybe this is an other problem?

I have posted the same question at the curl mailinglist but I think it
has maybe something to do with the libgnutls version in combination
with the libgcrypt version. But I am not that experienced c(++)
developer (in fact I am a student). So I hope you can point me in the
right direction.

I am using Debian stable as my OS. Which has the following versions installed.

xmlrpc-c: 1.25.15
libcurl4-gnutls-dev: 7.21.0-2.1+squeeze2
libgnutls-dev: 2.8.6-1+squeeze2
libgcrypt11-dev (1.4.5-2)

In advance I would like you to thank you for your help and time!

Yours sincerely,

Paul Salters
The Netherlands

More information about the Gnutls-help mailing list