/usr/bin/clear dumps core. teton:~>5 which clear /usr/bin/clear teton:~>6 /usr/bin/clear Segmentation fault (core dumped) teton:~>7 file core core: ELF 32-bit LSB core file of 'clear' (signal 11), Intel 80386, version 1 teton:~>8 rpm -qf /usr/bin/clear ncurses-5.0-11 Kernel 2.2.14 Chip i686
Can't reproduce it. Did you modify any libraries or are you using some odd terminal setting?
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 easy... $ 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)