Bug 435

Summary: [RPM] Segfault when rpm/zypper remove packages
Product: [Build System, Metadata & Runtime] Meta-yocto Reporter: Jiajun Xu <jiajun.xu>
Component: meta-yoctoAssignee: Mark Hatle <mark.hatle>
Status: VERIFIED FIXED QA Contact:
Severity: major    
Priority: High CC: jessica.zhang, kevin.tian, kunwei.tian, mark.hatle, poky.bs.watcher, poky.watcher, qing.he, richard.purdie, sgw, xianchao.zhang
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

Description Jiajun Xu 2010-10-12 08:43:27 UTC
Testing Env:    
Host: Ubuntu 10.04 LTS
Kernel: 2.6.32-21-generic-pae
Poky gitinfo(used to build qemu-native): 5783e717ee9f503d8e03992306a6b9ddfda6f73e
All images file from http://autobuilder.pokylinux.org/nightly/20101011/.


rpm command can be used to install packages in image. But the remove function can not work. It reports segfault when removing packages with rpm command. The same error also happens with zypper command when removing packages.

Reproduce Steps:
1. Download latest images from autobuilder
2. Boot up the image
3. Build a RPM package on local machine, for example, curl
4. Copy curl package into image and install it with "rpm -ivh"
5. Remove the package with command "rpm -e"
Comment 1 Mark Hatle 2010-10-14 14:35:42 UTC
See bug 404 -- this is likely related.

I'd suggest retrying this switching from eglibc to glibc and see if the issue goes away.
Comment 3 Jiajun Xu 2010-10-20 19:32:14 UTC
Verified with 20101018 build, the bug is fixed.