Bug 12984

Summary: Specifying invalid PRSERV_HOST causes bitbake to hang
Product: [Build System, Metadata & Runtime] BitBake Reporter: Joe Slater <joe.slater>
Component: bitbakeAssignee: Richard Purdie <richard.purdie>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Medium+ CC: poky.bs.watcher, poky.watcher
Version: unspecified   
Target Milestone: 2.8 M2   
Hardware: All   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Don't know

Description Joe Slater 2018-11-07 00:50:06 UTC
Set PRSERV_HOST = "arf" and try "bitbake -p".

The call to bb.fatal() in the exception processing hangs.  ANY attempt to terminate the program, like exit(), fails.

This is for the bitbake on master as of 11/5/18.  bitbake as of two years ago does not show the problem.

The issue seems related to createDaemon() returning at the "wrong" time.
Comment 1 Richard Purdie 2019-07-02 11:07:07 UTC
The issue is that the code repeatedly tries and fails to start the server, looping infinitely. Patches on the list to at least make it print messages and point at an error log where the issue can be figured out. Not perfect but not an infinite hang any more and a generic fix.