Control-C during checkout doesn't cause bzr to exit

Bug #113189 reported by Jean-Paul Calderone
2
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
Low
Unassigned

Bug Description

First I run bzr:

exarkun@charm:~$ bzr checkout sftp://launchpad.net/someinvalidurl

Then I hit ^C:

bzr: interrupted

But bzr is still running, so I hit ^C again:

Exception exceptions.KeyboardInterrupt in <bound method SFTPClient.__del__ of <paramiko.SFTPClient object at 0xb76fe1ec>> ignored

This time it actually exits. But a little while later, this output appears on my terminal:

ssh: connect to host launchpad.net port 22: Connection timed out

Revision history for this message
Martin Pool (mbp) wrote :

I think after the first interrupt bzr is trying to shut things down (run the finally blocks) and one of them is taking a long time. it may be that we're waiting for the ssh connection to close, but if we've not been able to establish a connection then we might need to kill ssh, rather than just close the pipe and wait for it to exit.

Changed in bzr:
importance: Undecided → Low
status: Unconfirmed → Confirmed
Jelmer Vernooij (jelmer)
tags: added: check-for-breezy
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.