[issue43351] `RecursionError` during deallocation

2021-04-12 Thread Andrew V. Jones
Andrew V. Jones added the comment: For us, this issue was resolved with moving to 3.9.2. I have closed it as it seems it was an "accidentally fixed" bug. -- stage: -> resolved status: open -> closed ___ Python tracker

[issue43351] `RecursionError` during deallocation

2021-03-01 Thread Andrew V. Jones
Andrew V. Jones added the comment: Same logic, but this crashes: ``` def loop(): a_node = boost_python_library.get_linked_list() temp = [] while True: assert a_node is not None temp.append(a_node) prev = a_node # <-- comment this out to make the crash go a

[issue43351] `RecursionError` during deallocation

2021-03-01 Thread Andrew V. Jones
Andrew V. Jones added the comment: 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 #

[issue43351] `RecursionError` during deallocation

2021-03-01 Thread Andrew V. Jones
New submission from Andrew V. Jones : I am currently working with "porting" some code from Python 2.7.14 to Python 3.7.5, but the process running the Python code seems to terminate in the following way: ``` #0 0x2ef63337 in raise () from /lib64/libc.so.6 #1 0x2ef64a28 in abo