Crash in GnuTLS 2.4.1
Simon Josefsson
simon at josefsson.org
Wed Nov 26 12:46:56 CET 2008
Colin Leroy <colin at colino.net> writes:
> Hi,
>
> Does such a backtrace ring a bell for someone?
>
> #0 0x00007f9a9a0e7fd5 in raise () from /lib/libc.so.6
> (gdb) bt
> #0 0x00007f9a9a0e7fd5 in raise () from /lib/libc.so.6
> #1 0x00007f9a9a0e9b43 in abort () from /lib/libc.so.6
> #2 0x00007f9a9a0e0d49 in __assert_fail () from /lib/libc.so.6
> #3 0x00007f9a9afd191b in _gcry_ath_mutex_lock (lock=0x7f9a9b22ad30) at ath.c:186
> #4 0x00007f9a9afdf660 in lock_pool () at random.c:299
> #5 0x00007f9a9afe003e in _gcry_fast_random_poll () at random.c:1304
> #6 0x00007f9a9afd3686 in _gcry_cipher_open (handle=0x3ecc, algo=16247, mode=6, flags=4294967295)
> at cipher.c:641
Looks like a libgcrypt and thread related crash to me. Is your
application multi-threaded? Maybe this helps:
http://www.gnu.org/software/gnutls/manual/html_node/Multi_002dthreaded-applicati
ons.html
/Simon
> #7 0x00007f9a9b6a3ce9 in gc_cipher_open (alg=<value optimized out>, mode=<value optimized out>,
> outhandle=0x3) at gc-libgcrypt.c:180
> #8 0x00007f9a9b682b78 in _gnutls_cipher_init (handle=0x26c1ac8, cipher=<value optimized out>,
> key=0x26c1a88, iv=0x26c1a68) at gnutls_cipher_int.c:64
> #9 0x00007f9a9b68d829 in _gnutls_read_connection_state_init (session=0x26c16e0) at gnutls_constate.c:621
> #10 0x00007f9a9b67c9ee in _gnutls_recv_handshake_final (session=0x26c16e0, init=<value optimized out>)
> at gnutls_handshake.c:2507
> #11 0x00007f9a9b67ce89 in _gnutls_handshake_common (session=0x26c16e0) at gnutls_handshake.c:2663
> #12 0x00007f9a9b67cff2 in gnutls_handshake (session=0x26c16e0) at gnutls_handshake.c:2264
>
> Or should I see with my distro's bugtracker?
>
> Thanks,
More information about the Gnutls-devel
mailing list