homepage

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 Mike.Meyer
Recipients Mike.Meyer, alex, jcea, meador.inge, neologix, pitrou, rbcollins, vstinner
Date 2012年05月07日.10:26:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1336386412.53.0.732556015439.issue13697@psf.upfronthosting.co.za>
In-reply-to
Content
I just ran into this issue in the logging module using 2.7. Here's the TB in
case it sheds any light on the issue
Traceback (most recent call last):
 File "./crawler.py", line 531, in <module>
 main(argv[1:]1:)
 File "./crawler.py", line 522, in main
 MCP(config).run()
 File "./crawler.py", line 332, in run
 self.reaper()
 File "./crawler.py", line 359, in reaper
 logging.debug('MCP process alive: %s', state)
 File "/usr/local/lib/python2.7/logging/__init__.py", line 1600, in debug
 root.debug(msg, *args, **kwargs)
 File "/usr/local/lib/python2.7/logging/__init__.py", line 1120, in debug
 self._log(DEBUG, msg, args, **kwargs)
 File "/usr/local/lib/python2.7/logging/__init__.py", line 1250, in _log
 self.handle(record)
 File "/usr/local/lib/python2.7/logging/__init__.py", line 1260, in handle
 self.callHandlers(record)
 File "/usr/local/lib/python2.7/logging/__init__.py", line 1300, in callHandlers
 hdlr.handle(record)
 File "/usr/local/lib/python2.7/logging/__init__.py", line 746, in handle
 self.release()
 File "/usr/local/lib/python2.7/logging/__init__.py", line 700, in release
 self.lock.release()
 File "/usr/local/lib/python2.7/threading.py", line 147, in release
 self.__block.release()
thread.error: release unlocked lock
Since I'm not using threads, getting thread errors was a little bit of
a surprise. I guess trying to make the logging module thread safe
added a potential bug.
History
Date User Action Args
2012年05月07日 10:26:52Mike.Meyersetrecipients: + Mike.Meyer, jcea, pitrou, vstinner, rbcollins, alex, meador.inge, neologix
2012年05月07日 10:26:52Mike.Meyersetmessageid: <1336386412.53.0.732556015439.issue13697@psf.upfronthosting.co.za>
2012年05月07日 10:26:51Mike.Meyerlinkissue13697 messages
2012年05月07日 10:26:51Mike.Meyercreate

AltStyle によって変換されたページ (->オリジナル) /