importlib lock race issue in deadlock handling code · Issue #91351 · python/cpython (original) (raw)

Comments

@rpurdie

This was referenced

Jul 21, 2022

brettcannon added a commit that referenced this issue

Jan 21, 2023

@exarkun @brettcannon

…H-94504)

Co-authored-by: Brett Cannon brett@python.org

facebook-github-bot pushed a commit to facebookincubator/cinder that referenced this issue

Feb 12, 2024

@itamaro @facebook-github-bot

…imports

Summary: upstream issue: python/cpython#91351 upstream PR: python/cpython#94504 upstream merge commit: python/cpython@3325f05

symptom:

File "<frozen importlib._bootstrap>", line 1004, in _find_and_load(name='oe.gpg_sign', import_=<built-in function __import__>)
File "<frozen importlib._bootstrap>", line 158, in _ModuleLockManager.__enter__()
File "<frozen importlib._bootstrap>", line 110, in _ModuleLock.acquire()
KeyError: 139622474778432

and

File "<frozen importlib._bootstrap>", line 1004, in _find_and_load(name='oe.path', import_=<built-in function __import__>)
File "<frozen importlib._bootstrap>", line 158, in _ModuleLockManager.__enter__()
File "<frozen importlib._bootstrap>", line 110, in _ModuleLock.acquire()
KeyError: 140438942700992

Reviewed By: carljm

Differential Revision: D53641441

fbshipit-source-id: e142eb17442da370861cd3a3398b0eef9930d041