From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Takenari Shinohara Newsgroups: gmane.emacs.bugs Subject: bug#37824: Args out of range error Date: Sun, 20 Oct 2019 00:27:22 +0900 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000ecec6f059545164b" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="102211"; mail-complaints-to="usenet@blaine.gmane.org" To: 37824@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Oct 19 18:56:33 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iLs1p-000QUj-9I for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Oct 2019 18:56:33 +0200 Original-Received: from localhost ([::1]:59490 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLs1o-0003LP-5i for geb-bug-gnu-emacs@m.gmane.org; Sat, 19 Oct 2019 12:56:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54298) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLs0N-0002HM-LZ for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2019 12:55:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLs0M-0005Zs-Lc for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2019 12:55:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:44684) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLs0M-0005Zk-Iz for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2019 12:55:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iLs0M-0002sy-Em for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2019 12:55:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Takenari Shinohara Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Oct 2019 16:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37824 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.157150406211028 (code B ref -1); Sat, 19 Oct 2019 16:55:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Oct 2019 16:54:22 +0000 Original-Received: from localhost ([127.0.0.1]:53505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLrzi-0002ro-4u for submit@debbugs.gnu.org; Sat, 19 Oct 2019 12:54:22 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:56761) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLqdl-0000cR-F7 for submit@debbugs.gnu.org; Sat, 19 Oct 2019 11:27:38 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46772) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLqdk-0001Kc-9l for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2019 11:27:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLqdi-0006gd-UQ for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2019 11:27:36 -0400 Original-Received: from mail-qt1-x829.google.com ([2607:f8b0:4864:20::829]:38689) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iLqdi-0006fx-MJ for bug-gnu-emacs@gnu.org; Sat, 19 Oct 2019 11:27:34 -0400 Original-Received: by mail-qt1-x829.google.com with SMTP id o25so321395qtr.5 for ; Sat, 19 Oct 2019 08:27:34 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=wfaNs36LDZk8+R6qoB3ZzNmSfo2uMx/6DC7rajh9uWE=; b=JHCYvopdH8mLLm23s3FKgv1C35Vz1S/GK1ncI2mRNhcyqUUAImDMckzYL0/sZLZ1/h wn1P6J8SHM45jJ6rs4s8pWcmrMcbej+KzqclIt5MvfLq876SiD9xQVYX27mXmI/qsqLm 8YTkIfLtA0qZTJiXt4UBvLhDLbivrUdHuwopDpKYlteETP0ynj3YY6S2kkkre7bTayeC B1YrT6WIHxhaxFe7KWJmcUYnE2wpJAh0o5oXemOZJYY8tevgsEvL2fpKFhUCQ9dyjs5A cDKf10g0qZl0ApgsIZqbnJflTi01JMdrmuoYEdP63BvRB8bEwf3mlTS7fmNhnYDs9MUn TvgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=wfaNs36LDZk8+R6qoB3ZzNmSfo2uMx/6DC7rajh9uWE=; b=nqLG6GAv2LmTR38mWHWc/jHxHJGoHXvBYC8S5cMOn1mkCsIgsDi031q0qRze/Qtsda t9TLmJN82UyiPVbD3q+eZ2iJ/flCf6NtzR/z8AVqzmjszfcYdC19B/jkgXVmFUzYnNLr qkDjm+jXcrmzSrJNQgPhssBDOskY9H9b9Ra8UVTrke8sX0v2BUGro00DrkqIRJ+89iND n/17RA8SRevM9hvDlXL3V2Giil4HZN6wAZZcxMnISuk2mNyPmcAzQR+kY8ZLqCIqr8Mw ufbQ9fHX9D1+LHSKTknTpH0YiLHbppNWblgevEtbW2uQGJHEFWkYGlu+43bLd4XtkU9e GKZA== X-Gm-Message-State: APjAAAUVp6OPWJKF/d3tkNnK2SoMNr8YjpyVVs0S38+qFuXrTuX7Yex7 hOsVEPmp4UFT7VzJ21RrIYNWHTAU/ApTPVQ2aECfowm66U8= X-Google-Smtp-Source: APXvYqylccsJYlgGw46ORtmdPwQWNWLp+6zots8vBYJmCTqeAoIgTiJN9tjKtHFt19bPR5TBWuUNM4H5hPBXqw8p4lQ= X-Received: by 2002:ac8:5347:: with SMTP id d7mr15830368qto.269.1571498853459; Sat, 19 Oct 2019 08:27:33 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Mailman-Approved-At: Sat, 19 Oct 2019 12:54:21 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:169748 Archived-At: --000000000000ecec6f059545164b Content-Type: text/plain; charset="UTF-8" After building recent head, I started to see Args out of range errors occasionally. sort: Args out of range: [nil :family :foundry :swidth :height :weight :slant :underline :inverse :foreground ...], 19 I inspected a little, and I think a found the problem. Commit f9206f34d63104c50659a15d3615646a09df87bf intorduced new LFACE_EXTEND_INDEX enum for lface_attribute_index in src/dispextern.h, but probably forgot to add corresponding value to internal-lisp-face-attributes defvar, causing an arg-out-of-range error for few face related functions. After adding :extend keyword to internal-lisp-face-attributes the error don't occur. (setq internal-lisp-face-attributes [nil :family :foundry :swidth :height :weight :slant :underline :inverse :foreground :background :stipple :overline :strike :box :font :inherit :fontset :vector :extend]) --000000000000ecec6f059545164b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
After building recent head, I started to see Ar=
gs out of range errors occasionally.

=C2=A0sort: Args out of range: = [nil :family :foundry :swidth :height :weight :slant :underline :inverse :f= oreground ...], 19
I inspected a little, and I think a found the problem.
Commit f9206f= 34d63104c50659a15d3615646a09df87bf intorduced new LFACE_EXTEND_INDEX<= /code> enum for lface_attribute_index
in src/dispext= ern.h, but probably forgot to add corresponding value to inter= nal-lisp-face-attributes defvar,
causing an arg-out-of-ran= ge error for few face related functions.

After adding :extend keyword to internal-lisp-face-attributes the error=
 don't occur.  

(setq internal-lisp-face= -attributes
=C2=A0 [nil
=C2=A0 =C2=A0:family :foundry :swidth :height= :weight :slant :underline :inverse
=C2=A0 =C2=A0:foreground :background= :stipple :overline :strike :box
=C2=A0 =C2=A0:font :inherit :fontset :v= ector :extend])
--000000000000ecec6f059545164b--