<?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>6675</bug_id>
          
          <creation_ts>2014-09-03 11:18:34 +0000</creation_ts>
          <short_desc>Race condition removing locks on shutdown</short_desc>
          <delta_ts>2015-08-01 06:35:48 +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>1.7</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>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Future</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ross Burton">ross.burton</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>Regression (Used to work)</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>45369</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2014-09-03 11:18:34 +0000</bug_when>
    <thetext>The controller process doesn&apos;t appear to wait for all of the children to quit before exiting, which leads to this race happening:

$ bitbake m4 ; bitbake m4
NOTE: Started PRServer with DBfile: /home/ross/Yocto/poky/build/cache/prserv.sqlite3, IP: 127.0.0.1, PORT: 44208, PID: 5690
Parsing recipes: 100% |###############################################################################| ETA:  00:00:00
Parsing of 909 .bb files complete (0 cached, 909 parsed). 1303 targets, 16 skipped, 0 masked, 0 errors.
NOTE: Resolving any missing task queue dependencies

Build Configuration:
BB_VERSION        = &quot;1.23.1&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Debian-7.6&quot;
TARGET_SYS        = &quot;i586-poky-linux&quot;
MACHINE           = &quot;qemux86&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;1.6+snapshot-20140903&quot;
TUNE_FEATURES     = &quot;m32 i586&quot;
TARGET_FPU        = &quot;&quot;
meta
meta-yocto
meta-yocto-bsp    = &quot;master:83ebcb1f0c6ec48c526d14324b3b2037f0f4fe43&quot;
meta-intel
meta-crownbay
meta-romley
meta-nuc          = &quot;master:b7f3ccf08a006835a411b830d78dd4296996a3ca&quot;
meta-minnow       = &quot;master:743fa66aa0cc2265a9c1f293c305828d90b4fbbd&quot;
meta-ross         = &quot;master:d877c57331ee67cae756dc4c7b432e492c20f706&quot;

NOTE: Preparing runqueue
NOTE: Executing SetScene Tasks
NOTE: Executing RunQueue Tasks
NOTE: Tasks Summary: Attempted 411 tasks of which 411 didn&apos;t need to be rerun and all succeeded.
NOTE: Writing buildhistory
ERROR: Only one copy of bitbake should be run against a build directory</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52750</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-07-31 15:46:28 +0000</bug_when>
    <thetext>Paul/I have some patches out for review for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52757</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-08-01 06:35:48 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=4c2f28bf482c2abda937b21217fc41d71f037166</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>