gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Crash in GnuTLS 2.4.1


From: Simon Josefsson
Subject: Re: Crash in GnuTLS 2.4.1
Date: Wed, 26 Nov 2008 12:55:33 +0100
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (gnu/linux)

Colin Leroy <address@hidden> writes:

> On Wed, 26 Nov 2008 12:23:01 +0100, Colin Leroy wrote:
>
> Hi,
>
>> #2  0x00007f9a9a0e0d49 in __assert_fail () from /lib/libc.so.6
>> #3  0x00007f9a9afd191b in _gcry_ath_mutex_lock (lock=0x7f9a9b22ad30)
>> at ath.c:186
>
> Btw, in my application I do have the threads setup with:
>       gcry_control (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);
>
> But this application also uses a Glib main loop. Should I use
> gcry_threads_other instead?

I don't know.  Maybe ask on the libgcrypt list?

Btw, one idea is to make sure that your call above is invoked before
libgcrypt is initialized.  Maybe your gcry_control call is too late.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]