<?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>1332</bug_id>
          
          <creation_ts>2011-08-04 16:40:12 +0000</creation_ts>
          <short_desc>pseudo segfault in the 2nd build from hob</short_desc>
          <delta_ts>2011-09-05 14:44:21 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Pseudo</product>
          <component>pseudo</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>Fix posted for review (5 sep)</status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>1.1</target_milestone>
          
          <blocked>1285</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Jessica">jessica.zhang</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>josh</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>yp.pseudo.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>15227</commentid>
    <comment_count>0</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-08-04 16:40:12 +0000</bug_when>
    <thetext>When trying to run 2nd build from hob, got the following error:

/home/jzhang/yocto-latest/scripts/bitbake: line 86: 30647 Segmentation fault      PSEUDO_BINDIR=$PSEUDOBINDIR PSEUDO_LIBDIR=$PSEUDOBINDIR/../lib/pseudo/lib PSEUDO_PREFIX=$PSEUDOBINDIR/../../ PSEUDO_DISABLED=1 $PSEUDOBINDIR/pseudo $BITBAKE $@

I&apos;m also attaching the core file with the bug.

To reproduce the bug, under your build directory instead of using bitbake, run hob.

After hob comes up, leave the default selections e.g. Machine: qemux86, and select Base image: core-image-minimal, after the packages are populated click on the &quot;Bake&quot; button. After the &quot;Build complete&quot; prompt out, select &quot;Edit Image&quot;, which will bring u back to the main hob view and reselect &quot;core-image-minimal&quot; and click &quot;Bake&quot;, after several tasks, you&apos;ll see the segfault.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15228</commentid>
    <comment_count>1</comment_count>
    <who name="Jessica">jessica.zhang</who>
    <bug_when>2011-08-04 16:45:00 +0000</bug_when>
    <thetext>seems the core file is too big to be attached.

Also, make sure you have following patch in the code:

$ git diff
diff --git a/lib/bb/ui/hob.py b/lib/bb/ui/hob.py
index b5c2342..8af7740 100644
--- a/lib/bb/ui/hob.py
+++ b/lib/bb/ui/hob.py
@@ -446,6 +446,7 @@ class MainWindow (gtk.Window):
         self.nb.set_current_page(0)

     def build_complete_cb(self, running_build):
+        self.handler.building = None
         self.stopping = False
         self.back.connect(&quot;clicked&quot;, self.back_button_clicked_cb)
         self.back.set_sensitive(True)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15408</commentid>
    <comment_count>2</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-08-11 11:23:51 +0000</bug_when>
    <thetext>This is not looking like a pseudo problems, at least not directly.

The cooker.log from the first &quot;good&quot; run:


OE Build Configuration:
BB_VERSION        = &quot;1.13.3&quot;
TARGET_ARCH       = &quot;arm&quot;
TARGET_OS         = &quot;linux-gnueabi&quot;
MACHINE           = &quot;qemuarm&quot;
DISTRO            = &quot;&quot;
DISTRO_VERSION    = &quot;&quot;
TUNE_FEATURES     = &quot;armv5 dsp thumb arm926ejs&quot;
TARGET_FPU        = &quot;soft&quot;
meta              = &quot;mhatle/fix_1352:68661582ede47f7b70999764ea80fe3e5e6aa78d&quot;


The log from the subsequent run:


pseudo: You must set the PSEUDO_PREFIX environment variable to run pseudo.
pseudo: You must set the PSEUDO_PREFIX environment variable to run pseudo.
pseudo: You must set the PSEUDO_PREFIX environment variable to run pseudo.

OE Build Configuration:
BB_VERSION        = &quot;1.13.3&quot;
TARGET_ARCH       = &quot;arm&quot;
TARGET_OS         = &quot;linux-gnueabi&quot;
MACHINE           = &quot;qemuarm&quot;
DISTRO            = &quot;&quot;
DISTRO_VERSION    = &quot;&quot;
TUNE_FEATURES     = &quot;armv5 dsp thumb arm926ejs&quot;
TARGET_FPU        = &quot;soft&quot;
meta              = &quot;&lt;unknown&gt;:&lt;unknown&gt;&quot;

