[ROOT-7419] Issue with enums disappearing from the AST using LHCb software Created: 15/Jun/15  Updated: 06/Jul/15  Resolved: 06/Jul/15

Status: Closed
Project: ROOT
Component/s: Cling
Affects Version/s: 6.02/10, 6.06/00, 6.04/02
Fix Version/s: 6.06/00, 6.04/02, 6.02/14

Type: Bug Priority: High
Reporter: Danilo Piparo Assignee: Danilo Piparo
Resolution: Fixed Votes: 0
Labels: None
Environment:

linux


Development:

 Description   

This crashes:
source /afs/cern.ch/lhcb/software/releases/LBSCRIPTS/prod/InstallArea/scripts/LbLogin.sh
lb-run --nightly head Mon LHCb HEAD root -b -l
LoKi::Constant<void, bool> c(true);
std::vector<const LHCb::MCParticle*> v;



 Comments   
Comment by Danilo Piparo [ 15/Jun/15 ]

Even this:
source /afs/cern.ch/lhcb/software/releases/LBSCRIPTS/prod/InstallArea/scripts/LbLogin.sh
lb-run --nightly head Mon LHCb HEAD root -b -l
LoKi::Constant<void, bool> c(true);
LHCb::MCParticle* q;

Comment by Danilo Piparo [ 15/Jun/15 ]

Even this:
#include "Event/MCRichHit.h"

This, at the prompt, involves of course quite some actions - not just pure inclusion.

Comment by Danilo Piparo [ 15/Jun/15 ]

This works:
gSystem->Load("libLHCbKernelDict.so")
#include "Event/MCRichHit.h"

Comment by Danilo Piparo [ 15/Jun/15 ]

It works disabling autoparsing: gInterpreter->SetClassAutoparsing(false)

Comment by Axel Naumann [ 23/Jun/15 ]

Fixed in master, v6-04 and v6-02.

Waiting for tomorrow's nightlies.

Still needs a test.

Comment by Axel Naumann [ 24/Jun/15 ]

Danilo thinks he might be able to come up with a test. I failed...

Generated at Sat Sep 21 06:37:26 CEST 2019 using Jira 7.13.1#713001-sha1:5e06076c2d215a6f699b7e5c90ab2fae7ba5a1ce.