cooker: fix CookerParser.shutdown()
PATCH 1/1 cooker: fix CookerParser.shutdown()
Prevent a hang when shutdown() is called during parsing (e.g. after SIGINT). We must not append 'None' to the jobs queue. Otherwise the worker loop inside Parser.realrun() may break out at the wrong point, causing the results queue thread blocking bitbake indefinitely.
[YOCTO #9319]
Signed-off-by Markus Lehtonen <[email protected]>
--- lib/bb/cooker.py | 1 - 1 file changed, 1 deletion(-)
lib/bb/cooker.py +0 -1
@@ -2063,7 +2063,6 @@ class CookerParser(object): bb.event.fire(event, self.cfgdata) self.feeder_quit.put(None) for process in self.processes: - self.jobs.put(None) self.parser_quit.put(None) else: self.feeder_quit.put('cancel')
Signature · 1 line
2.6.2