Project

General

Profile

Bug #15704

art "INTERNAL ERROR" when writing a new data product

Added by Andrei Gaponenko over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
03/01/2017
Due date:
% Done:

100%

Estimated time:
8.00 h
Spent time:
Occurs In:
Scope:
Internal
Experiment:
Mu2e
SSI Package:
art
Duration:

Description

A simple job with a module that creates an instance of a data product
and puts it into event produces the following error.

cet::exception caught in art
---- LogicError BEGIN
  getTypeID: INTERNAL ERROR: encountered invalid type code -1.
---- LogicError END
%MSG

The data product in question is being developed, and may have
dictionaries missing or other issues. This ticket is about getting a
better diagnostic of the problem than the "internal error" message.

To reproduce, use the attached "ForAndrei.tgz" file, and do

mkdir newdir
cd newdir
tar xvf ForAndrei.tgz
cd ForAndrei

setup mu2e

/cvmfs/mu2e.opensciencegrid.org/Offline/v6_0_7/SLF6/prof/Offline/bin/createSatelliteRelease

source setup.sh

scons

mu2e -c ErrorTest/test/test.fcl

Andrei

ForAndrei.tgz (4.25 KB) ForAndrei.tgz example source code Andrei Gaponenko, 03/01/2017 04:12 PM

History

#1 Updated by Kyle Knoepfel over 2 years ago

  • Description updated (diff)
  • Status changed from New to Assigned
  • Assignee set to Paul Russo
  • Estimated time set to 8.00 h
  • SSI Package art added

We believe there may be an error in our dictionary-checking algorithm. We will investigate.

#2 Updated by Rob Kutschke over 2 years ago

The immediate problem is fixed as follows:

In: DAQDataProducts/inc/DataBlock.hh

Replace:    typedef enum { TRK, CAL, CRV } SYSID;
With: enum SYSID { TRK, CAL, CRV };

The issue still remains that the error message could be more helpful ( it's not clear to me if this is a an art issue or a ROOT issue ).

#3 Updated by Kyle Knoepfel over 2 years ago

  • Status changed from Assigned to Resolved
  • Target version set to 2.06.03
  • % Done changed from 0 to 100

#4 Updated by Kyle Knoepfel over 2 years ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF