Project

General

Profile

Bug #1066

ROOT fails in the following case (and other similar cases)

Added by Rogers, Chris about 9 years ago. Updated about 9 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
common_cpp
Target version:
Start date:
30 July 2012
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

Reported by Paul Kyberd

root [0] .L $MAUS_ROOT_DIR/build/libMausCpp.so
root [1] TBrowser b
   then click
  Spill;1
      data
          GetSpill()
            GetReconEvents()
                GetPartEventNumber()               plots
                GetTOFEventSlabHit()
                    GetTOFEventSlabHitArray()
                       GetSlab() - crash

Fatal: parent && element violated at line 2394 of `/media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/tree/treeplayer/src/TFormLeafInfo.cxx' aborting
#0  0x0000003efa8aad3e in waitpid () from /lib64/libc.so.6
#1  0x0000003efa83e329 in do_system () from /lib64/libc.so.6
#2  0x00007f95532981a8 in TUnixSystem::StackTrace() () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libCore.so
#3  0x00007f95531e1b24 in DefaultErrorHandler(int, bool, char const*, char const*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libCore.so
#4  0x00007f95531e1291 in ErrorHandler () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libCore.so
#5  0x00007f95531e13c3 in Fatal(char const*, char const*, ...) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libCore.so
#6  0x00007f953c3156fb in TFormLeafInfoMultiVarDimCollection::TFormLeafInfoMultiVarDimCollection(TClass*, long, TStreamerElement*, TFormLeafInfo*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libTreePlayer.so
#7  0x00007f953c32841c in TTreeFormula::ParseWithLeaf(TLeaf*, char const*, bool, unsigned int, TObjArray&, bool, char const*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libTreePlayer.so
#8  0x00007f953c32e28d in TTreeFormula::DefinedVariable(TString&, int&) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libTreePlayer.so
#9  0x00007f95500c06b8 in TFormula::Analyze(char const*, int&, int) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libHist.so
#10 0x00007f95500c8c34 in TFormula::Compile(char const*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libHist.so
#11 0x00007f953c323360 in TTreeFormula::Init(char const*, char const*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libTreePlayer.so
#12 0x00007f953c323b01 in TTreeFormula::TTreeFormula(char const*, char const*, TTree*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libTreePlayer.so
#13 0x00007f953c31acf8 in TSelectorDraw::CompileVariables(char const*, char const*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libTreePlayer.so
#14 0x00007f953c31b6a6 in TSelectorDraw::Begin(TTree*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libTreePlayer.so
#15 0x00007f953c339644 in TTreePlayer::Process(TSelector*, char const*, long long, long long) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libTreePlayer.so
#16 0x00007f953c33f89a in TTreePlayer::DrawSelect(char const*, char const*, char const*, long long, long long) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libTreePlayer.so
#17 0x00007f954f51fd05 in TVirtualBranchBrowsable::Browse(TBrowser*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libTree.so
#18 0x00007f953cfdd4e6 in TGFileBrowser::DoubleClicked(TGListTreeItem*, int) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libGui.so
#19 0x00007f953d380b13 in G__G__Gui3_401_0_22(G__value*, char const*, G__param*, int) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libGui.so
#20 0x00007f955274924f in Cint::G__CallFunc::Execute(void*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libCint.so
#21 0x00007f95532598ec in TCint::CallFunc_Exec(void*, void*) const () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libCore.so
#22 0x00007f95531fe577 in TQConnection::ExecuteMethod(long*, int) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libCore.so
#23 0x00007f9553201ead in TQObject::Emit(char const*, long*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libCore.so
#24 0x00007f953d0198d3 in TGListTree::DoubleClicked(TGListTreeItem*, int) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libGui.so
#25 0x00007f953d01bc28 in TGListTree::HandleDoubleClick(Event_t*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libGui.so
#26 0x00007f953cff0541 in TGFrame::HandleEvent(Event_t*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libGui.so
#27 0x00007f953cfc1698 in TGClient::HandleEvent(Event_t*) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libGui.so
#28 0x00007f953cfc239b in TGClient::ProcessOneEvent() () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libGui.so
#29 0x00007f953cfc240d in TGClient::HandleInput() () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libGui.so
#30 0x00007f95532950e0 in TUnixSystem::DispatchOneEvent(bool) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libCore.so
#31 0x00007f955321e7e6 in TSystem::InnerLoop() () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libCore.so
#32 0x00007f955322019b in TSystem::Run() () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libCore.so
#33 0x00007f95531c7aaf in TApplication::Run(bool) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libCore.so
#34 0x00007f955209119c in TRint::Run(bool) () from /media/MICE/Paul/research/maus/maus0.3.0/third_party/build/root_v5.30.03/lib/libRint.so
#35 0x000000000040106c in main ()

Replicated by rogers on my machine. Turns up in several places...

#1

Updated by Rogers, Chris about 9 years ago

So I fixed a bug in the way we implemented STL vectors. But (#1051). But this looks like something different...

#2

Updated by Rogers, Chris about 9 years ago

From here - so could be a root bug?


2011-11-12 23:43  pcanal

    * [r41951] tree/treeplayer/src/TFormLeafInfo.cxx: Import revision
      41949 from the trunk:
      Avoid segmentation fault when the 1st entry do not have any
      element in a collection and that we are trying to Draw/Scan a
      TClonesArray nested in that collection.
#3

Updated by Rogers, Chris about 9 years ago

  • Status changed from Open to Rejected

Please see #1137. Bottom line is (quite literally)

Okay, so the answer is this is a feature/bug in ROOT and not fixable by us. So rejecting the issue.

Sorry about that.

Also available in: Atom PDF