help-gnutls
[Top][All Lists]
Advanced

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

[Help-gnutls] Re: Need help


From: Simon Josefsson
Subject: [Help-gnutls] Re: Need help
Date: Fri, 18 Aug 2006 10:42:32 +0200
User-agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux)

Rupert Kittinger-Sereinig <address@hidden> writes:

> address@hidden 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.

/Simon




reply via email to

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