Multiple Ctrl+C/Break raise AttributeError on shutdown

Bug #143477 reported by Joachim Bauch
2
Affects Status Importance Assigned to Milestone
Zope 2
Invalid
Wishlist
Unassigned

Bug Description

If you shutdown Zope by pressing CTRL+C / Break repeatedly, an AttributeError is raised in Signals.WinSignalHandler.py, line 191 in method "consoleCtrlHandler" or method "signalHandler", line 245.

This happens if the method "shutdown" has been called before, because it sets "self.registry" to None which can't be used afterwards.

Attached is a cvs diff against the current CVS branch "Zope-2_7-branch" that fixes these two issues.

Revision history for this message
Joachim Bauch (fancycode) wrote :
Tres Seaver (tseaver)
Changed in zope2:
importance: Medium → Wishlist
status: New → Triaged
Revision history for this message
Colin Watson (cjwatson) wrote :

The zope2 project on Launchpad has been archived at the request of the Zope developers (see https://answers.launchpad.net/launchpad/+question/683589 and https://answers.launchpad.net/launchpad/+question/685285). If this bug is still relevant, please refile it at https://github.com/zopefoundation/zope2.

Changed in zope2:
status: Triaged → Invalid
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.