[Help-gnutls] Re: Need help

Simon Josefsson jas at extundo.com
Fri Aug 18 10:42:32 CEST 2006

Rupert Kittinger-Sereinig <rks at mur.at> writes:

> nilanjans at condornetworks.com schrieb:
>> Hi Rupert,
>> Thank you for your help.
>> Libgcrypt is installed. I am using POSIX threds, and followed the
>> link for "Multi-threaded applications". Using "gcry_control
>> (GCRYCTL_SET_THREAD_CBS, &gcry_threads_pthread);", the SIGABRT
>> (signal 6), is not coming in load condition(high TPS).
>> But now I am getting differnt problem.
>> In load(I am sending continuous packets from my simulator, in some
>> moderate load), after some time, the gnuTLS session getting
>> "INVALID". In sending time (I am using the gnuTLS api
>> gnutls_record_send), it returns error code (-10)
>> ="Socket operation on non-socket".
>> If you have any hints for this problem, please write me. DO I need
>> to enable (or set) some options for load?
>> Thanks in advance.
>> Regards,
>> Nilanjan
> does not sound like a gnutls problem to me. Probably you messed up the
> file descriptors somewhere.

I agree this is the most likely explanation.

> If your are using linux, the easiest way to find out is probably to
> run the whole application with strace, which will show you all the
> system calls with parameters and results.

Valgrind is another good recommendation, if some memory related error
caused this problem.


More information about the Gnutls-help mailing list