When we remove an attribute from the eventsubscriber, we notice hdbppes-srv freezing up immediately (becoming unresponsive towards Tango), see the log below. The SharedData::put_signal_property
function is entered, but is never exited.
I don't have access to debug symbols, making debugging hard, but by code inspection, it seems that perhaps in SharedData
:
1649265497 [140699462772480] DEBUG archiving/hdbppts/eventsubscriber01 SharedData::remove: unsubscribing ARCHIVE_EVENT... tango://databaseds.tangonet:10000/stat/sdp/1/fpga_error_r
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 In get_monitor() unknown, thread = 11, ctr = 0
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 In rel_monitor() unknown, ctr = 1, thread = 11
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 Signalling !
1649265497 [140699462772480] DEBUG archiving/hdbppts/eventsubscriber01 SharedData::remove: unsubscribed ARCHIVE_EVENT... tango://databaseds.tangonet:10000/stat/sdp/1/fpga_error_r
1649265497 [140699462772480] DEBUG archiving/hdbppts/eventsubscriber01 SharedData::remove: unsubscribing ATTR_CONF_EVENT... tango://databaseds.tangonet:10000/stat/sdp/1/fpga_error_r
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 In get_monitor() unknown, thread = 11, ctr = 0
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 In rel_monitor() unknown, ctr = 1, thread = 11
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 Signalling !
1649265497 [140699462772480] DEBUG archiving/hdbppts/eventsubscriber01 SharedData::remove: unsubscribed ATTR_CONF_EVENT... tango://databaseds.tangonet:10000/stat/sdp/1/fpga_error_r
1649265497 [140699462772480] DEBUG archiving/hdbppts/eventsubscriber01 SharedData::remove: removing tango://databaseds.tangonet:10000/stat/sdp/1/fpga_error_r
1649265497 [140699462772480] DEBUG archiving/hdbppts/eventsubscriber01 SharedData::remove: stopped tango://databaseds.tangonet:10000/stat/sdp/1/fpga_error_r
1649265497 [140699462772480] DEBUG archiving/hdbppts/eventsubscriber01 SharedData::remove: removed tango://databaseds.tangonet:10000/stat/sdp/1/fpga_error_r
1649265497 [140699462772480] DEBUG archiving/hdbppts/eventsubscriber01 SubscribeThread::remove: going to increase action... action=0++
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 Leaving DeviceClass::command_handler() method
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 SubDevDiag::set_associated_device() entering ...
1649265497 [140699462772480] DEBUG archiving/hdbppts/eventsubscriber01 SharedData::remove: stopped tango://databaseds.tangonet:10000/stat/sdp/1/fpga_error_r
1649265497 [140699462772480] DEBUG archiving/hdbppts/eventsubscriber01 SharedData::remove: removed tango://databaseds.tangonet:10000/stat/sdp/1/fpga_error_r
1649265497 [140699462772480] DEBUG archiving/hdbppts/eventsubscriber01 SubscribeThread::remove: going to increase action... action=0++
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 Leaving DeviceClass::command_handler() method
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 SubDevDiag::set_associated_device() entering ...
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 DeviceImpl::command_inout(): leaving method for command attributeremove
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 In rel_monitor() archiving/hdbppts/eventsubscriber01, ctr = 2, thread = 11
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 In rel_monitor() archiving/hdbppts/eventsubscriber01, ctr = 1, thread = 11
1649265497 [140699462772480] DEBUG dserver/hdbppes-srv/01 Signalling !
1649265497 [140699479557888] DEBUG archiving/hdbppts/eventsubscriber01 run_undetached: AWAKE
1649265497 [140699479557888] DEBUG archiving/hdbppts/eventsubscriber01 SharedData::put_signal_property: put_signal_property entering action=1