help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gnutls] Re: Assertion failure advice


From: Simon Josefsson
Subject: [Help-gnutls] Re: Assertion failure advice
Date: Tue, 17 Apr 2007 10:47:13 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.95 (gnu/linux)

David Given <address@hidden> writes:

> Werner Koch wrote:
> [...]
>> The thread callbacks are not setup at time.  This should be done even
>> before the version check and definitely before initializing secure
>> memory.  Here is an example using GNU Pth:
>
> I've just noticed that there's a section of the gnutls manual calling
> 'Multithreaded programs' which, er, I'd completely missed the first time
> through. Which means that I haven't been telling gnutls to set up gcrypt
> properly. Mea culpa; sorry.
>
> Presumably I'm only getting this crash when two threads try to do a TLS
> handshake at the same time, at exactly the right time to cause gcrypt to step
> on its own toes.
>
> I'll fix this and see if the problem goes away.

Good.  It was good to know what error is likely to come up if you
forget to initialize threading properly.  Thanks again for reporting,
and let us know how it works out.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]