Bug 4962 - random: segmentation fault
Summary: random: segmentation fault
Status: VERIFIED DUPLICATE of bug 4910
Alias: None
Product: BSPs
Classification: Build System, Metadata & Runtime
Component: bsps-meta-fsl-ppc (show other bugs)
Version: 1.5
Hardware: Other ppc
: Medium+ normal
Target Milestone: 1.5 M4
Assignee: Zhenhua Luo
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2013-07-31 03:17 UTC by Chunrong Guo
Modified: 2013-10-25 13:29 UTC (History)
6 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Chunrong Guo 2013-07-31 03:17:16 UTC

    
Comment 1 Chunrong Guo 2013-07-31 03:20:27 UTC
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 -> /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 -> /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:~#
Comment 2 Chunrong Guo 2013-07-31 03:22:22 UTC
This issue happens on nfs and sata disk.
Comment 3 Saul Wold 2013-08-05 03:45:58 UTC
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
Comment 4 Chunrong Guo 2013-08-06 03:28:35 UTC
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
Comment 5 Ke Zou 2013-08-06 08:15:31 UTC
build 20130731-1
poky rev:
master:9de0ad47462c13ac4a2d73e12e92be6c1b4e0415

this dd command works well under qemu-sdk/routerstation/mpc8315e/beagleboard
No segment fault.
Comment 6 Zhenhua Luo 2013-08-13 02:33:48 UTC
This is duplicated to 4910

*** This bug has been marked as a duplicate of bug 4910 ***
Comment 7 Stoicescu Cornel 2013-10-25 13:29:07 UTC
This is a duplicate. Setting to VERIFIED.