[Help-gnutls] Re: Assertion failure advice

David Given dg at cowlark.com
Tue Apr 17 01:46:59 CEST 2007

Hash: SHA1

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.

- --
┌── dg@cowlark.com ─── http://www.cowlark.com ───────────────────
│ "Parents let children ride bicycles on the street. But parents do not
│ allow children to hear vulgar words. Therefore we can deduce that cursing
│ is more dangerous than being hit by a car." --- Scott Adams
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


More information about the Gnutls-help mailing list