GNU bug report logs - #75520
Circular code or data can hang Emacs unquittably

Previous Next

Package: emacs;

Reported by: Pip Cet <pipcet <at> protonmail.com>

Date: Sun, 12 Jan 2025 17:09:02 UTC

Severity: normal

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: pipcet <at> protonmail.com, Paul Eggert <eggert <at> cs.ucla.edu>
Cc: 75520 <at> debbugs.gnu.org, mattiase <at> acm.org, acorallo <at> gnu.org,
 monnier <at> iro.umontreal.ca
Subject: Re: bug#75520: Circular code or data can hang Emacs unquittably
Date: Tue, 14 Jan 2025 18:32:40 +0200
> Date: Sun, 12 Jan 2025 21:57:55 -0800
> Cc: Eli Zaretskii <eliz <at> gnu.org>, Mattias EngdegÄrd
>  <mattiase <at> acm.org>, Stefan Monnier <monnier <at> iro.umontreal.ca>,
>  Andrea Corallo <acorallo <at> gnu.org>, 75520 <at> debbugs.gnu.org
> From: Paul Eggert <eggert <at> cs.ucla.edu>
> 
> On 2025-01-12 13:46, Pip Cet wrote:
> > This seems to be a common problem.  I did a quick git grep
> > 'while.*CONSP':
> 
> Yes, I did something similar in 2017; see, for example, commit 
> 14dd9101ec4838f75addf25bf6b06ef33f8a7e97, which fixes 'length', 
> 'member', 'memq', etc. I don't remember how carefully I audited the code 
> for the problem way back then. Either I missed several potential issues, 
> or the code has changed since then, or both.

Seems like we have a consensus here that this should be fixed.

But can we please have at least one test for every place where we fix
this kind of bug?

Thanks.




This bug report was last modified 151 days ago.

Previous Next


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