[gnutls-help] segfault in gnutls_handshake

Nikos Mavrogiannopoulos nmav at gnutls.org
Thu May 1 19:42:00 CEST 2014


On Thu, 2014-05-01 at 16:39 +0100, Jeremy Harris wrote:
> gnutls-3.1.16-1.fc20.x86_64
> 
> Can anyone point where to go next with this:
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  __GI___pthread_mutex_lock (mutex=0x0) at ../nptl/pthread_mutex_lock.c:66

The mutex cannot be null after gnutls_global_init() is called. Do you
use gnutls from a dlopened object that links to pthreads while the main
application isn't linked to it (i.e., could there be a mix of the glibc
pthread stubs and the normal pthread functions)?

regards,
Nikos





More information about the Gnutls-help mailing list