<?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>825</bug_id>
          
          <creation_ts>2011-03-08 18:43:28 +0000</creation_ts>
          <short_desc>[zypper] zypper segfault in qemumips sato/sdk images</short_desc>
          <delta_ts>2011-03-15 22:25:39 +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>OE-Core</product>
          <component>core</component>
          <version>1.0</version>
          <rep_platform>Other</rep_platform>
          <op_sys>mips</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.0 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Liang Wang">liangliang.wang</reporter>
          <assigned_to name="Qing He">qing.he</assigned_to>
          <cc>jiajun.xu</cc>
    
    <cc>kunwei.tian</cc>
    
    <cc>liang.li2</cc>
    
    <cc>liangliang.wang</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>qing.he</cc>
    
    <cc>yi.zhao</cc>
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>---</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>12386</commentid>
    <comment_count>0</comment_count>
    <who name="Liang Wang">liangliang.wang</who>
    <bug_when>2011-03-08 18:43:28 +0000</bug_when>
    <thetext>Testing Environment
===============================
Host: qemumips sato/sdk
Kernel: Linux version 2.6.37.2-yocto-standard+
Image location: http://autobuilder.yoctoproject.org/nightly/20110305-4/machines/qemu/qemumips/
commit c192fefd868be53c20dfd8bc44e3e815cf53a10a

Steps
===============================
1. Bootup target with sato/sdk image.
2. Type &apos;zypper search avahi&apos; on target

Observed Result
===============================
1. The first time when typing &apos;zypper search avahi&apos;, it has the &apos;Segmentation fault&apos; error.
When typing &apos;zypper search avahi&apos; again, it has the &apos;*** glibc detected *** zypper: corrupted double-linked list: 0x005d78b0 ***
Aborted&apos; error.

2. When typing &apos;zypper addrepo ...&apos;, it also has the &apos;*** glibc detected *** zypper: munmap_chunk(): invalid pointer: 0x005d6090 ***
Aborted&apos; error.

Please see below for more info.


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
root@qemumips:~# zypper search avahi
Loading repository data...
Reading installed packages...

S | Name              | Summary                                                
              | Type   
--+-------------------+-----------------------------------------------------------------------+--------
i | avahi             | Avahi IPv4LL network address configuration daemon      
              | package
i | avahi-daemon      | Avahi IPv4LL network address configuration daemon      
              | package
i | avahi-dev         | Avahi IPv4LL network address configuration daemon -
Development files | package
i | libavahi-client3  | Avahi IPv4LL network address configuration daemon      
              | package
i | libavahi-common3  | Avahi IPv4LL network address configuration daemon      
              | package
i | libavahi-core7    | Avahi IPv4LL network address configuration daemon      
              | package
i | libavahi-glib1    | Avahi IPv4LL network address configuration daemon      
              | package
i | libavahi-gobject0 | Avahi IPv4LL network address configuration daemon      
              | package
Segmentation fault
root@qemumips:~# zypper search avahi
Loading repository data...
Reading installed packages...

S | Name              | Summary                                                
              | Type   
--+-------------------+-----------------------------------------------------------------------+--------
i | avahi             | Avahi IPv4LL network address configuration daemon      
              | package
i | avahi-daemon      | Avahi IPv4LL network address configuration daemon      
              | package
i | avahi-dev         | Avahi IPv4LL network address configuration daemon -
Development files | package
i | libavahi-client3  | Avahi IPv4LL network address configuration daemon      
              | package
i | libavahi-common3  | Avahi IPv4LL network address configuration daemon      
              | package
i | libavahi-core7    | Avahi IPv4LL network address configuration daemon      
              | package
i | libavahi-glib1    | Avahi IPv4LL network address configuration daemon      
              | package
i | libavahi-gobject0 | Avahi IPv4LL network address configuration daemon      
              | package
*** glibc detected *** zypper: corrupted double-linked list: 0x005d78b0 ***
Aborted
root@qemumips:~#

