See also the thread on the krbdev mailing list from 21 to 26 November titled "rewrite gss_krb5_ccache_name". The original problem was observed in kfw-3-2-2-final, and krb5int_thread_detach_hook is part of the Windows-specific support.