Virgo Logbook
UTC--:--:--
GPS-
Reports
Global Control›Global Control #24734

GcAlignment pb since introduction of Output_t{x,y}

I found the bug in GcAlignment which caused the recurrent crash of rtpc11 reported this morning again in Operation report - Night shift. , as revealed by the core: CmConnectNew () from /virgo/VCS-7.0/VIRGOSW/Cm/v8r5/Linux-i686-SL4/libCm.so (gdb) bt #0 0xb7dea9f4 in CmConnectNew () from /virgo/VCS-7.0/VIRGOSW/Cm/v8r5/Linux-i686-SL4/libCm.so #1 0xb7df08c0 in CmMessagePost () from /virgo/VCS-7.0/VIRGOSW/Cm/v8r5/Linux-i686-SL4/libCm.so #2 0xb7df0c53 in CmMessageSend () from /virgo/VCS-7.0/VIRGOSW/Cm/v8r5/Linux-i686-SL4/libCm.so #3 0xb7d93b63 in SmsMsgHandler (message=0x696c415f, sender=0x6c666e4f
, receiver=0x78745f79
) at ../src/CmHandlers.c:816 Indeed it appeared clearly that since I added the two Output{x,y} degree of freedom, Sms message string was lacking memory allocation. The GcAlignment crashes started to show up since the first introduction of the new degrees of freedom (11 August), most of them during automatic angular noise budget from Alp (but it also happened a couple of time during manual operation). In such a situation of unsufficient memory allocation, the crash is more likely to happen when a change of onfly is triggered at the same time than a Sms request. In general, this is more likely to happen when a change of onfly is requested from Alp since it is synchronized with the DAQ chain. This is why most crashes were observed during the angular noise budget, which is the only macro triggering a change of onfly (in Tools). I correct the bug by increasing the memory buffer allocation for the Sms string (in the current version v2r8p2), and restarted GcAlignment. This should solve the problem !

1 comment

sentenac · 15 Sep 2009 · 09:24 #24735
The truth is even much easier to understand since, when the Tool algo is triggered the Sms string size increases by the size of the Tools onfly string. This is why it happened when the Tools algo is switched on.