The three pseudo messages indicate that the environment was cleared and pseudo was trying to be run way too early in the build.  The following messages indicate that the meta data couldn&apos;t be found correctly..

The core indicates the failure occurred in:  (note pseudo should be in memory, but inactive at this point)

python /home/mhatle/git/oss/oe-core/bitbake/bin/bitbake -R conf/hob.local.conf

The backtrace:


#0  0x0000003c534966f8 in tupleitem (a=0x3689890, i=0) at Objects/tupleobject.c:337
#1  0x0000003c534970e0 in tuplesubscript (self=0x3689890, item=&lt;value optimized out&gt;)
    at Objects/tupleobject.c:658
#2  0x0000003c534db99b in PyEval_EvalFrameEx (f=&lt;value optimized out&gt;, 
    throwflag=&lt;value optimized out&gt;) at Python/ceval.c:1294
#3  0x0000003c534df4e9 in PyEval_EvalCodeEx (co=0x1936990, 
    globals=&lt;value optimized out&gt;, locals=&lt;value optimized out&gt;, 
    args=&lt;value optimized out&gt;, argcount=2, kws=0x3725248, kwcount=0, defs=
    0x19fe1e8, defcount=1, closure=0x0) at Python/ceval.c:3026
#4  0x0000003c534dd897 in fast_function (f=&lt;value optimized out&gt;, 
    throwflag=&lt;value optimized out&gt;) at Python/ceval.c:3860
#5  call_function (f=&lt;value optimized out&gt;, throwflag=&lt;value optimized out&gt;)
    at Python/ceval.c:3785
#6  PyEval_EvalFrameEx (f=&lt;value optimized out&gt;, throwflag=&lt;value optimized out&gt;)
    at Python/ceval.c:2445
#7  0x0000003c534de312 in fast_function (f=&lt;value optimized out&gt;, 
    throwflag=&lt;value optimized out&gt;) at Python/ceval.c:3850
#8  call_function (f=&lt;value optimized out&gt;, throwflag=&lt;value optimized out&gt;)
    at Python/ceval.c:3785
#9  PyEval_EvalFrameEx (f=&lt;value optimized out&gt;, throwflag=&lt;value optimized out&gt;)
    at Python/ceval.c:2445
#10 0x0000003c534df4e9 in PyEval_EvalCodeEx (co=0x190e558, 
    globals=&lt;value optimized out&gt;, locals=&lt;value optimized out&gt;, 
    args=&lt;value optimized out&gt;, argcount=4, kws=0x0, kwcount=0, defs=0x0, 
    defcount=0, closure=0x0) at Python/ceval.c:3026
