Subject: bug#52446: 28.0.90; Infinite loop in add_row_entry

From: Eli Zaretskii <[email-masked]>
Date: Sun, 12 Dec 2021 11:05:22 +0200

> From: Po Lu <[email-masked]>
> Cc: [email-masked]
> 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)?