<?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>5683</bug_id>
          
          <creation_ts>2013-12-20 16:22:12 +0000</creation_ts>
          <short_desc>sstate exception when leaving devshell</short_desc>
          <delta_ts>2013-12-20 17:19:20 +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.6</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>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</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>---</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>39533</commentid>
    <comment_count>0</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2013-12-20 16:22:12 +0000</bug_when>
    <thetext>After closing the terminal in a devshell session, this happens:

ERROR: Execution of event handler &apos;sstate_eventhandler&apos; failed
Traceback (most recent call last):
  File &quot;sstate_eventhandler(e)&quot;, line 13, in sstate_eventhandler(e=&lt;bb.build.TaskSucceeded object at 0xa8c6d50&gt;)
  File &quot;/home/ross/Yocto/poky/bitbake/lib/bb/siggen.py&quot;, line 290, in dump_this_task(outfile=&apos;/data/poky-master/sstate/93/sstate-glib-2.0-x86_64-poky-linux-2.38.2-r0-x86_64-3-93bf8c8830aa11636485ae198b86ed0e_devshell.tgz.siginfo&apos;, d=&lt;bb.data_smart.DataSmart object at 0xb180f50&gt;):
         task = &quot;do_&quot; + d.getVar(&quot;BB_CURRENTTASK&quot;, True)
    &gt;    bb.parse.siggen.dump_sigtask(fn, task, outfile, &quot;customfile&quot;)
     
  File &quot;/home/ross/Yocto/poky/bitbake/lib/bb/siggen.py&quot;, line 239, in SignatureGeneratorOEBasicHash.dump_sigtask(fn=&apos;/home/ross/Yocto/poky/meta/recipes-core/glib-2.0/glib-2.0_2.38.2.bb&apos;, task=&apos;do_devshell&apos;, stampbase=&apos;/data/poky-master/sstate/93/sstate-glib-2.0-x86_64-poky-linux-2.38.2-r0-x86_64-3-93bf8c8830aa11636485ae198b86ed0e_devshell.tgz.siginfo&apos;, runtime=&apos;customfile&apos;):
                 with os.fdopen(fd, &quot;wb&quot;) as stream:
    &gt;                p = pickle.dump(data, stream, -1)
                     stream.flush()
PicklingError: Can&apos;t pickle &lt;COWDict Level: 1 Current Keys: 52&gt;: attribute lookup bb.COW.C failed

(with poky bc1e359aaefeeddf8525b46eb80ac14db7f637b3)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>39536</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2013-12-20 17:19:20 +0000</bug_when>
    <thetext>Fixed in master http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=394691762aa492d2b1494f2865b2b54d9eb79f06</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>