The bug really stems from the fact that RichVarinfoMap doesn't determine equality based on the rich data (which is correct in this test) but instead the varinfodisplay name (which happened to be wrong).
Namely, the uniqueness counter was mistakenly omitted from the name when the thread ID is top. This makes them independent.
Closes #1388.
The bug really stems from the fact that
RichVarinfoMap
doesn't determine equality based on the rich data (which is correct in this test) but instead thevarinfo
display name (which happened to be wrong). Namely, the uniqueness counter was mistakenly omitted from the name when the thread ID is top. This makes them independent.