GNU bug report logs -
#52446
28.0.90; Infinite loop in add_row_entry
Previous Next
Reported by: Po Lu <luangruo <at> yahoo.com>
Date: Sun, 12 Dec 2021 05:16:01 UTC
Severity: normal
Found in version 28.0.90
Done: Po Lu <luangruo <at> yahoo.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Eli Zaretskii <eliz <at> gnu.org> writes:
>> Resent-From: Po Lu <luangruo <at> yahoo.com>
>> Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
>> Resent-CC: bug-gnu-emacs <at> gnu.org
>> Resent-Sender: help-debbugs <at> gnu.org
>> Date: Sun, 12 Dec 2021 13:15:29 +0800
>> From: Po Lu via "Bug reports for GNU Emacs,
>> the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
>>
>> Emacs froze while I was scrolling through a large image with `C-n'. The
>> source of the freeze was an infinite loop in this part of
>> `add_row_entry':
>>
>> while (entry && !row_equal_p (entry->row, row, 1))
>> ---> entry = entry->next;
>>
>> The problem seems to be that `entry' points to the same address as
>> `entry->next'.
> Are you sure? This more-or-less "can't happen". How did you see that
> this was the problem?
I did `p entry' and `p entry->next' in gdb. Both pointed to the same
address.
This bug report was last modified 3 years and 159 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.