GNU bug report logs - #62277
cannot `lossage-size` a large number

Previous Next

Package: emacs;

Reported by: "Xie Qi" <free.verse <at> foxmail.com>

Date: Sun, 19 Mar 2023 18:15:02 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

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 62277 in the body.
You can then email your comments to 62277 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#62277; Package emacs. (Sun, 19 Mar 2023 18:15:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Xie Qi" <free.verse <at> foxmail.com>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 19 Mar 2023 18:15:02 GMT) Full text and rfc822 format available.

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

From: "Xie Qi" <free.verse <at> foxmail.com>
To: "bug-gnu-emacs" <bug-gnu-emacs <at> gnu.org>
Subject: cannot `lossage-size` a large number
Date: Mon, 20 Mar 2023 01:23:31 +0800
<meta http-equiv="Content-Type" content="text/html; charset=GB18030"><https: emacs.stackexchange.com="" questions="" 76363="">:

I Lauched Emacs by `emacs -Q`, then

1. if I use&nbsp;`most-positive-fixnum`:

    ```
    (lossage-size most-positive-fixnum)
    ```

    Emacs will emitted:&nbsp;"Value must be &gt;= 100"&nbsp;in&nbsp;echo area.

2. if I use a modest number:

    ```
    (lossage-size (/ most-positive-fixnum 10))
    ```

    Emacs will crash immediately because of the large memory usage.

_________________________

emacs-28.2 for win 11 64-bit</https:>

Reply sent to Eli Zaretskii <eliz <at> gnu.org>:
You have taken responsibility. (Sun, 19 Mar 2023 18:48:02 GMT) Full text and rfc822 format available.

Notification sent to "Xie Qi" <free.verse <at> foxmail.com>:
bug acknowledged by developer. (Sun, 19 Mar 2023 18:48:02 GMT) Full text and rfc822 format available.

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

From: Eli Zaretskii <eliz <at> gnu.org>
To: "Xie Qi" <free.verse <at> foxmail.com>
Cc: 62277-done <at> debbugs.gnu.org
Subject: Re: bug#62277: cannot `lossage-size` a large number
Date: Sun, 19 Mar 2023 20:47:05 +0200
> From: "Xie Qi" <free.verse <at> foxmail.com>
> Date: Mon, 20 Mar 2023 01:23:31 +0800
> 
> <meta http-equiv="Content-Type" content="text/html; charset=GB18030"><https: emacs.stackexchange.com="" questions="" 76363="">:
> 
> I Lauched Emacs by `emacs -Q`, then
> 
> 1. if I use&nbsp;`most-positive-fixnum`:
> 
>     ```
>     (lossage-size most-positive-fixnum)
>     ```
> 
>     Emacs will emitted:&nbsp;"Value must be &gt;= 100"&nbsp;in&nbsp;echo area.
> 
> 2. if I use a modest number:
> 
>     ```
>     (lossage-size (/ most-positive-fixnum 10))
>     ```
> 
>     Emacs will crash immediately because of the large memory usage.

Thanks, I fixed this for Emacs 29.1.




bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Mon, 17 Apr 2023 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 346 days ago.

Previous Next


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