From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Thomas Dickey Newsgroups: gmane.emacs.bugs Subject: Re: Crash in tparam.c on OpenBSD Date: 2 Jan 2004 11:01:04 GMT Organization: RadixNet Internet Services Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <20040101225431.GA8055@zoidberg.homeip.net> NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1073056044 12002 80.91.224.253 (2 Jan 2004 15:07:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 2 Jan 2004 15:07:24 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jan 02 16:07:15 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 1AcQtO-0003G1-00 for ; Fri, 02 Jan 2004 16:07:15 +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 1AcRbP-0008T2-UB for geb-bug-gnu-emacs@m.gmane.org; Fri, 02 Jan 2004 10:52:43 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AcRYh-000858-AB for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2004 10:49:55 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AcRSC-0006p9-Hs for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2004 10:43:43 -0500 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AcPC3-0000bs-Kf for bug-gnu-emacs@gnu.org; Fri, 02 Jan 2004 08:18:23 -0500 Original-Received: from monty-python.gnu.org ([199.232.76.173]) by fencepost.gnu.org with esmtp (Exim 4.24) id 1AcOAe-0005wu-QG for gnu-emacs-bug@prep.ai.mit.edu; Fri, 02 Jan 2004 07:12:52 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AcO2X-0001S8-9a for gnu-emacs-bug@prep.ai.mit.edu; Fri, 02 Jan 2004 07:05:00 -0500 Original-Received: from [207.192.128.41] (helo=news1.radix.net) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AcO0g-0000vM-Um for gnu-emacs-bug@prep.ai.mit.edu; Fri, 02 Jan 2004 07:02:35 -0500 Original-Received: from news1.radix.net (localhost [127.0.0.1]) by news1.radix.net (8.12.2/8.12.2) with ESMTP id i02B15Rf029527 for ; Fri, 2 Jan 2004 06:01:05 -0500 (EST) Original-Received: by news1.radix.net (8.12.2/8.12.2/Submit) id i02B15ph029526 for gnu-emacs-bug@prep.ai.mit.edu; Fri, 2 Jan 2004 06:01:05 -0500 (EST) Original-To: gnu-emacs-bug@prep.ai.mit.edu Original-Path: not-for-mail Original-Newsgroups: gnu.emacs.bug Original-Lines: 41 Original-NNTP-Posting-Host: saltmine.radix.net User-Agent: tin/1.4.4-20000803 ("Vet for the Insane") (UNIX) (SunOS/5.8 (sun4u)) 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:6456 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6456 Eli Zaretskii wrote: >> 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. This appears to be a problem with emacs' configure script. It shouldn't have to compile-in most of the logic for tparam, since that can be done with calls to the "real" tgoto. -- Thomas E. Dickey http://invisible-island.net ftp://invisible-island.net