From unknown Mon Aug 11 18:16:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37824: Args out of range error 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-GNU-PR-Keywords: To: 37824@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157150406211028 (code B ref -1); Sat, 19 Oct 2019 16:55:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2019 16:54:22 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE autolearn=disabled version=3.3.2 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 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 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) MIME-Version: 1.0 From: Takenari Shinohara Date: Sun, 20 Oct 2019 00:27:22 +0900 Message-ID: Content-Type: multipart/alternative; boundary="000000000000ecec6f059545164b" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::829 X-Spam-Score: 0.7 (/) 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --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-- From unknown Mon Aug 11 18:16:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37824: Args out of range error Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 19 Oct 2019 17:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37824 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Takenari Shinohara , Ergus Cc: 37824@debbugs.gnu.org Received: via spool by 37824-submit@debbugs.gnu.org id=B37824.157150651215200 (code B ref 37824); Sat, 19 Oct 2019 17:36:02 +0000 Received: (at 37824) by debbugs.gnu.org; 19 Oct 2019 17:35:12 +0000 Received: from localhost ([127.0.0.1]:53522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLsdE-0003x6-4G for submit@debbugs.gnu.org; Sat, 19 Oct 2019 13:35:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:49589) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLsdC-0003wm-9D for 37824@debbugs.gnu.org; Sat, 19 Oct 2019 13:35:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:38439) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iLsd6-0001gD-R7; Sat, 19 Oct 2019 13:35:04 -0400 Received: from [176.228.60.248] (port=2311 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iLsd5-0002ug-4I; Sat, 19 Oct 2019 13:35:04 -0400 Date: Sat, 19 Oct 2019 20:34:53 +0300 Message-Id: <834l047i6b.fsf@gnu.org> From: Eli Zaretskii In-reply-to: (message from Takenari Shinohara on Sun, 20 Oct 2019 00:27:22 +0900) References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > From: Takenari Shinohara > Date: Sun, 20 Oct 2019 00:27:22 +0900 > > 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]) Thanks. Jimmy, could you please take a look at this issue? From unknown Mon Aug 11 18:16:12 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37824: Args out of range error Resent-From: Ergus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 20 Oct 2019 13:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37824 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: Eli Zaretskii Cc: Takenari Shinohara , 37824@debbugs.gnu.org Received: via spool by 37824-submit@debbugs.gnu.org id=B37824.157157778216950 (code B ref 37824); Sun, 20 Oct 2019 13:24:02 +0000 Received: (at 37824) by debbugs.gnu.org; 20 Oct 2019 13:23:02 +0000 Received: from localhost ([127.0.0.1]:54047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMBAk-0004PF-3v for submit@debbugs.gnu.org; Sun, 20 Oct 2019 09:23:02 -0400 Received: from sonic311-30.consmr.mail.ir2.yahoo.com ([77.238.176.162]:45376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMBAh-0004Oj-CO for 37824@debbugs.gnu.org; Sun, 20 Oct 2019 09:23:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1571577773; bh=fmtPOUaMJTpjoZfzk25XIRlan5jXbCGblU8vSCABnu0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=PlsObqtFud21r4zxlA+qlOAStrLpstwrS3FhKHB/8/mESNLRKQSlt5MAdFaU8Zkm4oCo/zAUTDDkQSeHQKlSCyckQBeNRhV7DvAnCMhdkSr3RPtsF4pApfX11qRP7kR5Q5sakf9Ywdnhgn2+jWnIO8Hza54SXYcbc+7LPwvrRHFzVrmvYhb/Bj8Sda652GlLWvlrOLS1Dolj6wM1Offp0SDBLLtHBl8iAjuP7rTf6kJzP3YFo6W3dD8TsnXK5/XPQ6PrC4C/P53AhBie893HqkeEdIOCRDdhxb6KwamXXQv54LKxUB6X9NhtdmxPhwz0GDT4Xf/yZxIdII/cX6j2yQ== X-YMail-OSG: OSiY9RkVM1kIc0DJyhiOFFaHGl981jWYf4.TtRldgHnaWThw6I1SnEZQ79Zb9NZ U9TvEzeNfbTN6VU_0gU8YVsfLGVCEmbeSWBIkWwYvj5PSrWikNRWlkR07zDmNBpFSxMh40PVP5Wn Djoyf1UQoPkUQ0V4PPeUj4l.NP19rTHWfY5gi9DnZ42o3Ro775roRcnb44yXmVje7_nyM5CeA1Sn VjgnyAmO1cafhZ7DdAkZKwQpz_0cO0RYnZ4Y2P6FxYPl4pgiuzxReE..AmFLWXlmlwlSsmo855ML VEwKTREvYmePO4xtBkVVo6WRy1a5eJltKaqcKYSESABxkcOQS5gOtt32rnWLMyivqO5Fyg8UX1QP klu4O4ZFGzvgA1Q2mDljiJWOKeicFkdgsKvsnd1M_L8V9ZI3RIoaI5af1rfqWWlaxXX4XlZjUa7d _zLrZ2IcCMhlMUpTmIvtWX5yRGoBCg0Kj.7leovc4T9XadablYEn7Wzbb.H.Jijrn98xEIbnEmhc mU8WNhJ1acFSc1Kbf4U5nfEuv9ultXImbbSikWvmwe_H18fufcGHEerikK4.S.ABDXRB36Y76Y9M WCc9kiCSstAkwKodMDDrJjXGKrSuS7TBVxqYhUWRs2ZvahqGxK.DT0xXVkklm6PEex3qmbGRYbYC eDH9mo_YAEXrvKpO0lohtowNQKaKp8wLsEKnpC4y47lqfSwBNDn32GY5EaoyRJfpE8ylq5QaIj1D iCp6JRvfRVtcvV5lZ2y.ABhq4330nS_oHBro0QpuVULs5gYD8YSC9AzlaPBcKcU_Cf3h8xBGA_E. 9FdLY7tD0Q.PwgqvRP_iv2u7aHdQAZfPLLb05KO96r9a5LZQ0mK4A9F.kE_MRUk_rmJXpAJb0nA7 5_uV8wiwlPdCKlIF9mUuwEmyKQ8mu92qPmDDfe1lAnFFJNi0kUJxNfPNqUKwfRAzb2BwChflYBU6 oVjhE6R6sGsojtH8K2_zYtQg8GGm49S.nzLX_5Ox1lu6.9U4_L8_qSSCDVBWv.op4tUdzFHBTWW9 uOhPUbCQ1hE5fZokCh91yu419NzllIAEWG18kI6YAXtOi8pfso1ZiDE5YemMIpgDxi6.Km3Nhy.G FjBlvUILiHL_j2L0k1hympb4b7acc_Za1MYYFRw3juypsBeEN39SpuYFTQ7LFyBiBG9KIkYePiF8 7XdbzdbQCPj38FkMIC3rm5V_mwJX7YZdH.o_fcassMIUQ8vIk2nqOmvDyXfS3ADk33iBEntH29yb J63c75oj7zyEXMu0DHFUDJbwGQXfLnKkoP_Hz9weHQqgDa1YIabcpu2ziHq8JWQ5a5HNsJhh3vMG nBR.wdA-- Received: from sonic.gate.mail.ne1.yahoo.com by sonic311.consmr.mail.ir2.yahoo.com with HTTP; Sun, 20 Oct 2019 13:22:53 +0000 Received: by smtp415.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 07d1126d3379ea6e1fd722cd3c8c86d7; Sun, 20 Oct 2019 13:22:51 +0000 (UTC) Date: Sun, 20 Oct 2019 15:22:38 +0200 From: Ergus Message-ID: <87zhhveem7.fsf@Ergus.i-did-not-set--mail-host-address--so-tickle-me> References: <834l047i6b.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <834l047i6b.fsf@gnu.org> User-Agent: NeoMutt/20180716 X-Spam-Score: 0.0 (/) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) This is the same issue than 37806. I fixed it locally also the other member names. But I'll commit tomorrow after testing the change. On Sat, Oct 19, 2019 at 08:34:53PM +0300, Eli Zaretskii wrote: >> From: Takenari Shinohara >> Date: Sun, 20 Oct 2019 00:27:22 +0900 >> >> 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]) > >Thanks. > >Jimmy, could you please take a look at this issue? From unknown Mon Aug 11 18:16:12 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Takenari Shinohara Subject: bug#37824: closed (Re: bug#37824: Args out of range error) Message-ID: References: <20191020200337.aik4b5fajh36gvoj@Ergus> X-Gnu-PR-Message: they-closed 37824 X-Gnu-PR-Package: emacs Reply-To: 37824@debbugs.gnu.org Date: Sun, 20 Oct 2019 20:05:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1571601902-14358-1" This is a multi-part message in MIME format... ------------=_1571601902-14358-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #37824: Args out of range error which was filed against the emacs package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 37824@debbugs.gnu.org. --=20 37824: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D37824 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1571601902-14358-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 37824-done) by debbugs.gnu.org; 20 Oct 2019 20:04:02 +0000 Received: from localhost ([127.0.0.1]:55327 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMHQo-0003iI-Cn for submit@debbugs.gnu.org; Sun, 20 Oct 2019 16:04:02 -0400 Received: from sonic309-25.consmr.mail.ir2.yahoo.com ([77.238.179.83]:42679) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iMHQl-0003hn-LP for 37824-done@debbugs.gnu.org; Sun, 20 Oct 2019 16:04:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1571601833; bh=cyJMzqPjcvmZtWzPjsedHlSXj1m6z1QjbxAINv+KTGw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From:Subject; b=mAu62Mvj8ZnDS0ET5mEbtboec4zxsPgNMNZJr4w3DqUOmgES1Lq57k1S0RjCXe7opmidvEGWDLA2bdgQm+0sLVJEcU36sbbm7o2ee/b2oimVS6N4x+JqvuXQyCvtxZ2hIZLn5BRF2ZMEZ4TIEatJFHuRrdooglVujUZZbp4fNVgv3ztrUS1PsUOVhsOkhajxEQQW0Uu/GSwtiRNDPewwwPzMHeynQdbUuWh7k6ztInx229ds9jo9A03lghCDbwCTc4dAaaBCXU9qpQqrxbEswql0ZSIkvqXzjBRLXK2LoJ5ztX8dMDLsrGNDo/POH2FmVpBVwIFVGg56Ji8HBe0zaQ== X-YMail-OSG: _GnERY0VM1l4y8NMwgTih.QFDF8FuNd.RyMF7sV5tJm1OmIr8Z5ZPNdZIY9TzJx r0U6UsEUf0UJzxHC6YoakdCNuKG9x36hFa_WWcY.CxmAOlEb0QPypVMmSVLybupwBaBq.nH5iJR5 z0BSs_aMe4D359uTESpcmb8yV6v9VatKhGBDQCw_KEStLqke_48NsRugXxpOq4a6gkMHjgQ4R.JJ kBB6RcvZ_cz5gkXxvowd3LQBSLrLL3SpwmziFbBmcVoGB9.TeBg_Ynl12jSLgyAgLKhS4MDduOLi Ow0aAq1S6N7Io2tPiiZldJni9ZRBl.dIy5RABe0IS.igowG2tQyvMxrq6bhZ3iDNCTgTTMmbg919 81XncSoGKZe2.poMEsr2Dbp8IAX.wj1bnUMaMwp3LgwsTA.GnJYMrRfFmAp.PAfC5KhiAsvSUqR_ TNPdEB.kkZJpJ1G.vQSSh..taFeSISLzCMtKSM5se86lKRpawI1NNSuC3vuWiOq1BUakVtWMg4tp RGGkdlcbWJ7qcdthF7wUVrawd6tvhngwOyUUDH1AOmxmfGPFivaJwL.sqxs2ROFNZ2qh27YOpDWW 0W1VNOAeGlSa0BsTUH9QY5I2J_n9u5FTXNf2JWoyyze9lohRhSZd7TOagvC60G5V6dy38V7bFnzB CEbxSo1j5IyqctyLf9b1C.SC_ScCmXg4w9XI4u0S9RDk0SfXGRQgAAP8wrnE..OcD_qgAW941Ax2 fsSOc3.8Gb50tR7ndVlsTx_Itdnn47NqAuUqxvf.kdvg6D0_ZmttGvzlmMQpolkbZTlkyJhw_XOp d4eEA9VMTAQ2.LjyrdO54E4s2wucVwbH0xa7WweXKFacS4DFWJ3FB6d9R1AtNr12TZoswZBhM57V T4EHbUlq24slBiAofd6vo4dyyq0tuFSqakSIQcoYMtu2xIvJbP2xeGiyE5OE1L58J7owkh3GPQ_z H67YhAVWYosiNc0aHsNJPDMjvzSfONQdfl8zvbv8bnQjJH6B5R5R3J5VDIxTl3DkisnnOh8Nn0QY lSLH0VCx1I1ZVmxAnkmLdyb3EyR.c_fK9u5Uq8GEyMyyj.mUQJm1.D7Uycl9cBcNjrhZ6sNqocpv l65T0wOc99Whw6Ke60TyoVLbHd9n99ZbKH2iA09JGbWUdfOhMtXiOzajjsJDvEI2wTaW_7M94lHU pRozwKm7IeBl.aGc3MBIGUPaNd3_QpE56u635b_TvLB119j_jdUsiwDysk_WWGpClaIBEdq5pcxk VWA_qrOnZPrA9BP82ZQe9leHQgP36LlHfpc2TNFJxMZda6O7dmjgYC0y9bqfGShzAV74Uor.nop3 pNkKBpaeBXPZrR5yeRdE- Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ir2.yahoo.com with HTTP; Sun, 20 Oct 2019 20:03:53 +0000 Received: by smtp426.mail.ir2.yahoo.com (Oath Hermes SMTP Server) with ESMTPA ID 625f69a199e436c54dcfdb3bd41b6384; Sun, 20 Oct 2019 20:03:50 +0000 (UTC) Date: Sun, 20 Oct 2019 22:03:37 +0200 From: Ergus To: Eli Zaretskii Subject: Re: bug#37824: Args out of range error Message-ID: <20191020200337.aik4b5fajh36gvoj@Ergus> References: <834l047i6b.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <834l047i6b.fsf@gnu.org> User-Agent: NeoMutt/20180716 X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 37824-done Cc: 37824-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Fixed in commit: 270ca8c2735cfc7935b9e4d0b770a55138493ef3 This was a duplication of 37806. ------------=_1571601902-14358-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 19 Oct 2019 16:54:22 +0000 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 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 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 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM, HTML_MESSAGE autolearn=disabled version=3.3.2 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 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 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) MIME-Version: 1.0 From: Takenari Shinohara Date: Sun, 20 Oct 2019 00:27:22 +0900 Message-ID: Subject: Args out of range error To: bug-gnu-emacs@gnu.org Content-Type: multipart/alternative; boundary="000000000000ecec6f059545164b" X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:4864:20::829 X-Spam-Score: 0.7 (/) X-Debbugs-Envelope-To: submit 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 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) --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-- ------------=_1571601902-14358-1--