root@qemumips:~# zypper addrepo http://192.168.7.1/rpmrepo rpmrepo
Adding repository &apos;rpmrepo&apos; [done]
Repository &apos;rpmrepo&apos; successfully added
Enabled: Yes
Autorefresh: No
URI: http://192.168.7.1/rpmrepo

*** glibc detected *** zypper: munmap_chunk(): invalid pointer: 0x005d6090 ***
Aborted
root@qemumips:~#</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12410</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2011-03-09 13:07:17 +0000</bug_when>
    <thetext>Please verify this against the current nightly, this problem is maybe related to the fixes that went in for 721 and 722.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12468</commentid>
    <comment_count>2</comment_count>
    <who name="Jiajun Xu">jiajun.xu</who>
    <bug_when>2011-03-10 17:57:41 +0000</bug_when>
    <thetext>(In reply to comment #1)
&gt; Please verify this against the current nightly, this problem is maybe related
&gt; to the fixes that went in for 721 and 722.

I think the bug should not be related to bug 721 and 722, becasue what Liang is using is the 20110305 image, which includes Qing&apos;s fixing.

Liang,
You can give more comments if I understand correct or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12470</commentid>
    <comment_count>3</comment_count>
    <who name="Liang Wang">liangliang.wang</who>
    <bug_when>2011-03-10 18:11:42 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; (In reply to comment #1)
&gt; &gt; Please verify this against the current nightly, this problem is maybe related
&gt; &gt; to the fixes that went in for 721 and 722.
&gt; 
&gt; I think the bug should not be related to bug 721 and 722, becasue what Liang is
&gt; using is the 20110305 image, which includes Qing&apos;s fixing.
&gt; 
&gt; Liang,
&gt; You can give more comments if I understand correct or not.

Yes, i have the same meaning with Jiajun. This probelm was found on 20110305 build, i am waiting for the nightly build to retry it, but this days nightly build does not have qemumips sato/sdk image build out.

From Bug 721 Comment 11 from Qing, &apos;btw, zypper as current state does not support mips in its architecture table&apos;, maybe the fix for 721 and 722 does not apply for mips arch.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12471</commentid>
    <comment_count>4</comment_count>
    <who name="Qing He">qing.he</who>
    <bug_when>2011-03-10 18:35:10 +0000</bug_when>
    <thetext>(In reply to comment #3)
&gt; From Bug 721 Comment 11 from Qing, &apos;btw, zypper as current state does not
&gt; support mips in its architecture table&apos;, maybe the fix for 721 and 722 does not
&gt; apply for mips arch.

Non-support for mips causes bug 845 actually, not sure for this bug.
However, it shouldn&apos;t crash at least. The crash root cause for x86_64 is now clearly identification, this seems a separate issue that may or may not be related to zypper&apos;s lacking of mips support</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12598</commentid>
    <comment_count>5</comment_count>
    <who name="Liang Wang">liangliang.wang</who>
    <bug_when>2011-03-14 22:26:02 +0000</bug_when>
    <thetext>There is not have segfault when do &apos;zypper search xxx&apos; on qemumips on current nightly build(20110313-2).

Image location:
http://autobuilder.yoctoproject.org/nightly/20110313-2/machines/qemu/qemumips/

commit a33a2cc024f9c9147c92c5da70d8fbb631b968f9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12599</commentid>
    <comment_count>6</comment_count>
    <who name="Liang Wang">liangliang.wang</who>
    <bug_when>2011-03-14 22:27:14 +0000</bug_when>
    <thetext>This issue is resolved on current nightly build (20110313-2).

Image location:
http://autobuilder.yoctoproject.org/nightly/20110313-2/machines/qemu/qemumips/

commit a33a2cc024f9c9147c92c5da70d8fbb631b968f9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>12674</commentid>
    <comment_count>7</comment_count>
    <who name="Liang Wang">liangliang.wang</who>
    <bug_when>2011-03-15 22:25:39 +0000</bug_when>
    <thetext>Verify this bug on nightly build (20110313-2), and it is not occur.

Image location:
http://autobuilder.yoctoproject.org/nightly/20110313-2/machines/qemu/qemumips/

commit a33a2cc024f9c9147c92c5da70d8fbb631b968f9</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>