[gnutls-devel] test hangs in 3.2.8.1

Nikos Mavrogiannopoulos nmav at gnutls.org
Sun Jan 19 18:33:42 CET 2014


On 01/17/2014 11:31 AM, Thomas Klausner wrote:
> On Fri, Jan 17, 2014 at 08:01:21AM +0100, Nikos Mavrogiannopoulos wrote:
>>  The tests you disabled are simply scripts. Could you try running them
>> and see where their failure is?
> 
> $ ./testdsa
> Checking various DSA key sizes
> Checking DSA-1024 with TLS 1.0
> Error setting the x509 trust file
> Checking server DSA-1024 with client DSA-1024 and TLS 1.0
> Error setting the x509 trust file
> Checking server DSA-1024 with client DSA-2048 and TLS 1.0
> Checking server DSA-1024 with client DSA-3072 and TLS 1.0
> (nothing happens for a long time)
> (when I press CTRL-C it continues with)

Could there be some bashism in the script that makes it hang?
You could also remove the redirections to /dev/null of stderr in that
command to see the actual error. It's better first to check the script
with /bin/bash to see if it succeeds.

> Why are there left-over processes?
> Are they perhaps emptying out the entropy pool and blocking for that
> reason, or do you have another explanation?

I have no explanation yet, though it cannot be the entropy pool issue as
/dev/urandom is used. However to identify the issue I'll need some debug
data from you, e.g., by running the instance that fails without
redirection of stderr and using -d 9, both on the client and server.

regards,
Nikos




More information about the Gnutls-devel mailing list