[28406] in Kerberos

home help back first fref pref prev next nref lref last post

Re: Is kfw thread safe ?

daemon@ATHENA.MIT.EDU (Danny Mayer)
Wed Sep 12 22:29:14 2007

Message-ID: <46E89FE5.2070706@ntp.isc.org>
Date: Wed, 12 Sep 2007 22:26:45 -0400
From: Danny Mayer <mayer@ntp.isc.org>
MIME-Version: 1.0
To: Markus Moeller <huaraz@moeller.plus.com>
In-Reply-To: <fc0rht$of4$1@sea.gmane.org>
X-kostecke.net-MailScanner-From: mayer@ntp.isc.org
Cc: kerberos@mit.edu
Reply-To: mayer@ntp.isc.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

Markus Moeller wrote:
> I have an application running on w2k3 compiled with VisualStudio 2005 
> Express Edition which calls gss_init_sec_context from different threads with 
> a memory cache and I get from time to time the following if I run it under 
> debug in VS 2005:
> 
> First-chance exception at 0x77e55e02 in thread_test.exe: 0x000006D9: There 
> are no more endpoints available from the endpoint mapper.
> 

Is you application thread-safe? From the look of it you may have deleted
the structure which is meant hold some of the data, though that's hard
to know. It's very hard to write a thread-safe application correctly, so
you do have plenty of work to do. Do you have locks around the data
structures being updated?

Danny
________________________________________________
Kerberos mailing list           Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos

home help back first fref pref prev next nref lref last post