taurus-org / taurus

Moved to https://gitlab.com/taurus-org/taurus
http://taurus-scada.org
43 stars 46 forks source link

Memory leak in notifd (Tango7) when using a device panel in taurus4 with python2 #1084

Closed jordiandreu closed 4 years ago

jordiandreu commented 4 years ago

There is a memory leak in notifd (Tango7) when using a device panel in taurus4 with python2, which does not occur in taurus4 with python3.

Adding this trace: print("***** full name: {}".format(self.getFullName())) to taurus/core/tango/tangodevice.py:209 we see the reported URI is not the same (the Tango DB host is tbl0402 aliased to tbl04).

python2 (mem leak here):

full name: tango://tbl0402.cells.es:10000/bl04/eh/nhq

python3:

full name: tango://tbl04.cells.es:10000/bl04/eh/nhq

cpascual commented 4 years ago

(just for context, this comes from an internal ALBA ticket: https://jira.cells.es/browse/CSGSW-4037 )

cpascual commented 4 years ago

This was due to using an outdated version of taurus for the py2 tests. It works on the latest version