TEventIterTree::GetTrees crash

I got an error with this simple script. It works with 5.24/00 but not with 5.28/00c. You can find the input ROOT file here: precision-turra.mi.infn.it/user. … ple.root.1

I got the same error with a more complex TSelector.

TChain chain("larnt", "larnt");
chain.Add("user.koletsou.001243.EXT0._00196.ntuple.root.1");
p = TProof::Open("");
chain.SetProof();
chain.Draw("ph_convFlag");

15:36:36 29603 Wrk-0.2 | Info in <TProofServLite::Setup>: fWorkDir: /users2/turra/.proof
15:37:20 29603 Wrk-0.2 | Warning in <TClass::TClass>: no dictionary for class AttributeListLayout is available
15:37:20 29603 Wrk-0.2 | Warning in <TClass::TClass>: no dictionary for class pair<string,string> is available
15:37:20 29603 Wrk-0.2 | *** Break ***: segmentation violation
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00000030f1c9a115 in waitpid () from /lib64/libc.so.6
#1  0x00000030f1c3c481 in do_system () from /lib64/libc.so.6
#2  0x00002afbc54c4ce0 in TUnixSystem::StackTrace ()
from /gpfs/storage_4/users/home/proof/root/lib/libCore.so
#3  0x00002afbc54c13db in TUnixSystem::DispatchSignals ()
from /gpfs/storage_4/users/home/proof/root/lib/libCore.so
#4  <signal handler called>
#5  0x00002afbc920a751 in TEventIterTree::GetTrees ()
from /gpfs/storage_4/users/home/proof/root/lib/libProofPlayer.so
#6  0x00002afbc920ae7a in TEventIterTree::GetNextEvent ()
from /gpfs/storage_4/users/home/proof/root/lib/libProofPlayer.so
#7  0x00002afbc923af2e in TProofPlayer::Process ()
from /gpfs/storage_4/users/home/proof/root/lib/libProofPlayer.so
#8  0x00002afbc7a9cbb0 in TProofServ::HandleProcess ()
from /gpfs/storage_4/users/home/proof/root/lib/libProof.so
#9  0x00002afbc7a9e475 in TProofServ::HandleSocketInput ()
from /gpfs/storage_4/users/home/proof/root/lib/libProof.so
#10 0x00002afbc7a8f8d9 in TProofServ::HandleSocketInput ()
from /gpfs/storage_4/users/home/proof/root/lib/libProof.so
#11 0x00002afbc7aa2281 in TProofServLiteInputHandler::Notify ()
from /gpfs/storage_4/users/home/proof/root/lib/libProof.so
#12 0x00002afbc7aa40bd in TProofServLiteInputHandler::ReadNotify ()
from /gpfs/storage_4/users/home/proof/root/lib/libProof.so
#13 0x00002afbc54bd6a3 in TUnixSystem::CheckDescriptors ()
from /gpfs/storage_4/users/home/proof/root/lib/libCore.so
#14 0x00002afbc54c1a09 in TUnixSystem::DispatchOneEvent ()
from /gpfs/storage_4/users/home/proof/root/lib/libCore.so
#15 0x00002afbc5438a55 in TSystem::InnerLoop ()
from /gpfs/storage_4/users/home/proof/root/lib/libCore.so
#16 0x00002afbc543880a in TSystem::Run ()
from /gpfs/storage_4/users/home/proof/root/lib/libCore.so
#17 0x00002afbc53d8d5f in TApplication::Run ()
from /gpfs/storage_4/users/home/proof/root/lib/libCore.so
#18 0x0000000000401a5d in main ()
===========================================================
The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://root.cern.ch/bugs. Please post the ENTIRE stack trace
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#5  0x00002afbc920a751 in TEventIterTree::GetTrees ()
from /gpfs/storage_4/users/home/proof/root/lib/libProofPlayer.so
#6  0x00002afbc920ae7a in TEventIterTree::GetNextEvent ()
from /gpfs/storage_4/users/home/proof/root/lib/libProofPlayer.so
#7  0x00002afbc923af2e in TProofPlayer::Process ()
from /gpfs/storage_4/users/home/proof/root/lib/libProofPlayer.so
#8  0x00002afbc7a9cbb0 in TProofServ::HandleProcess ()
from /gpfs/storage_4/users/home/proof/root/lib/libProof.so
#9  0x00002afbc7a9e475 in TProofServ::HandleSocketInput ()
from /gpfs/storage_4/users/home/proof/root/lib/libProof.so
#10 0x00002afbc7a8f8d9 in TProofServ::HandleSocketInput ()
from /gpfs/storage_4/users/home/proof/root/lib/libProof.so
#11 0x00002afbc7aa2281 in TProofServLiteInputHandler::Notify ()
from /gpfs/storage_4/users/home/proof/root/lib/libProof.so
#12 0x00002afbc7aa40bd in TProofServLiteInputHandler::ReadNotify ()
from /gpfs/storage_4/users/home/proof/root/lib/libProof.so
#13 0x00002afbc54bd6a3 in TUnixSystem::CheckDescriptors ()
from /gpfs/storage_4/users/home/proof/root/lib/libCore.so
#14 0x00002afbc54c1a09 in TUnixSystem::DispatchOneEvent ()
from /gpfs/storage_4/users/home/proof/root/lib/libCore.so
#15 0x00002afbc5438a55 in TSystem::InnerLoop ()
from /gpfs/storage_4/users/home/proof/root/lib/libCore.so
#16 0x00002afbc543880a in TSystem::Run ()
from /gpfs/storage_4/users/home/proof/root/lib/libCore.so
#17 0x00002afbc53d8d5f in TApplication::Run ()
from /gpfs/storage_4/users/home/proof/root/lib/libCore.so
#18 0x0000000000401a5d in main ()
===========================================================
15:37:21 29603 Wrk-0.2 | Error in <TProofServLite::HandleException>: caugth exception triggered by signal '1' <undef>
// --------- End of element log -------------------

Hi,

Does the problem also appear if you run without proof (i.e. TTree::Draw)?

Philippe

[quote=“pcanal”]Hi,

Does the problem also appear if you run without proof (i.e. TTree::Draw)?

Philippe[/quote]

No, it works.

Hi Wiso,

Is this not related by any chance with this Proof precess problem with ATLAS D3PD data ?

Gerri

[quote=“ganis”]Hi Wiso,

Is this not related by any chance with this Proof precess problem with ATLAS D3PD data ?

Gerri[/quote]

yes, exactly. I tried that, but I if move that line (after or before some TProof::SetXXX) the behaviour change. Sometimes it works, sometimes not. Now I put it just before TProof::Process and it works.

Uhmm … can you give an example of TProof::SetXXX changing the behaviour of the TTree cache disabling line?

Gerri