Tearing down Windmill sometimes breaks with a ValueError("invalid thread id")

Bug #431855 reported by Björn Tillenius
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Undecided
Björn Tillenius

Bug Description

Sometimes when tearing down Windmill using teardown(shell_objects), a ValueError is raised:

Traceback (most recent call last):
  File "/devel/launchpad/bug-430813/lib/lp/testing/__init__.py", line 339, in run
    testMethod()
  File "/devel/launchpad/bug-430813/lib/lp/bugs/windmill/tests/test_bug_commenting.py", line 35, in test_bug_commenting
    teardown(shell_objects)
  File "/devel/launchpad/rocketfuel/eggs/windmill-1.3beta2-py2.4.egg/windmill/bin/admin_lib.py", line 222, in teardown
    shell_objects['httpd'].stop()
  File "/devel/launchpad/rocketfuel/eggs/windmill-1.3beta2-py2.4.egg/windmill/server/https.py", line 427, in stop
    t.terminate()
  File "/devel/launchpad/rocketfuel/eggs/windmill-1.3beta2-py2.4.egg/windmill/server/thread2.py", line 46, in terminate
    self.raise_exc(SystemExit)
  File "/devel/launchpad/rocketfuel/eggs/windmill-1.3beta2-py2.4.egg/windmill/server/thread2.py", line 41, in raise_exc
    _async_raise(self._get_my_tid(), exctype)
  File "/devel/launchpad/rocketfuel/eggs/windmill-1.3beta2-py2.4.egg/windmill/server/thread2.py", line 13, in _async_raise
    raise ValueError("invalid thread id")
ValueError: invalid thread id

Related branches

Changed in launchpad-foundations:
status: Triaged → In Progress
Revision history for this message
Björn Tillenius (bjornt) wrote :

I have submitted a fix upstream for review.

Changed in windmill:
status: Unknown → New
Revision history for this message
Diogo Matsubara (matsubara) wrote : Bug fixed by a commit
Changed in launchpad-foundations:
status: In Progress → Fix Committed
Changed in launchpad-foundations:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.