<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>13502</bug_id>
          
          <creation_ts>2003-01-08 10:35 0000</creation_ts>
          <short_desc>etc-update triggers segmentation fault with sdiff</short_desc>
          <delta_ts>2003-05-05 12:24:17 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Core system</component>
          <version>1.4_rc2</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>mguertin@macdiscussion.com</reporter>
          <assigned_to>nall@themountaingoats.net</assigned_to>
          <cc>vapier@gentoo.org</cc>

      

      
          <long_desc isprivate="0">
            <who>mguertin@macdiscussion.com</who>
            <bug_when>2003-01-08 10:35:02 0000</bug_when>
            <thetext>/usr/sbin/etc-update: line 18: 26072 Segmentation fault      `echo
&quot;${merge_command}&quot; |
                 sed -e &quot;s:%merged:${mfile}:g&quot;                   -e
&quot;s:%orig:${ofile}:g&quot;                         -e &quot;s:%new:${file}:g&quot;`

emerge, nano, sed all work fine here, not sure what triggered this one.

This was trying to do an interactive update.

Also some good documentation in the man page would be appreciated (like how to
adjust it to go into dialog mode, etc).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mguertin@macdiscussion.com</who>
            <bug_when>2003-01-08 11:54:48 0000</bug_when>
            <thetext>hmm possibly an issue with sdiff?  I don&apos;t have time to fight with it quite yet,
but will revisit this one when I have some time with more details</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mguertin@macdiscussion.com</who>
            <bug_when>2003-02-03 10:51:06 0000</bug_when>
            <thetext>Nall:

Can you try this out when you have a chance?   Run etc-update and try to interactively merge the diffs and it should trigger it.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nall@themountaingoats.net</who>
            <bug_when>2003-02-03 10:55:39 0000</bug_when>
            <thetext>yeah, i&apos;ll take it. what&apos;s your diff command set to in etc-update.conf or whereever? (so i can get the same behavior). 

does this happen every time?</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mguertin@macdiscussion.com</who>
            <bug_when>2003-02-03 11:05:35 0000</bug_when>
            <thetext>I am using the defaults, it should be set to sdiff of some sort, and it happens every time.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>nall@themountaingoats.net</who>
            <bug_when>2003-02-04 21:15:17 0000</bug_when>
            <thetext>diffutils-2.8.4-r3 (committed in CVS) fixes this bug in sdiff. </thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>vapier@gentoo.org</who>
            <bug_when>2003-02-22 03:42:26 0000</bug_when>
            <thetext>if you have &apos;-mabi=altivec -maltivec&apos; in CFLAGS, sdiff also segfaults ...
however, if you have just one or the other, sdiff works :)</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>mholzer@gentoo.org</who>
            <bug_when>2003-05-05 12:24:17 0000</bug_when>
            <thetext>fixed</thetext>
          </long_desc>
      
    </bug>

</bugzilla>