>From reading the man page, apparently pthread_mutex_lock can fail for a variety of different reasons. I suppose I'll need to patch gnutls to print me the reason before crashing. Ugh.