PANIC ALARM Rule Name shall not be clashed with any Other-Device Attribute name ( Information)

Hi all, during the Panic+Fandango up-gradation with Tango 9.5, I faced a peculiar problem of PyQT5/Taurus5 based GUI gets hang for every 3 seconds whenever PyAlarm device (PANIC) is started. After extensive debugging, I found that cause was having same name for ALARM-Rule (‘alarmstatus’) for PyAlarm Device, and other external Device-attribute (mnc/lmc/e01/alarmStatus) which was accessed through a common GUI to both the devices.

Defining a PANIC Alarm-Rule with the same name, as an external Tango device attribute (e.g., Rule alarmStatus on dev/alarm/1, while monitoring mnc/lmc/e01/alarmStatus) causes a 3000 ms CORBA timeout (API_DeviceTimedOut) and freezes embedded PyQt5/Taurus based Custom GUIs.

Environment Comparison:

  • Failing: PyTango 9.5.1 (cppTango 9.5.0), Fandango 16.1.2, Python 3.12, PyQt5 / Taurus 5

  • Working: PyTango 9.4.1 (cppTango 9.4.2), Fandango 15.11.10, Python 3.9, PyQt5 / Taurus 5

Behavior & Root Cause:

  1. When dev/alarm/1 is running and exposes a dynamic alarm attribute named alarmStatus, TangoEval / PanicAPI collides on the bare symbol alarmStatus against the external attribute mnc/lmc/e01/alarmStatus.

  2. Under cppTango 9.5 + Fandango 16.1.2, simultaneous queries from a custom PyQt5/Taurus GUI (reading both dev/alarm/1 and mnc/lmc/e01) contend on the device monitor / proxy lock, blocking read_attributes() until the 3000 ms timeout expires.

  3. This did not occur in Fandango 15.11.10 + Tango 9.4, where symbol resolution and client lock handling did not block across the two devices.

Workaround:
Renaming the PANIC alarm rule to a unique identifier (e.g., ALM_STATUS instead of alarmStatus) immediately resolves the deadlock and GUI freeze.