GNU bug report logs - #79014
31.0.50; igc: infinite loop

Previous Next

Package: emacs;

Reported by: Óscar Fuentes <oscarfv <at> eclipso.eu>

Date: Mon, 14 Jul 2025 11:17:02 UTC

Severity: normal

Found in version 31.0.50

Full log


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

From: Óscar Fuentes <oscarfv <at> eclipso.eu>
To: Pip Cet <pipcet <at> protonmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 79014 <at> debbugs.gnu.org
Subject: Re: bug#79014: 31.0.50; igc: infinite loop
Date: Tue, 15 Jul 2025 11:54:06 +0200
Hello Pip. Was the patch below posted for discussion or did you forgot
to push it to feature/igc?

I'll like to rebuild Emacs with the fix and having it on the branch is
much preferable to applying it as a patch.

And while we are at it, I hope there are no objections if I merge master
into feature/igc.

Thanks.

Pip Cet <pipcet <at> protonmail.com> writes:

> For now, though, let's do this (on feature/igc):
>
> From 41d3fdf4c394c14e3beed1eda3caec6b8e57cb2f Mon Sep 17 00:00:00 2001
> From: Pip Cet <pipcet <at> protonmail.com>
> Date: Mon, 14 Jul 2025 15:05:05 +0000
> Subject: [PATCH] Avoid infloops during buffer compaction (bug#79014)
>
> * src/buffer.c (compact_buffer): Set the 'BUF_COMPACT' timestamp
> before entering truncate_undo_list; that way, if truncate_undo_list
> calls this function recursively, the same buffer will not be
> considered for compaction twice.





This bug report was last modified today.

Previous Next


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