Back Midas Rome Roody Rootana
  Midas DAQ System  Not logged in ELOG logo
Entry  07 Aug 2019, Paolo Baesso, Bug Report, ROOTANA bug? 
    Reply  07 Aug 2019, Thomas Lindner, Bug Report, ROOTANA bug? 
       Reply  08 Aug 2019, Lauren Manton, Bug Report, ROOTANA bug? 
       Reply  08 Aug 2019, Konstantin Olchanski, Bug Report, ROOTANA bug? 
       Reply  14 Aug 2019, Konstantin Olchanski, Bug Report, ROOTANA bug? 
Message ID: 1654     Entry time: 08 Aug 2019     In reply to: 1646
Author: Konstantin Olchanski 
Topic: Bug Report 
Subject: ROOTANA bug? 
> indnerlt:rootana lindner$ git diff libMidasInterface/TMidasOnline.cxx
> diff --git a/libMidasInterface/TMidasOnline.cxx b/libMidasInterface/TMidasOnline.cxx
> index 92eb3e9..67da613 100644
> --- a/libMidasInterface/TMidasOnline.cxx
> +++ b/libMidasInterface/TMidasOnline.cxx
> @@ -191,7 +191,7 @@ bool TMidasOnline::sleep(int mdelay)
>    #ifdef CH_IPC
>    ss_suspend_set_dispatch(CH_IPC, 0, NULL);
>    #else
> -  ss_suspend_set_dispatch_ipc(NULL);
> +  //  ss_suspend_set_dispatch_ipc(NULL);
>    #endif
>   int status = ss_suspend(mdelay, 0);
>    if (status == SS_SUCCESS)
> 
> This compiles and at least runs for me; so maybe that is helpful for you.  But Konstantin will provide a longer term solution.


This is a problem with the latest development version of MIDAS. ss_suspend overrides have been removed from system.cxx
and there is no way for rootana to avoid the problem of recursive call to the event handler.

I recommend that instead of using the latest development version of MIDAS you use one of the recent released versions (use "git tag -l", midas-2019-06-b is the latest release).

All the released versions of midas have the ss_suspend overrides implemented and rootana will work correctly. For the next release of midas
I will restore the ss_suspend override and update the rootana code.


K.O.
ELOG V3.1.4-2e1708b5