title: Python 2.6 threading KeyError with Apache
body: <p>I'm running Apache, installed using macports on OS X, to serve a Django app.</p>
  
  <p>I'm getting many lines in the Apache error_log like these:</p>
  
  <pre><code>[Wed Feb 23 11:35:42 2011] [error] Exception KeyError: KeyError(-1606572256,) in &lt;module 'threading' from '/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/threading.pyc'&gt; ignored
  </code></pre>
  
  <p>The server doesn't seem to be having noticeable problems while these errors are logged, but it does crash every so often requiring a manual restart - which may or may not be related to these error messages.</p>
  
  <p>Any ideas? </p>