<?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>4962</bug_id>
          
          <creation_ts>2013-07-31 03:17:16 +0000</creation_ts>
          <short_desc>random: segmentation fault</short_desc>
          <delta_ts>2013-10-25 13:29:07 +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>1.5</version>
          <rep_platform>Other</rep_platform>
          <op_sys>ppc</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>4910</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.5 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chunrong Guo">b40290</reporter>
          <assigned_to name="Zhenhua Luo">zhenhua.luo</assigned_to>
          <cc>corneliux.stoicescu</cc>
    
    <cc>ke.zou</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>sgw</cc>
    
    <cc>zhenhua.luo</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>35187</commentid>
    <comment_count>0</comment_count>
    <who name="Chunrong Guo">b40290</who>
    <bug_when>2013-07-31 03:17:16 +0000</bug_when>
    <thetext></thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35188</commentid>
    <comment_count>1</comment_count>
    <who name="Chunrong Guo">b40290</who>
    <bug_when>2013-07-31 03:20:27 +0000</bug_when>
    <thetext>In sato-sdk image, the dd command is from coreutils package:
#########
root@p1022ds:~# which dd
/bin/dd
root@p1022ds:~# 
root@p1022ds:~# ls -l /bin/dd*
-rwxr-xr-x 1 root root 88300 Jul 19 11:39 /bin/dd.coreutils
lrwxrwxrwx 1 root root    17 Jul 24 19:32 /bin/dd -&gt; /bin/dd.coreutils
root@p1022ds:~# 
##########

Run a test for dd, still segfault:
#########
root@p1022ds:~# dd if=/dev/zero of=testfile count=1
1+0 records in
1+0 records out
512 bytes (512 B) copiedSegmentation fault
##########

In sato image, the dd command is from busybox package:
##########
root@p1022ds:~# ls -l /bin/dd*
lrwxrwxrwx 1 root root    19 Jul 30 06:19 /bin/dd -&gt; /bin/busybox.nosuid
#########

This dd command works well:
###########
root@p1022ds:~# dd if=/dev/zero of=testfile count=1
1+0 records in
1+0 records out
root@p1022ds:~#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35189</commentid>
    <comment_count>2</comment_count>
    <who name="Chunrong Guo">b40290</who>
    <bug_when>2013-07-31 03:22:22 +0000</bug_when>
    <thetext>This issue happens on nfs and sata disk.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35345</commentid>
    <comment_count>3</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2013-08-05 03:45:58 +0000</bug_when>
    <thetext>Can you verify this on non ppc hardware and in qemuppc, I would like to know if 
it occurs elsewhere or limited to the p1022ds platform.

Also, please verify if thes was a problem with an eariler milestone build and 
let me know which GIT Hash you are building.  This could be 
a compiler issue, or maybe eglibc related.  If you can test with the older 2.17 
eglibc that might be helpful.

Thanks</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35396</commentid>
    <comment_count>4</comment_count>
    <who name="Chunrong Guo">b40290</who>
    <bug_when>2013-08-06 03:28:35 +0000</bug_when>
    <thetext>Git rev: 
poky: master/commit 4cff3defb545643132b7233fcffb3fedc1bf182b
meta-fsl-ppc: master/commit 399c1ab5e86cf6dbb7c0c48d5253ac8798d6bfe4

This dd command works well in qemuppc
###########
root@p1022ds:~# dd if=/dev/zero of=testfile count=1
1+0 records in
1+0 records out
root@p1022ds:~# 
##########

Run dd command in p1022ds hardware , still segfault:
#########
root@p1022ds:~# dd if=/dev/zero of=testfile count=1
1+0 records in
1+0 records out
512 bytes (512 B) copiedSegmentation fault.
##########

I test with the older 2.17 eglibc and there is still the issue in p1022ds</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35400</commentid>
    <comment_count>5</comment_count>
    <who name="Ke Zou">ke.zou</who>
    <bug_when>2013-08-06 08:15:31 +0000</bug_when>
    <thetext>build 20130731-1
poky rev:
master:9de0ad47462c13ac4a2d73e12e92be6c1b4e0415

this dd command works well under qemu-sdk/routerstation/mpc8315e/beagleboard
No segment fault.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35593</commentid>
    <comment_count>6</comment_count>
    <who name="Zhenhua Luo">zhenhua.luo</who>
    <bug_when>2013-08-13 02:33:48 +0000</bug_when>
    <thetext>This is duplicated to 4910

*** This bug has been marked as a duplicate of bug 4910 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38177</commentid>
    <comment_count>7</comment_count>
    <who name="Stoicescu Cornel">corneliux.stoicescu</who>
    <bug_when>2013-10-25 13:29:07 +0000</bug_when>
    <thetext>This is a duplicate. Setting to VERIFIED.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>