[Help-gnutls] Need help

nilanjans at condornetworks.com nilanjans at condornetworks.com
Wed Aug 2 06:26:33 CEST 2006


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
 
-----Original Message-----
From: Rupert Kittinger-Sereinig [mailto:rks at mur.at] 
Sent: Tuesday, August 01, 2006 12:58 AM
To: Nilanjan Sarkar
Cc: help-gnutls at gnu.org
Subject: Re: [Help-gnutls] Need help


Nilanjan Sarkar schrieb:
> Hi,
>  
> We integrated our code with gnuTLS. In load, I am getting Signal 6
> from
> gnuTLS, with error "_gcry_ath_mutex_lock: Assertion `*lock == 
> ((ath_mutex_t) 0)' failed." .
>  
> Can anybody please help me?
>  
> Thanks in advance.
> Regards,
> Nilanjan

sounds like libgcrypt has not been initialized:

http://www.gnu.org/software/gnutls/manual/html_node/Multi_002dthreaded-
applications.html#Multi_002dthreaded-applications

regards,
Rupert

-- 
Rupert Kittinger-Sereinig <rks at mur.at>
Krenngasse 32
A-8010 Graz
Austria











More information about the Gnutls-help mailing list