Bug 443

Summary: zypper encounter segfault when startup with qemuppc
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: xianchao zhang <xianchao.zhang>
Component: meta-yoctoAssignee: Qing He <qing.he>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: High CC: dexuan.cui, jessica.zhang, jiajun.xu, ke.yu, kevin.tian, liang.li2, poky.bs.watcher, poky.watcher, richard.purdie, sgw, xianchao.zhang
Version: 1.0   
Target Milestone: 1.0 M4   
Hardware: x86   
OS: ppc   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description xianchao zhang 2010-10-12 21:38:35 UTC
Testing Env:    
Host: Ubuntu 10.04 LTS
Kernel: 2.6.32-21-generic-pae
Image location: http://autobuilder.pokylinux.org/milestone/20101011-1

1. download the images from the build server.
2. boot up qemuppc with the sato/sdk image,
3. run command 'zypper':

root@qemuppc:~# zypper 
Segmentation fault
Comment 2 xianchao zhang 2010-10-19 21:58:25 UTC
The commit seems not merged into the milestone build: 10/18
Comment 3 Qing He 2010-10-19 23:49:08 UTC
(In reply to comment #2)
> The commit seems not merged into the milestone build: 10/18

I don't observe the segfault with 20101018 image
http://autobuilder.pokylinux.org/milestone/20101018/qemu/qemuppc
Comment 4 Jiajun Xu 2010-10-20 19:48:08 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > The commit seems not merged into the milestone build: 10/18
> I don't observe the segfault with 20101018 image
> http://autobuilder.pokylinux.org/milestone/20101018/qemu/qemuppc

I tried the same build, did not meet such error.
Comment 5 Jiajun Xu 2010-10-21 01:39:13 UTC
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #2)
> > > The commit seems not merged into the milestone build: 10/18
> > I don't observe the segfault with 20101018 image
> > http://autobuilder.pokylinux.org/milestone/20101018/qemu/qemuppc
> I tried the same build, did not meet such error.

Sorry, I made a typo here. I also met the segfault error with 20101018 image. The image I tested are sato and sdk images. Reopen the bug.
Comment 6 Qing He 2010-10-21 01:41:40 UTC
The image I looked into is poky-image-minimal, of 20101018, there is no such error.

I'll look into -sdk and -sato
Comment 7 Richard Purdie 2010-10-21 04:22:56 UTC
This suggests that something in the longer installed package list is causing the problem.
Comment 8 xianchao zhang 2010-11-16 21:57:41 UTC
With the nightly build 11/13, only the sdk image still has segfault issue, the sato image is OK now.
Comment 9 Ke Yu 2010-12-08 22:36:59 UTC
wait for zypper and rpm usability enhancement complete
Comment 10 liang li 2011-01-04 21:11:40 UTC
segfault error not met useing sato image of the dir below:
http://autobuilder.pokylinux.org/milestone/20110101-1/qemu/qemuppc/
Comment 11 liang li 2011-01-17 22:30:27 UTC
segfault error met again using sato image of the nightly build 20110114-1:
http://autobuilder.pokylinux.org/nightly/20110114-1/qemu/qemuppc/poky-image-sato-qemuppc-20110115200942.rootfs.ext3 
not met using sdk image of this nightly build.
Comment 12 Qing He 2011-02-15 00:49:15 UTC
move to M4 due to the image instabilities before end of M3

this bug seems a little random and may not be steadily reproduceable, will have a look at my side.
Comment 13 Qing He 2011-03-07 19:33:38 UTC
Don't know whether Bug 722 resolves this, will have a look
Comment 14 Dexuan Cui 2011-03-08 00:55:27 UTC
(In reply to comment #13)
> Don't know whether Bug 722 resolves this, will have a look

I don't meet with the issue using the images:

ftp://linux-ftp.jf.intel.com/pub/mirrors/yocto/nightly/20110305-4/machines/qemu/qemuppc/poky-image-sato-qemuppc-20110305205532.rootfs.ext3
(The git info is at ftp://linux-ftp.jf.intel.com/pub/mirrors/yocto/nightly/20110305-4/gitinfo)

I don't meet with the issue, either, by using 
http://autobuilder.yoctoproject.org/nightly/CURRENT/machines/qemu/qemuppc/poky-image-lsb-sdk-qemuppc-20110305233907.rootfs.ext3
(git info: http://autobuilder.yoctoproject.org/nightly/CURRENT/gitinfo -- actually it is the same commit as the above one c192fefd868be53c20dfd8bc44e3e815cf53a10a)
Comment 15 Saul Wold 2011-03-08 13:21:03 UTC
Fixed as part of 721 and 721 regex fix
Comment 16 liang li 2011-03-16 00:30:46 UTC
verified using sato sato-sdk images of nightly build 20110313-2:
http://autobuilder.pokylinux.org/nightly/20110313-2/machines/qemu/qemuppc/