disconnecting the sftp transport hangs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Bazaar |
High
|
Unassigned | ||
| Launchpad itself |
High
|
Aaron Bentley |
Bug Description
Bzrlib hangs when a connected sftp transport is deleted:
>>> from bzrlib.transport import get_transport
>>> t = get_transport('sftp://
>>> t.list_dir('.')
['initrd.img', 'lost%2Bfound', 'sys', 'media', 'lib', 'cdrom', 'opt', 'home', 'vmlinuz.old', 'var', 'initrd', 'selinux', 'vmlinuz', 'mnt', 'etc', 'lib32', 'srv', 'dev', 'proc', 'usr', 'nonexistent', 'bin', 'boot', 'root', 'tmp', 'lib64', 'initrd.img.old', 'sbin']
>>> del t
^CException KeyboardInterrupt: KeyboardInterrupt() in <function terminate at 0x26f7050> ignored
Seems present in 2.2.1 through trunk r5544.
Related branches
- Francis J. Lacoste (community): Approve on 2010-11-19
-
Diff: 12 lines (+1/-1)1 file modifiedversions.cfg (+1/-1)
Michael Hudson-Doyle (mwhudson) wrote : | #1 |
Max Bowsher (maxb) wrote : | #2 |
There's a strong likelyhood that this is a dup of bug 659590.... in which case I've already had a fix landed on lp:bzr/2.2 :-)
Vincent Ladeuil (vila) wrote : | #3 |
Can you confirm that maxb's fix addresses the issue ?
It is worth releasing 2.2.2 then ?
Changed in bzr: | |
importance: | Undecided → High |
status: | New → Confirmed |
Michael Hudson-Doyle (mwhudson) wrote : | #4 |
Yes, maxb's branch does seem to fix the issue for Launchpad. You might want to land it on trunk :-)
Changed in launchpad-code: | |
importance: | Undecided → High |
status: | New → In Progress |
Fixed in stable r11960 <http://
Changed in launchpad-code: | |
assignee: | nobody → Aaron Bentley (abentley) |
milestone: | none → 10.12 |
tags: | added: qa-needstesting |
Changed in launchpad-code: | |
status: | In Progress → Fix Committed |
Robert Collins (lifeless) wrote : | #6 |
As this is a rollback, its known-good.
tags: |
added: qa-ok removed: qa-needstesting |
Max Bowsher (maxb) wrote : | #7 |
Fixed in bzr 2.2.2, tracked under bug 659590
Changed in bzr: | |
status: | Confirmed → Fix Released |
Changed in launchpad-code: | |
status: | Fix Committed → Fix Released |
This made all code imports fail in Launchpad. Reverting to 2.2.0 got them going again.