<?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>103257</bug_id>
          
          <creation_ts>2005-08-21 09:39 0000</creation_ts>
          <short_desc>app-editors/teco segfaults for double free() call</short_desc>
          <delta_ts>2005-08-21 10:41:55 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>Ebuilds</component>
          <version>2005.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>santini.alberto@gmail.com</reporter>
          <assigned_to>taviso@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>santini.alberto@gmail.com</who>
            <bug_when>2005-08-21 09:39:01 0000</bug_when>
            <thetext>New versions of glibc don&apos;t allow double free() on the same pointer. If so, the 
program will segfault. The default .tecorc provided with the TECO ebuild causes 
this bug. We should modify the ebuild from:

pkg_postinst() {
        einfo &quot;The TECO binary is called te.&quot;
        einfo &quot;Sample configurations and documentation is available in /usr/
share/doc/&quot;
}

to

pkg_postinst() {
        einfo &quot;The TECO binary is called te.&quot;
        einfo &quot;Sample configurations and documentation is available in /usr/
share/doc/&quot;
        einfo &quot;If you are experiencing problems related to segafaults crashes, 
you should use this alias to run teco:&quot;
        einfo &quot;alias te=&apos;MALLOC_CHECK_=0 te&apos;&quot;
}

Reproducible: Always
Steps to Reproduce:
1. emerge teco
2. zcat /usr/share/doc/teco-&lt;version&gt;/sample.tecorc.gz &gt; ~/.tecorc
3. te

Actual Results:  
The program Segfaults immediately

Expected Results:  
It should have shown an asterisk at the bottom of the screen

My glibc version: 2.3.5-r1
My gcc version: 3.4.4
My TECO version: 1.00-r2</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>taviso@gentoo.org</who>
            <bug_when>2005-08-21 10:41:55 0000</bug_when>
            <thetext>I see it, I think it should be fixed in cvs with -r3.

good to know I&apos;m not the only teco user out there :)

=&gt; FIXED.</thetext>
          </long_desc>
      
    </bug>

</bugzilla>