Date: Thu, 1 Nov 2001 08:57:28 -0800 From: Luigi Rizzo <luigi@freebsd.org> To: current@freebsd.org Subject: shell coredumps with missing termcap entries ? Message-ID: <20011101085728.I23297@iguana.aciri.org>
next in thread | raw e-mail | index | archive | help
Hi, I have been experiencing this problem for sometimes on CURRENT-based picobsd images: the shell coredumps if it does not find an entry for its terminal type in /etc/termcap. It does say something like 'cannot read termcap, using dumb terminal settings' before dying, but then it does not survive to the second failure. My impression is that this is a problem in the shell code or in the termcap library not checking for failure (in the form of a NULL pointer or something like that) when looking up "dumb" terminal type. If this is the case, it should be fairly easy to reproduce -- just remove the "dumb" entry from /etc/termcap, set TERM=dumb and try to run a shell. However i am totally unfamiliar with the code, and do not have a complete CURRENT system where i can run the shell under a debugger (or analyse the coredump). If someone can take care of this... cheers luigi ----------------------------------+----------------------------------------- Luigi RIZZO, luigi@iet.unipi.it . ACIRI/ICSI (on leave from Univ. di Pisa) http://www.iet.unipi.it/~luigi/ . 1947 Center St, Berkeley CA 94704 Phone: (510) 666 2927 ----------------------------------+----------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011101085728.I23297>