Red Hat Bugzilla – Bug 14284
/usr/bin/clear dumps core
Last modified: 2008-05-01 11:37:56 EDT
/usr/bin/clear dumps core.
teton:~>5 which clear
Segmentation fault (core dumped)
teton:~>7 file core
core: ELF 32-bit LSB core file of 'clear' (signal 11), Intel 80386, version
teton:~>8 rpm -qf /usr/bin/clear
Can't reproduce it. Did you modify any libraries or are you using some odd
Not using any strange terminal setting. This occurs even in the text screen
and in single user mode. Didn't modify any libraries, except for rpm updates
from RedHat and Gnome.
This one most certainly is a bug, it core-dumps for me too.
Using ncurses-5.0-12. The system is upgraded from previous RedHat
version, just can't remember which one (5.2 - 6.1). The same occurs
with (as an example) with 'tput kbs', which is called from bashrc.
Most annoying... Maybe someone could provide a ncurses package with
debugging information included, that would make resolving this one
$ ldd /usr/bin/clear
libncurses.so.4 => /usr/lib/libncurses.so.4 (0x4001a000)
libc.so.6 => /lib/libc.so.6 (0x40058000)
/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)