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

Bug #430510 reported by Vincent Ladeuil on 2009-09-16
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Bazaar
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) on 2009-09-17
Changed in bzr:
status: Confirmed → Fix Committed
Vincent Ladeuil (vila) on 2009-09-17
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  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers