This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author andrewvaughanj
Recipients andrewvaughanj
Date 2021-03-01.13:08:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614604129.67.0.509570596366.issue43351@roundup.psfhosted.org>
In-reply-to
Content
Here's some representative code that triggers the issue:

```
def loop():
    a_node = boost_python_library.get_linked_list()
    all_elems = []
    while a_node is not None:
        #
        # Uncomment the below to make the crash disappear
        #
        # all_elems.append(a_node)
        #
        a_node = a_node.next
```

The *really* interesting bit is that if we save what comes off the Boost.Python linked list into a Python-proper list (`all_elems` as above), then the crash goes away.
History
Date User Action Args
2021-03-01 13:08:49andrewvaughanjsetrecipients: + andrewvaughanj
2021-03-01 13:08:49andrewvaughanjsetmessageid: <1614604129.67.0.509570596366.issue43351@roundup.psfhosted.org>
2021-03-01 13:08:49andrewvaughanjlinkissue43351 messages
2021-03-01 13:08:49andrewvaughanjcreate