Assertion failure advice
David Given
dg at cowlark.com
Tue Apr 17 01:46:59 CEST 2007
-----BEGIN PGP SIGNED MESSAGE-----
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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGJArzf9E0noFvlzgRAp8uAJwMELeePd61OgydP9wDp5qi8bktxwCglsLH
lLz7wkVAudzDCJ3U4EV6YFY=
=+b83
-----END PGP SIGNATURE-----
More information about the Gcrypt-devel
mailing list