gnutls_handshake crash on multithreading

Simon Josefsson simon at josefsson.org
Mon Feb 15 11:19:40 CET 2010


"Vasiliy Ivanov" <vivanov at te.net.ua> writes:

> I have called gcry_control( GCRYCTL_SET_THREAD_CBS, &gcry_threads_boost );
> But program crashed inside of gnutls_handshake on Windows with ASSERT *lock
> == MUTEX_UNLOCK. What can I do?

Try switching order of the gcry_control call and gnutls_global_init?
That's just guessing.  Also, do you dynamically or statically link?

/Simon





More information about the Gnutls-devel mailing list