#11 0x0000003c5346df70 in function_call (func=&lt;function at remote 0x191a0c8&gt;, arg=
    (&lt;HobHandler(building=&apos;image&apos;, generating=False, image_dir=&apos;/tmp/hob-images&apos;, current_command=None, server=&lt;ServerProxy(_ServerProxy__transport=&lt;Transport(_use_datetime=0, verbose=0) at remote 0x365e7a0&gt;, _ServerProxy__handler=&apos;/&apos;, _ServerProxy__host=&apos;127.0.0.1:50989&apos;, _ServerProxy__verbose=0, _ServerProxy__allow_none=True, _ServerProxy__encoding=None) at remote 0x365ef38&gt;, build_toolchain_headers=False, build_toolchain=False, image_output_types=[&apos;tar.bz2&apos;, &apos;ext3&apos;], model=&lt;TaskListModel(packages=&lt;unknown at remote 0x7fdf74268690&gt;, images=&lt;unknown at remote 0x7fdf74268730&gt;, tasks=&lt;unknown at remote 0x7fdf74268820&gt;, contents=&lt;unknown at remote 0x7fdf74268780&gt;, selected_image=&apos;core-image-sato&apos;) at remote 0x3059500&gt;, build_queue=[], current_phase=&apos;building&apos;) at remote 0x30595a0&gt;, &lt;BBUIEventQueue(EventHandle=1, eventQueueNotify=&lt;_Event(_Verbose__verbose=False, _Event__flag=False, _Event__cond=&lt;_Condition(_Verbose__verbose=False, _Condition__lock=&lt;thread.lock at remote 0x1844b10&gt;, acquire=&lt;built-in method acquire o...(truncated), kw=0x0) at Objects/funcobject.c:524
#12 0x0000003c53443db3 in PyObject_Call (func=&lt;function at remote 0x191a0c8&gt;, 
    arg=&lt;value optimized out&gt;, kw=&lt;value optimized out&gt;) at Objects/abstract.c:2492

#13 0x0000003c53458cff in instancemethod_call (func=&lt;function at remote 0x191a0c8&gt;, 
    arg=
    (&lt;HobHandler(building=&apos;image&apos;, generating=False, image_dir=&apos;/tmp/hob-images&apos;, current_command=None, server=&lt;ServerProxy(_ServerProxy__transport=&lt;Transport(_use_datetime=0, verbose=0) at remote 0x365e7a0&gt;, _ServerProxy__handler=&apos;/&apos;, _ServerProxy__host=&apos;127.0.0.1:50989&apos;, _ServerProxy__verbose=0, _ServerProxy__allow_none=True, _ServerProxy__encoding=None) at remote 0x365ef38&gt;, build_toolchain_headers=False, build_toolchain=False, image_output_types=[&apos;tar.bz2&apos;, &apos;ext3&apos;], model=&lt;TaskListModel(packages=&lt;unknown at remote 0x7fdf74268690&gt;, images=&lt;unknown at remote 0x7fdf74268730&gt;, tasks=&lt;unknown at remote 0x7fdf74268820&gt;, contents=&lt;unknown at remote 0x7fdf74268780&gt;, selected_image=&apos;core-image-sato&apos;) at remote 0x3059500&gt;, build_queue=[], current_phase=&apos;building&apos;) at remote 0x30595a0&gt;, &lt;BBUIEventQueue(EventHandle=1, eventQueueNotify=&lt;_Event(_Verbose__verbose=False, _Event__flag=False, _Event__cond=&lt;_Condition(_Verbose__verbose=False, _Condition__lock=&lt;thread.lock at remote 0x1844b10&gt;, acquire=&lt;built-in method acquire o...(truncated), kw=0x0) at Objects/classobject.c:2579
#14 0x0000003c53443db3 in PyObject_Call (func=&lt;instancemethod at remote 0x368b9b0&gt;, 
    arg=&lt;value optimized out&gt;, kw=&lt;value optimized out&gt;) at Objects/abstract.c:2492
#15 0x0000003c534d7ba3 in PyEval_CallObjectWithKeywords (func=
    &lt;instancemethod at remote 0x368b9b0&gt;, arg=
    (&lt;BBUIEventQueue(EventHandle=1, eventQueueNotify=&lt;_Event(_Verbose__verbose=False, _Event__flag=False, _Event__cond=&lt;_Condition(_Verbose__verbose=False, _Condition__lock=&lt;thread.lock at remote 0x1844b10&gt;, acquire=&lt;built-in method acquire of thread.lock object at remote 0x1844b10&gt;, _Condition__waiters=[], release=&lt;built-in method release of thread.lock object at remote 0x1844b10&gt;) at remote 0x1c81110&gt;) at remote 0x1b85650&gt;, eventQueueLock=&lt;thread.lock at remote 0x1844af8&gt;, port=32778, host=&apos;127.0.0.1&apos;, t=&lt;Thread(_Thread__ident=140597806331648, run=&lt;instancemethod at remote 0x30591e0&gt;, _Thread__block=&lt;_Condition(_Verbose__verbose=False, _Condition__lock=&lt;thread.lock at remote 0x1844b40&gt;, acquire=&lt;built-in method acquire of thread.lock object at remote 0x1844b40&gt;, _Condition__waiters=[], release=&lt;built-in method release of thread.lock object at remote 0x1844b40&gt;) at remote 0x32d3d10&gt;, _Thread__name=&apos;Thread-1&apos;, _Thread__daemonic=True, _Thread__started=&lt;_Event(_Verbose__verbose=False, _Event__flag=True, _Event__con...(truncated), kw=&lt;value optimized out&gt;) at Python/ceval.c:3633
#16 0x00007fdf7cdd51bb in ?? ()
#17 0x0000000001f38190 in ?? ()
#18 0x0000000000000000 in ?? ()

The code where the failure occured:

332     {
333             if (i &lt; 0 || i &gt;= Py_SIZE(a)) {
334                     PyErr_SetString(PyExc_IndexError, &quot;tuple index out of range&quot;);
335                     return NULL;
336             }
337             Py_INCREF(a-&gt;ob_item[i]);
338             return a-&gt;ob_item[i];
339     }


a = 0x3689890, a-&gt;ob_item = 0x0, i = 0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15410</commentid>
    <comment_count>3</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2011-08-11 14:27:56 +0000</bug_when>
    <thetext>Reassigning to Joshua, he indicated on IRC he would investigate the hob refresh issue.  If this persists after that has been resolved, please reassign to me.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15519</commentid>
    <comment_count>4</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-08-17 08:54:15 +0000</bug_when>
    <thetext>This is confusing to me because the only code we * explicitly* call from hob which affects the environment is the reparse command, however this is run at least once before the first build and doesn&apos;t have an adverse effect. I wonder if there&apos;s some tear down done on build completion that unsets parts of the environment?

The sequence of commands for a typical build will consist of 
i) buildTargetsTree
ii) resetCooker &amp; reparseFiles (triggered at least once before the build when the custom recipe of the image contents is written to ensure it&apos;s included, may have been triggered more times by editing preferences etc)
iii) buildTargets

Commands are executed by the run_next_command() method of bb/ui/crumbs/hobeventhandler.py usually triggered by an explicit user action or a CommandCompleted event from the Cooker.

Once the build has completed no new command is run before the build again, which should treigger a reset &amp; reparse before the next build - it&apos;s at this point that we see complaints from pseudo about the unset environment.

Debugging of this issue can be sped up with a full sstate cache and by turning do_rootfs into a noop for your test target, i.e:

diff --git a/meta/recipes-core/images/core-image-minimal.bb b/meta/recipes-core/images/core-image-minimal.bb
index 743e121..c339483 100644
--- a/meta/recipes-core/images/core-image-minimal.bb
+++ b/meta/recipes-core/images/core-image-minimal.bb
@@ -13,3 +13,7 @@ IMAGE_ROOTFS_SIZE = &quot;8192&quot;
 
 # remove not needed ipkg informations
 ROOTFS_POSTPROCESS_COMMAND += &quot;remove_packaging_data_files ; &quot;
+
+do_rootfs () {
+	exit 0
+}

Further a patch similar to the following will ensure that any errors are visible:
diff --git a/lib/bb/ui/hob.py b/lib/bb/ui/hob.py
index b0a98cb..999203f 100644
--- a/lib/bb/ui/hob.py
+++ b/lib/bb/ui/hob.py
@@ -134,6 +134,9 @@ class MainWindow (gtk.Window):
         self.set_busy_cursor(False)
         gtk.main_quit()
 
+    def command_failed_cb(self, handler, errormsg):
+        print(errormsg)
+
     def scroll_tv_cb(self, model, path, it, view):
         view.scroll_to_cell(path)
  
@@ -1003,6 +1007,7 @@ def main (server, eventHandler):
     configurator.connect(&quot;layers-changed&quot;, handler.reload_data)
     handler.connect(&quot;config-found&quot;, configurator.configFound)
     handler.connect(&quot;fatal-error&quot;, window.fatal_error_cb)
+    handler.connect(&quot;command-failed&quot;, window.command_failed_cb)
 
     try:
         # kick the while thing off</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15821</commentid>
    <comment_count>5</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-08-26 11:13:05 +0000</bug_when>
    <thetext>Further debugging hints gleaned through discussing the bug with various folk.

RP suggested the following may provide more insight:
* Dumping the environment (os.environ) before each build
* Blowing away the pseudo data dirs between builds
* Killing the pseudo process between builds (PID can be found in the pseudo.pid file)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15879</commentid>
    <comment_count>6</comment_count>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-08-30 11:53:46 +0000</bug_when>
    <thetext>Paul asked about how to get more debugging output from hob. attachment 201 from bug 1285 includes some hints on how to print more debugging output.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15880</commentid>
    <comment_count>7</comment_count>
      <attachid>217</attachid>
    <who name="Joshua Lock - Disabled">josh</who>
    <bug_when>2011-08-30 11:55:04 +0000</bug_when>
    <thetext>Created attachment 217
Patch to aid debugging in hob

Based on attachment 201 from bug 1285 an untested patch against BitBake master to add more debugging output.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>15909</commentid>
    <comment_count>8</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-08-31 08:06:35 +0000</bug_when>
    <thetext>So far I have been able to at least determine that pseudo isn&apos;t the cause of the crash - with pseudo hacked out of the bitbake script and the sanity.bbclass check commented out it still crashes. This would appear to suggest that we&apos;re somehow crashing the python interpreter, which is certainly unusual.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16019</commentid>
    <comment_count>9</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-09-05 05:40:04 +0000</bug_when>
    <thetext>Found the issue - we weren&apos;t clearing out some internal lists between builds. I have posted a couple of patches to the bitbake-devel list for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>16026</commentid>
    <comment_count>10</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2011-09-05 14:44:21 +0000</bug_when>
    <thetext>Fixed in Poky commit a9325ecad889556b0043244509ed767eea363e1e.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>217</attachid>
            <date>2011-08-30 11:55:04 +0000</date>
            <delta_ts>2011-08-30 11:55:04 +0000</delta_ts>
            <desc>Patch to aid debugging in hob</desc>
            <filename>debugging.patch</filename>
            <type>text/plain</type>
            <size>1955</size>
            <attacher name="Joshua Lock - Disabled">josh</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL2xpYi9iYi91aS9jcnVtYnMvaG9iZXZlbnRoYW5kbGVyLnB5IGIvbGliL2Ji
L3VpL2NydW1icy9ob2JldmVudGhhbmRsZXIucHkKaW5kZXggZmNhNDQwMS4uNGJiZDc2ZCAxMDA2
NDQKLS0tIGEvbGliL2JiL3VpL2NydW1icy9ob2JldmVudGhhbmRsZXIucHkKKysrIGIvbGliL2Ji
L3VpL2NydW1icy9ob2JldmVudGhhbmRsZXIucHkKQEAgLTI1LDYgKzI1LDggQEAgaW1wb3J0IGRh
dGV0aW1lCiAKIHByb2dyZXNzX3RvdGFsID0gMAogCitsb2dnZXIgPSBsb2dnaW5nLmdldExvZ2dl
cigiQml0QmFrZSIpCisKIGNsYXNzIEhvYkhhbmRsZXIoZ29iamVjdC5HT2JqZWN0KToKIAogICAg
ICIiIgpAQCAtMTM1LDYgKzEzNyw5IEBAIGNsYXNzIEhvYkhhbmRsZXIoZ29iamVjdC5HT2JqZWN0
KToKICAgICAgICAgaWYgbm90IGV2ZW50OgogCSAgICByZXR1cm4KIAorICAgICAgICBpZiBpc2lu
c3RhbmNlKGV2ZW50LCBsb2dnaW5nLkxvZ1JlY29yZCk6CisgICAgICAgICAgICBwcmludChldmVu
dC5nZXRNZXNzYWdlKCkpCisKICAgICAgICAgIyBJZiB3ZSdyZSBydW5uaW5nIGEgYnVpbGQsIHVz
ZSB0aGUgUnVubmluZ0J1aWxkIGV2ZW50IGhhbmRsZXIKICAgICAgICAgaWYgc2VsZi5idWlsZGlu
ZzoKICAgICAgICAgICAgIHNlbGYuY3VycmVudF9waGFzZSA9ICJidWlsZGluZyIKQEAgLTIwNiw2
ICsyMTEsNyBAQCBjbGFzcyBIb2JIYW5kbGVyKGdvYmplY3QuR09iamVjdCk6CiAgICAgICAgICAg
ICBmb3JtYXQgPSBiYi5tc2cuQkJMb2dGb3JtYXR0ZXIoIiUobGV2ZWxuYW1lKXM6ICUobWVzc2Fn
ZSlzIikKICAgICAgICAgICAgIGlmIGV2ZW50LmxldmVsbm8gPj0gZm9ybWF0LkNSSVRJQ0FMOgog
ICAgICAgICAgICAgICAgIHNlbGYuZW1pdCgiZmF0YWwtZXJyb3IiLCBldmVudC5nZXRNZXNzYWdl
KCksIHNlbGYuY3VycmVudF9waGFzZSkKKyAgICAgICAgICAgIGxvZ2dlci5oYW5kbGUoZXZlbnQp
CiAgICAgICAgIHJldHVybgogCiAgICAgZGVmIGV2ZW50X2hhbmRsZV9pZGxlX2Z1bmMgKHNlbGYs
IGV2ZW50SGFuZGxlciwgcnVubmluZ19idWlsZCwgcGJhcik6CmRpZmYgLS1naXQgYS9saWIvYmIv
dWkvY3J1bWJzL3J1bm5pbmdidWlsZC5weSBiL2xpYi9iYi91aS9jcnVtYnMvcnVubmluZ2J1aWxk
LnB5CmluZGV4IDk3ZDFlYmQuLjU5MjhiNzUgMTAwNjQ0Ci0tLSBhL2xpYi9iYi91aS9jcnVtYnMv
cnVubmluZ2J1aWxkLnB5CisrKyBiL2xpYi9iYi91aS9jcnVtYnMvcnVubmluZ2J1aWxkLnB5CkBA
IC0yNiw2ICsyNiw4IEBAIGltcG9ydCB0aW1lCiBpbXBvcnQgdXJsbGliCiBpbXBvcnQgdXJsbGli
MgogCitsb2dnZXIgPSBsb2dnaW5nLmdldExvZ2dlcigiQml0QmFrZSIpCisKIGNsYXNzIENvbG9y
cyhvYmplY3QpOgogICAgIE9LID0gIiNmZmZmZmYiCiAgICAgUlVOTklORyA9ICIjYWFmZmFhIgpA
QCAtOTEsMTAgKzkzLDEzIEBAIGNsYXNzIFJ1bm5pbmdCdWlsZCAoZ29iamVjdC5HT2JqZWN0KToK
ICAgICAgICAgICAgIHBhcmVudCA9IHNlbGYudGFza3NfdG9faXRlclsocGFja2FnZSwgdGFzayld
CiAKICAgICAgICAgaWYoaXNpbnN0YW5jZShldmVudCwgbG9nZ2luZy5Mb2dSZWNvcmQpKToKKyAg
ICAgICAgICAgIHByaW50KGV2ZW50LmdldE1lc3NhZ2UoKSkKICAgICAgICAgICAgIGlmIChldmVu
dC5sZXZlbG5vIDwgbG9nZ2luZy5JTkZPIG9yCiAgICAgICAgICAgICAgICAgZXZlbnQubXNnLnN0
YXJ0c3dpdGgoIlJ1bm5pbmcgdGFzayIpKToKICAgICAgICAgICAgICAgICByZXR1cm4gIyBkb24n
dCBhZGQgdGhlc2UgdG8gdGhlIGxpc3QKIAorICAgICAgICAgICAgbG9nZ2luZy5oYW5kbGUoZXZl
bnQpCisKICAgICAgICAgICAgIGlmIGV2ZW50LmxldmVsbm8gPj0gbG9nZ2luZy5FUlJPUjoKICAg
ICAgICAgICAgICAgICBpY29uID0gImRpYWxvZy1lcnJvciIKICAgICAgICAgICAgICAgICBjb2xv
ciA9IENvbG9ycy5FUlJPUgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>