[krbdev.mit.edu #6090] k5_mutex_destroy calls pthread_mutex_destroy with mutex locked

Ken Raeburn via RT rt-comment at krbdev.mit.edu
Wed Aug 20 15:55:16 EDT 2008


On Aug 20, 2008, at 15:38, Ezra Peisach via RT wrote:
> Detected with the development version of valgrind in which helgrind
> actually works.

Yeah, I was looking at that in the context of a NetBSD build that was  
reporting errors; the NetBSD thread support does these sorts of checks  
automatically and blows up if you mess it up.  I was going to change  
"&&" to "||" but adding "!" works too. :)

(Weirdly enough, though, the build *stopped* failing when we fixed a  
bug in the snapshot process and started testing today's code instead  
of something from last month.  I'm not sure what's up with that.)

Ken




More information about the krb5-bugs mailing list