Help Martin track down undesirable behavior in NovaDDT shared memory reading.
The NovaDDT effort has been suffering from undesired behavior by the
ddt-filter program for some time now. Upon a pause in the data stream, the program hangs, and data-taking does not resume when the stream starts back up.
#1 Updated by Christopher Green over 7 years ago
- Status changed from Assigned to Feedback
- % Done changed from 0 to 90
- Estimated time set to 1.00 h
Beyond misbehavior identified in the Nova-specific code leading to an attempted exit upon a pause in the data stream, there appears to be a real bug in the way that
art::Source handles detail classes with the generator trait (
Source_generator<T>::value = true) set in art 1.02.06.
There are two possible solutions: upgrade to a more recent version of art (1.07.01 or 1.08.02), or specialize the
false instead of specializing
true. Then, the number of times that
T::readNext(...) will be called following a return of
false will be one less than the number of dummy, "file names" in the
source.fileNames FHiCL configuration variable.
Let me know what you decided to do, and whether it works.