segfault in GCRYCTL_SET_THREAD_CBS

Daniel Kahn Gillmor dkg at fifthhorseman.net
Tue Oct 27 23:50:33 CET 2009


The attached simple program tries to initialize gcrypt with pthread
support.  On my debian system (testing/unstable, libgcrypt11 1.4.4-4)
this triggers a segfault during the call to
gcry_control(GCRYCTL_SET_THREAD_CBS).

What am i doing wrong?  What have i missed?

	--dkg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: main.c
Type: text/x-csrc
Size: 621 bytes
Desc: not available
URL: </pipermail/attachments/20091027/00462f74/attachment.c>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Makefile
URL: </pipermail/attachments/20091027/00462f74/attachment.txt>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 891 bytes
Desc: OpenPGP digital signature
URL: </pipermail/attachments/20091027/00462f74/attachment.pgp>


More information about the Gcrypt-devel mailing list