<?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>8568</bug_id>
          
          <creation_ts>2015-10-26 07:26:53 +0000</creation_ts>
          <short_desc>[p1022ds] Two strange core dump files in rootfs</short_desc>
          <delta_ts>2015-12-08 02:29:24 +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>BSPs</product>
          <component>bsps-meta-fsl-ppc</component>
          <version>2.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>ppc</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Yi Zhao">yi.zhao</reporter>
          <assigned_to name="Zhenhua Luo">zhenhua.luo</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>b19537</cc>
    
    <cc>b40290</cc>
    
    <cc>ke.zou</cc>
    
    <cc>ross.burton</cc>
    
    <cc>sgw</cc>
    
    <cc>yi.zhao</cc>
    
    <cc>zhangle.yang</cc>
          
          <qa_contact name="Yi Zhao">yi.zhao</qa_contact>
          <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>55712</commentid>
    <comment_count>0</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2015-10-26 07:26:53 +0000</bug_when>
    <thetext>Image location: http://autobuilder.yoctoproject.org/pub/releases/yocto-2.0.rc2/machines/p1022ds/

Git rev:
poky: jethro/505a82673ac2487df5ea343a6422c2fc47018831
meta-fsl-ppc: jethro/84263d57fcada761a350015ce4d77fb91af54bf8

Download core-image-sato-sdk.tar.gz from above link and extract it. There are 2 strange core dump files in rootfs:
#####################
$ tar xzf core-image-sato-sdk-p1022ds-20151022011116.rootfs.tar.gz
$
$ ls *.core
qemu_gtk-query-immodules-2.0_20151022-030810_25726.core  qemu_pango-querymodules_20151022-030809_25561.core
$
####################</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55902</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-10-28 12:17:03 +0000</bug_when>
    <thetext>Oh dear.  qemu was segfaulting during the rootfs-time postinsts.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55957</commentid>
    <comment_count>2</comment_count>
    <who name="Chunrong Guo">b40290</who>
    <bug_when>2015-10-29 06:34:22 +0000</bug_when>
    <thetext>the issue do not be reproduced.

Build Configuration:
BB_VERSION        = &quot;1.28.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-12.04&quot;
TARGET_SYS        = &quot;powerpc-poky-linux-gnuspe&quot;
MACHINE           = &quot;p1022ds&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;2.0&quot;
TUNE_FEATURES     = &quot;m32 spe ppce500v2&quot;
TARGET_FPU        = &quot;ppc-efd&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;jethro:8a0d8eee432924433c3e70198aaeab3161476c5f&quot;
meta-fsl-ppc      = &quot;jethro:84263d57fcada761a350015ce4d77fb91af54bf8


tar zxvf core-image-sato-sdk-p1022ds.tar.gz 
ls 

bin  boot  core-image-sato-sdk-p1022ds.tar.gz  dev  etc  home  lib  media  mnt  opt  proc  run  sbin  sys  tmp  usr  var


theare are no  core dump file in rootfs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56002</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-10-29 14:41:20 +0000</bug_when>
    <thetext>Is this reproducible at all?  If so can you</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56129</commentid>
    <comment_count>4</comment_count>
    <who name="Zhenhua Luo">b19537</who>
    <bug_when>2015-11-03 10:29:09 +0000</bug_when>
    <thetext>I did a build with the following configuration, the issue can&apos;t be reproduced. 
Build Configuration:
BB_VERSION        = &quot;1.28.0&quot;
BUILD_SYS         = &quot;x86_64-linux&quot;
NATIVELSBSTRING   = &quot;Ubuntu-12.04&quot;
TARGET_SYS        = &quot;powerpc-poky-linux-gnuspe&quot;
MACHINE           = &quot;p1022ds&quot;
DISTRO            = &quot;poky&quot;
DISTRO_VERSION    = &quot;2.0&quot;
TUNE_FEATURES     = &quot;m32 spe ppce500v2&quot;
TARGET_FPU        = &quot;ppc-efd&quot;
meta              
meta-yocto        
meta-yocto-bsp    = &quot;jethro:e1aa897beb33171bc902207b98c8f666b9e97ad3&quot;
meta-fsl-ppc      = &quot;jethro:84263d57fcada761a350015ce4d77fb91af54bf8&quot;

I checked the build logs in Yocto autobuilder, cache build is done, what I did is non-cache build, this is the only difference that I can observe. 

So the issue might be caused by old caches.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56256</commentid>
    <comment_count>5</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2015-11-06 04:52:45 +0000</bug_when>
    <thetext>This two files still exists in 2.0 rc3 rootfs:
http://autobuilder.yoctoproject.org/pub/releases/yocto-2.0.rc3/machines/p1022ds/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56332</commentid>
    <comment_count>6</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2015-11-09 19:17:30 +0000</bug_when>
    <thetext>It appears the info has been supplied.  Please place back into NEEDINFO if you have another question.

Thanks,</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56721</commentid>
    <comment_count>7</comment_count>
    <who name="Zhenhua Luo">b19537</who>
    <bug_when>2015-11-24 02:39:44 +0000</bug_when>
    <thetext>Can you have a try to build the rootfs image to check if the issue can be reproduced? We can&apos;t reproduce the problem, to do further investigation, please share the steps which can be used by us to reproduce the issue. Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56726</commentid>
    <comment_count>8</comment_count>
    <who name="Yi Zhao">yi.zhao</who>
    <bug_when>2015-11-24 09:29:13 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; Can you have a try to build the rootfs image to check if the issue can be
&gt; reproduced? We can&apos;t reproduce the problem, to do further investigation,
&gt; please share the steps which can be used by us to reproduce the issue.
&gt; Thanks.

I can&apos;t reproduce it in my local. The issue only happens on the yocto autobuilder: https://autobuilder.yoctoproject.org/main/builders/nightly-fsl-ppc</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57115</commentid>
    <comment_count>9</comment_count>
    <who name="Zhenhua Luo">b19537</who>
    <bug_when>2015-12-08 02:29:24 +0000</bug_when>
    <thetext>The issue is not reproducible.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>