[Help-gnutls] libgcrypt

Nikos Mavrogiannopoulos nmav at gnutls.org
Fri May 16 19:05:02 CEST 2008


preeti.shandilya wrote:
> Hi!
> 
> I am facing core dump in libgcypt library on Solaris, during TLS handshake
> Following are the library versions.

It could be an alignment problem. What kind of hardware is this? I CC
the gcrypt mailing list since this is relevant to libgcrypt mostly.

regards,
Nikos

PS. Does the make check in libgcrypt succeed?

> 
>  1.  libgpg-error-1.5
>  2.  libgcrypt-1.4.1
>  3.  gnutls-1.6.3 and tried with gnutls-2.2.3 also
> 
> Pl find the back trace.
> 
> #0  0xfea28598 in do_decrypt (ctx=0xfe37b5f8,
>     bx=0xfe37b5e8 "gCÃÑQ\232´òÍ\232x«\t¥\021½",
>     ax=0xfe37b5e8 "gCÃÑQ\232´òÍ\232x«\t¥\021½") at rijndael.c:261
> #1  0xfea28b34 in rijndael_decrypt (context=0xfe37b5f8,
>     b=0xfe37b5e8 "gCÃÑQ\232´òÍ\232x«\t¥\021½",
>     a=0xfe37b5e8 "gCÃÑQ\232´òÍ\232x«\t¥\021½") at rijndael.c:679
> #2  0xfea28d0c in rijndael_setkey (context=0xa1c6e0,
>     key=0xa15868 "üêïg[0ð¡ Ïî7\020ì\221\237", keylen=16) at rijndael.c:833
> #3  0xfea13de4 in _gcry_cipher_ctl (h=0xa1c678, cmd=1, buffer=0xa15868,
>     buflen=16) at cipher.c:831
> #4  0xfeb4a07c in gc_cipher_setkey (handle=0xa1c678, keylen=16,
>     key=0xa15868 "üêïg[0ð¡ Ïî7\020ì\221\237") at gc-libgcrypt.c:190
> #5  0xfeb2884c in _gnutls_cipher_init (cipher=GNUTLS_CIPHER_AES_128_CBC,
>     key=0xa1aa44, iv=0xa1aa34) at gnutls_cipher_int.c:83
> #6  0xfeb34080 in _gnutls_write_connection_state_init (session=0xa1a6d8)
>     at gnutls_constate.c:820
> #7  0xfeb1e6a0 in _gnutls_send_handshake_final (session=0xa1a6d8, init=1)
>     at gnutls_handshake.c:2438
> #8  0xfeb22964 in _gnutls_handshake_common (session=0xa1a6d8)
>     at gnutls_handshake.c:2651
> #9  0xfeb22bec in gnutls_handshake (session=0xa1a6d8)
>     at gnutls_handshake.c:2255
> #10 0x0010d4cc in AAATLSWrapper::performHandshake (this=0x9b7330, socketFd=9)
> 
> Pl suggest the solution if anybody has faced this problem. I have a multithreaded application.
> 
> Regards
> Preeti





More information about the Gnutls-help mailing list