Project

General

Profile

Bug #22297

Issues running artdaq using art 3

Added by Eric Flumerfelt over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Infrastructure
Target version:
Start date:
04/05/2019
Due date:
% Done:

100%

Estimated time:
Spent time:
Occurs In:
Scope:
Internal
Experiment:
-
SSI Package:
art
Duration:

Description

Whenever I try to run artdaq with art 3 support code, I get an error from art at the end of the run:

%MSG-s ArtException:  DAQ 05-Apr-2019 10:17:57 CDT Booted
cet::exception caught in art
---- OtherArt BEGIN
  ---- LogicError BEGIN
    RangeSet::collapse() A range set must be sorted before it is collapsed.
  ---- LogicError END
  ---- OtherArt BEGIN
    ---- LogicError BEGIN
      RangeSet::collapse() A range set must be sorted before it is collapsed.
    ---- LogicError END
  ---- OtherArt END
---- OtherArt END
%MSG

Kyle thinks that this is coming from the EventProcessor not being able to handle out-of-order events; dumping the FileIndex appears to support this theory:

[eflumerf@ironwork daqdata]$ file_info_dumper --file-index artdaqdemo_r000002_sr01_20190405T152308_1_dl1.root 
==============================
File: artdaqdemo_r000002_sr01_20190405T152308_1_dl1.root

Printing FileIndex contents.  This includes a list of all Runs, SubRuns
and Events stored in the root file.

            Run         SubRun          Event    TTree Entry
              2              1              1              0
              2              1              2              4
              2              1              3              1
              2              1              4              5
              2              1              5              2
              2              1              6              6
              2              1              7              3
              2              1              8              7
              2              1              9              8
              2              1             10              9
              2              1             11             10
              2              1             12             11
              2              1             13             12
              2              1             14             13
              2              1             15             14

History

#1 Updated by Kyle Knoepfel over 1 year ago

  • Assignee set to Kyle Knoepfel
  • Status changed from New to Assigned
  • Category set to Infrastructure

#2 Updated by Kyle Knoepfel over 1 year ago

  • % Done changed from 0 to 100
  • Status changed from Assigned to Feedback
  • Description updated (diff)
  • SSI Package art added

The fix has been implemented with commit art:0aa1eea7. Since you have not yet updated to art 3.02, I have provided a patch that can be applied to your local build of art:

woof.fnal.gov:/home/knoepfel/range-set-collapse-fix.p

Are you able to test whether that commit/patch fixes the problem you've encountered?

#3 Updated by Kyle Knoepfel over 1 year ago

  • Target version set to 3.02.04

#4 Updated by Kyle Knoepfel over 1 year ago

  • Status changed from Feedback to Closed


Also available in: Atom PDF