Second try: Bugfix in eventbuilding: when master stream had lost a trigger sequence number (possibly by udp layer), eventbuilder could not recover subevent synchronization -> increase of discarded events until regular program exit. This was observed at Aug2011 beamtime several times per day with cosmic and test runs.
Workaround with a delayed pop of master stream queue.
Try: Added free of shared mem and queue, since eb was stuck with previous version...
JAM