From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Eli Zaretskii" Newsgroups: gmane.emacs.bugs Subject: Re: Crash in tparam.c on OpenBSD Date: Fri, 02 Jan 2004 11:25:27 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: <7494-Fri02Jan2004112527+0200-eliz@elta.co.il> References: <20040101225431.GA8055@zoidberg.homeip.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1073035985 14309 80.91.224.253 (2 Jan 2004 09:33:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Jan 2004 09:33:05 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 02 10:33:02 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AcLfx-0000Lh-00 for ; Fri, 02 Jan 2004 10:33:02 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AcMd2-0006ue-8M for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Jan 2004 05:34:04 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AcMca-0006Y6-S7 for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2004 05:33:36 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AcMby-0006Fv-OR for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2004 05:33:31 -0500 Original-Received: from [192.114.186.18] (helo=bilbo.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AcMYb-0004zI-Hu for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2004 05:29:29 -0500 Original-Received: from zaretski ([80.230.152.174]) by bilbo.inter.net.il (Mirapoint Messaging Server MOS 3.3.8-GR) with ESMTP id CDW22525; Fri, 2 Jan 2004 11:27:58 +0200 (IST) Original-To: Casper Gripenberg X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 In-reply-to: <20040101225431.GA8055@zoidberg.homeip.net> (message from Casper Gripenberg on Fri, 2 Jan 2004 00:54:31 +0200) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6452 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6452 > Date: Fri, 2 Jan 2004 00:54:31 +0200 > From: Casper Gripenberg > > (gdb) up > #4 0x123709 in tparam (string=0x49b105 "\e[3%p1%dm", outstring=0x0, len=0, > arg0=6, arg1=2496000, arg2=1, arg3=8) at tparam.c:105 > (gdb) up > #5 0x4b3a9 in turn_on_face (f=0x261600, face_id=11) at term.c:2107 > (gdb) > > Which looks like this: > > if (fg >= 0 && TS_set_foreground) > { > > p = tparam (TS_set_foreground, NULL, 0, (int) fg); > OUTPUT (p); > xfree (p); > } > > Where TS_set_foreground is the "\e[3%p1%dm" string. > > I have no idea what all this means It means that your Emacs was compiled for termcap, but the TERM entry it gets fed is for terminfo, which is a newer method of specifying terminal capabilities. Emacs as compiled on your machine cannot handle terminfo entries, so it barfs. There should be an entry in the PROBLEMS file named "Emacs aborts inside the function `tparam1'" which tells you more, including suggested ways to solve this problem.