[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Bug in python?



Hi,

while I was investigating an offlineimap bug, the following happened
quite often:

 File "/usr/lib64/python2.6/threading.py", line 497, in __bootstrap
    self.__bootstrap_inner()
  File "/usr/lib64/python2.6/threading.py", line 575, in
__bootstrap_inner
    self.__stop()
  File "/usr/lib64/python2.6/threading.py", line 586, in __stop
    self.__block.notify_all()
  File "/usr/lib64/python2.6/threading.py", line 289, in notifyAll
    self.notify(len(self.__waiters))
  File "/usr/lib64/python2.6/threading.py", line 277, in notify
    self._note("%s.notify(): no waiters", self)
  File "/usr/lib64/python2.6/threading.py", line 68, in _note
    current_thread().name, format)
  File "/usr/lib64/python2.6/threading.py", line 808, in currentThread
    return _DummyThread()
  File "/usr/lib64/python2.6/threading.py", line 788, in __init__
    self._Thread__started.set()
  File "/usr/lib64/python2.6/threading.py", line 378, in set
    self.__cond.notify_all()
  File "/usr/lib64/python2.6/threading.py", line 289, in notifyAll
    self.notify(len(self.__waiters))
  File "/usr/lib64/python2.6/threading.py", line 277, in notify
    self._note("%s.notify(): no waiters", self)
  File "/usr/lib64/python2.6/threading.py", line 68, in _note
    current_thread().name, format)
  File "/usr/lib64/python2.6/threading.py", line 808, in currentThread
    return _DummyThread()
  File "/usr/lib64/python2.6/threading.py", line 788, in __init__
    self._Thread__started.set()
  File "/usr/lib64/python2.6/threading.py", line 378, in set
    self.__cond.notify_all()
  File "/usr/lib64/python2.6/threading.py", line 289, in notifyAll
    self.notify(len(self.__waiters))
  File "/usr/lib64/python2.6/threading.py", line 277, in notify
    self._note("%s.notify(): no waiters", self)
  File "/usr/lib64/python2.6/threading.py", line 68, in _note
    current_thread().name, format)
  File "/usr/lib64/python2.6/threading.py", line 808, in currentThread
    return _DummyThread()
  File "/usr/lib64/python2.6/threading.py", line 788, in __init__
    self._Thread__started.set()
  File "/usr/lib64/python2.6/threading.py", line 378, in set
    self.__cond.notify_all()
  File "/usr/lib64/python2.6/threading.py", line 289, in notifyAll

....

Looks to me like calling _DummyThread() every time and then printing a
debug output is a bad idea, right?

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]