transport registry updated while in use: RuntimeError: dictionary changed size during iteration

Bug #430510 reported by Vincent Ladeuil
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
High
Vincent Ladeuil

Bug Description

We thought we fixed it as part of #277048 but it's back.
ERROR: bzrlib.tests.test_http.SmartHTTPTunnellingTest.test_open_bzrdir(urllib,HTTP/1.1) (subunit.RemotedTestCase)
----------------------------------------------------------------------
RemoteException: Traceback (most recent call last):
  File "/home/babune/buildbot/bzr/slaves/gentoo/tests/gentoo/build/bzrlib/tests/test_http.py", line 1770, in test_open_bzrdir
    bd = bzrdir.BzrDir.open(url)
  File "/home/babune/buildbot/bzr/slaves/gentoo/tests/gentoo/build/bzrlib/bzrdir.py", line 843, in open
    t = get_transport(base, possible_transports=possible_transports)
  File "/home/babune/buildbot/bzr/slaves/gentoo/tests/gentoo/build/bzrlib/transport/__init__.py", line 1585, in get_transport
    for proto, factory_list in transport_list_registry.items():
  File "/home/babune/buildbot/bzr/slaves/gentoo/tests/gentoo/build/bzrlib/registry.py", line 225, in items
    return sorted(self.iteritems())
  File "/home/babune/buildbot/bzr/slaves/gentoo/tests/gentoo/build/bzrlib/registry.py", line 221, in iteritems
    for key, getter in self._dict.iteritems():
RuntimeError: dictionary changed size during iteration

Related branches

Vincent Ladeuil (vila)
Changed in bzr:
status: Confirmed → Fix Committed
Vincent Ladeuil (vila)
Changed in bzr:
milestone: none → 2.1b1
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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