GNU bug report logs - #37824
Args out of range error

Previous Next

Package: emacs;

Reported by: Takenari Shinohara <takenari.shinohara <at> gmail.com>

Date: Sat, 19 Oct 2019 16:55:02 UTC

Severity: normal

Done: Ergus <spacibba <at> aol.com>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 37824 in the body.
You can then email your comments to 37824 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#37824; Package emacs. (Sat, 19 Oct 2019 16:55:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Takenari Shinohara <takenari.shinohara <at> gmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sat, 19 Oct 2019 16:55:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Takenari Shinohara <takenari.shinohara <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: Args out of range error
Date: Sun, 20 Oct 2019 00:27:22 +0900
[Message part 1 (text/plain, inline)]
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])
[Message part 2 (text/html, inline)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37824; Package emacs. (Sat, 19 Oct 2019 17:36:02 GMT) Full text and rfc822 format available.

Message #8 received at 37824 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Takenari Shinohara <takenari.shinohara <at> gmail.com>, Ergus <spacibba <at> aol.com>
Cc: 37824 <at> debbugs.gnu.org
Subject: Re: bug#37824: Args out of range error
Date: Sat, 19 Oct 2019 20:34:53 +0300
> From: Takenari Shinohara <takenari.shinohara <at> gmail.com>
> 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?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#37824; Package emacs. (Sun, 20 Oct 2019 13:24:02 GMT) Full text and rfc822 format available.

Message #11 received at 37824 <at> debbugs.gnu.org (full text, mbox):

From: Ergus <spacibba <at> aol.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Takenari Shinohara <takenari.shinohara <at> gmail.com>, 37824 <at> debbugs.gnu.org
Subject: Re: bug#37824: Args out of range error
Date: Sun, 20 Oct 2019 15:22:38 +0200
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 <takenari.shinohara <at> gmail.com>
>> 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?




Reply sent to Ergus <spacibba <at> aol.com>:
You have taken responsibility. (Sun, 20 Oct 2019 20:05:02 GMT) Full text and rfc822 format available.

Notification sent to Takenari Shinohara <takenari.shinohara <at> gmail.com>:
bug acknowledged by developer. (Sun, 20 Oct 2019 20:05:02 GMT) Full text and rfc822 format available.

Message #16 received at 37824-done <at> debbugs.gnu.org (full text, mbox):

From: Ergus <spacibba <at> aol.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 37824-done <at> debbugs.gnu.org
Subject: Re: bug#37824: Args out of range error
Date: Sun, 20 Oct 2019 22:03:37 +0200
Fixed in commit: 270ca8c2735cfc7935b9e4d0b770a55138493ef3
This was a duplication of 37806.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 18 Nov 2019 12:24:08 GMT) Full text and rfc822 format available.

This bug report was last modified 5 years and 267 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.