This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author davidar
Recipients davidar
Date 2009-07-24.11:26:33
SpamBayes Score 1.1945556e-11
Marked as misclassified No
Message-id <1248434795.41.0.567943786679.issue6562@psf.upfronthosting.co.za>
In-reply-to
Content
I'm getting the following error on Windows in an application I've
written (the error does not occur on Linux):

Exception in thread Thread-4:
Traceback (most recent call last):
 File "C:\Python26\lib\threading.py", line 525, in __bootstrap_inner
   self.run()
 File "C:\Documents and Settings\David\My
Documents\pyzui\pyzui\tileprovider.py", line 97, in run
   self.__tilecache[tile_id] = Tile(tile)
 File "C:\Documents and Settings\David\My
Documents\pyzui\pyzui\tilecache.py", line 165, in __setitem__
   with self.__lock:
 File "C:\Python26\lib\threading.py", line 115, in acquire
   me = current_thread()
 File "C:\Python26\lib\threading.py", line 803, in currentThread
   return _active[_get_ident()]
OverflowError: can't convert negative value to unsigned long

Where __lock is an RLock object.

The odd thing is that it only affects a single class (which is derived
from the TileProvider class in tileprovider.py, which in turn is derived
from threading.Thread). This led me to believe there was an error in my
code, but I asked on the mailing list and was told that it is likely a
bug in the threading module.

The Python version is 2.6.2.
History
Date User Action Args
2009-07-24 11:26:35davidarsetrecipients: + davidar
2009-07-24 11:26:35davidarsetmessageid: <1248434795.41.0.567943786679.issue6562@psf.upfronthosting.co.za>
2009-07-24 11:26:34davidarlinkissue6562 messages
2009-07-24 11:26:33davidarcreate