WIP: Revert fix for tango-cs#659 (SF)
Avoid keeping references to the callback after unsubsribe_event
.
When investigating some other issues I came across #185 (comment 496382113). I wanted to try to revert fix of tango-cs#659 (SF). I tried it but the issue still happens. I use this PR branch and:
$> /usr/bin/python3 -c "from tango.utils import info; print(info())" (base)
PyTango 9.3.4 (9, 3, 4, 'dev', 0)
PyTango compiled with:
Python : 3.7.3
Numpy : 1.16.2
Tango : 9.3.4
Boost : 1.67.0
PyTango runtime is:
Python : 3.7.3
Numpy : 1.16.2
Tango : 9.3.4
PyTango running on:
uname_result(system='Linux', node='pt222', release='4.19.0-13-amd64', version='#1 SMP Debian 4.19.160-2 (2020-11-28)', machine='x86_64', processor='')
I updated the original example to reproduce this issue from tango-cs#659 (SF) to work with python3 and described steps to reproduce it. I also uploaded backtraces of all threads from the core dump. All is available in https://github.com/reszelaz/test-pytango-185.
The question is if something could be done on the cppTango side to avoid this fix?