New versions of glibc don'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 "The TECO binary is called te."
einfo "Sample configurations and documentation is available in /usr/
share/doc/"
}
to
pkg_postinst() {
einfo "The TECO binary is called te."
einfo "Sample configurations and documentation is available in /usr/
share/doc/"
einfo "If you are experiencing problems related to segafaults crashes,
you should use this alias to run teco:"
einfo "alias te='MALLOC_CHECK_=0 te'"
}
Reproducible: Always
Steps to Reproduce:
1. emerge teco
2. zcat /usr/share/doc/teco-<version>/sample.tecorc.gz > ~/.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