<?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>435</bug_id>
          
          <creation_ts>2010-10-12 08:43:27 +0000</creation_ts>
          <short_desc>[RPM] Segfault when rpm/zypper remove packages</short_desc>
          <delta_ts>2010-12-21 06:07:15 +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>Meta-yocto</product>
          <component>meta-yocto</component>
          <version>0.9</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>High</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>0.9 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Jiajun Xu">jiajun.xu</reporter>
          <assigned_to name="Mark Hatle">mark.hatle</assigned_to>
          <cc>jessica.zhang</cc>
    
    <cc>kevin.tian</cc>
    
    <cc>kunwei.tian</cc>
    
    <cc>mark.hatle</cc>
    
    <cc>poky.bs.watcher</cc>
    
    <cc>poky.watcher</cc>
    
    <cc>qing.he</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>sgw</cc>
    
    <cc>xianchao.zhang</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          <cf_verified>Program Management</cf_verified>
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>10381</commentid>
    <comment_count>0</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-10-12 08:43:27 +0000</bug_when>
    <thetext>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 &quot;rpm -ivh&quot;
5. Remove the package with command &quot;rpm -e&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10526</commentid>
    <comment_count>1</comment_count>
    <who name="Mark Hatle">mark.hatle</who>
    <bug_when>2010-10-14 14:35:42 +0000</bug_when>
    <thetext>See bug 404 -- this is likely related.

I&apos;d suggest retrying this switching from eglibc to glibc and see if the issue goes away.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10644</commentid>
    <comment_count>2</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2010-10-18 14:42:13 +0000</bug_when>
    <thetext>http://git.pokylinux.org/cgit/cgit.cgi/poky/commit/?id=ef670167cdf9e31588932a27b22974c908a54dd7</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>10713</commentid>
    <comment_count>3</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2010-10-20 19:32:14 +0000</bug_when>
    <thetext>Verified with 20101018 build, the bug is fixed.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>