Is kfw thread safe ?

Danny Mayer mayer at ntp.isc.org
Wed Sep 12 22:26:45 EDT 2007


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



More information about the Kerberos mailing list