GNU bug report logs - #52446
28.0.90; Infinite loop in add_row_entry

Previous Next

Package: emacs;

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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Po Lu <luangruo <at> yahoo.com>
Cc: 52446 <at> debbugs.gnu.org
Subject: Re: bug#52446: 28.0.90; Infinite loop in add_row_entry
Date: Sun, 12 Dec 2021 11:05:22 +0200
> From: Po Lu <luangruo <at> yahoo.com>
> Cc: 52446 <at> debbugs.gnu.org
> Date: Sun, 12 Dec 2021 15:36:30 +0800
> 
> >>     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.

At which point in the code did you print those?

And what were the values of entry->row (you can display them with
pgrowx)?




This bug report was last modified 3 years and 158 days ago.

Previous Next


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