<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>12984</bug_id>
          
          <creation_ts>2018-11-07 00:50:06 +0000</creation_ts>
          <short_desc>Specifying invalid PRSERV_HOST causes bitbake to hang</short_desc>
          <delta_ts>2019-07-18 15:43:00 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BitBake</product>
          <component>bitbake</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.8 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Joe Slater">joe.slater</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>82041</commentid>
    <comment_count>0</comment_count>
    <who name="Joe Slater">joe.slater</who>
    <bug_when>2018-11-07 00:50:06 +0000</bug_when>
    <thetext>Set PRSERV_HOST = &quot;arf&quot; and try &quot;bitbake -p&quot;.

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 &quot;wrong&quot; time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84359</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-07-02 11:07:07 +0000</bug_when>
    <thetext>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.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84458</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2019-07-18 15:43:00 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/bitbake/lib?id=97e19bf73b024bc691e56c315ec7eb378a8cf7dd</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>