[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#52446: 28.0.90; Infinite loop in add_row_entry
From: |
Eli Zaretskii |
Subject: |
bug#52446: 28.0.90; Infinite loop in add_row_entry |
Date: |
Sun, 12 Dec 2021 11:05:22 +0200 |
> From: Po Lu <luangruo@yahoo.com>
> Cc: 52446@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)?
- bug#52446: 28.0.90; Infinite loop in add_row_entry, Po Lu, 2021/12/12
- bug#52446: 28.0.90; Infinite loop in add_row_entry, Eli Zaretskii, 2021/12/12
- bug#52446: 28.0.90; Infinite loop in add_row_entry, Po Lu, 2021/12/12
- bug#52446: 28.0.90; Infinite loop in add_row_entry,
Eli Zaretskii <=
- bug#52446: 28.0.90; Infinite loop in add_row_entry, Po Lu, 2021/12/12
- bug#52446: 28.0.90; Infinite loop in add_row_entry, Eli Zaretskii, 2021/12/12
- bug#52446: 28.0.90; Infinite loop in add_row_entry, Po Lu, 2021/12/12
- bug#52446: 28.0.90; Infinite loop in add_row_entry, Eli Zaretskii, 2021/12/12
- bug#52446: 28.0.90; Infinite loop in add_row_entry, Po Lu, 2021/12/12
- bug#52446: 28.0.90; Infinite loop in add_row_entry, Po Lu, 2021/12/13