TProofBenchRunDataRead problem

I’m trying to use TProofBenchRunDataRead with ROOT 5.30/06. I’ve never used dataset in proof, so I’m using the getCollection macro as in the tutorial (this seems to work)

.L getCollection.C 
a = getCollection()
p = TProof::Open("")
p->RegisterDataSet("h1set", a)
p->VerifyDataSet("h1set")
TProofBenchDataSet pbds(p)
TProofBenchRunDataRead r(&pbds)
r.Run("h1set")

I get this message and crash:


Info in <TProofBenchRunDataRead::Run>: Uploading '/usr/share/root/proof/proofbench/ProofBenchDataSel.par' ...
Info in <TProofBenchRunDataRead::Run>: Enabling 'ProofBenchDataSel' ...
Info in <TUnixSystem::ACLiC>: creating shared library /home/turra/.proof/packages/ProofBenchDataSel/./Event_cxx.so
Info in <TUnixSystem::ACLiC>: creating shared library /home/turra/.proof/packages/ProofBenchDataSel/./TSelHandleDataSet_cxx.so
Info in <TUnixSystem::ACLiC>: creating shared library /home/turra/.proof/packages/ProofBenchDataSel/./TSelEvent_cxx.so
Info in <TUnixSystem::ACLiC>: creating shared library /home/turra/.proof/packages/ProofBenchDataSel/./TSelEventGen_cxx.so
Info in <TProofBenchRunDataRead::Run>: Running IO-bound tests on dataset 'h1set'; 1 ~ 4 active worker(s), every 1 worker(s).
PROOF set to parallel mode (1 worker)
PROOF set to parallel mode (1 worker)
Error in <TMD5::AsString>: Final() has not yet been called
Error in <TMD5::AsString>: Final() has not yet been called
Error in <TMD5::AsString>: Final() has not yet been called
Error in <TMD5::AsString>: Final() has not yet been called
Collection name='TMap', class='TMap', size=1
 Key:   TObjString = http://lxroot01.cern.ch:80
 Value: TFileCollection h1set - subset of 'h1set' on server http://lxroot01.cern.ch:80 contains: 4 files with a size of 277298426 bytes, 100.0 % staged - default tree name: '/h42'
Collection name='TMap', class='TMap', size=1
 Key:   TObjString = localhost.localdomain
 Value:  Collection name='localhost.localdomain', class='TList', size=1
 number of files needed (ideally): 2 (2 per worker)
TFileCollection h1set_1_0 -  contains: 0 files with a size of 0 bytes, 0.0 % staged - default tree name: '(null)'
TFileCollection h1set_1_0 -  contains: 0 files with a size of 0 bytes, 0.0 % staged - default tree name: '(null)'
The collection contains the following files:
Collection name='THashList', class='THashList', size=0
Error in <TProofLite::RegisterDataSet>: can not save an empty list.
Error in <TList::AddLast>: argument is a null pointer
TFileCollection h1set_1_0 -  contains: 0 files with a size of 0 bytes, 0.0 % staged - default tree name: '(null)'
The collection contains the following files:
Collection name='THashList', class='THashList', size=0
Info in <TProofBenchRunDataRead::Run>: Running IO-bound tests with 1 active worker(s); trial 1/2
Info in <TFileCollection::GetFilesPerServer>: the list is empty - do nothing
Error in <TProofBenchDataSet::Handle>: could not create map with per-server info for dataset 'h1set_1_0'
Error in <TProofBenchDataSet::ReleaseCache>: problems clearing cache for 'h1set_1_0'
Info in <TProofBenchRunDataRead::Run>: Processing data set h1set_1_0 with 1 active worker(s).
Error in <TProofLite::Process>: no files to process!
Warning in <TProofBenchRunDataRead::Run>: PROOF_PerfStats: tree not found
Info in <TProofBenchRunDataRead::Run>: Running IO-bound tests with 1 active worker(s); trial 2/2
Info in <TFileCollection::GetFilesPerServer>: the list is empty - do nothing
Error in <TProofBenchDataSet::Handle>: could not create map with per-server info for dataset 'h1set_1_0'
Error in <TProofBenchDataSet::ReleaseCache>: problems clearing cache for 'h1set_1_0'
Info in <TProofBenchRunDataRead::Run>: Processing data set h1set_1_0 with 1 active worker(s).
Error in <TProofLite::Process>: no files to process!
Warning in <TProofBenchRunDataRead::Run>: PROOF_PerfStats: tree not found
PROOF set to parallel mode (2 workers)
PROOF set to parallel mode (2 workers)
Error in <TMD5::AsString>: Final() has not yet been called
Error in <TMD5::AsString>: Final() has not yet been called
Error in <TMD5::AsString>: Final() has not yet been called
Error in <TMD5::AsString>: Final() has not yet been called
Collection name='TMap', class='TMap', size=1
 Key:   TObjString = http://lxroot01.cern.ch:80
 Value: TFileCollection h1set - subset of 'h1set' on server http://lxroot01.cern.ch:80 contains: 4 files with a size of 277298426 bytes, 100.0 % staged - default tree name: '/h42'
Collection name='TMap', class='TMap', size=1
 Key:   TObjString = localhost.localdomain
 Value:  Collection name='localhost.localdomain', class='TList', size=2
 number of files needed (ideally): 4 (2 per worker)
TFileCollection h1set_2_0 -  contains: 0 files with a size of 0 bytes, 0.0 % staged - default tree name: '(null)'
TFileCollection h1set_2_0 -  contains: 0 files with a size of 0 bytes, 0.0 % staged - default tree name: '(null)'
The collection contains the following files:
Collection name='THashList', class='THashList', size=0
Error in <TProofLite::RegisterDataSet>: can not save an empty list.
Error in <TList::AddLast>: argument is a null pointer
TFileCollection h1set_2_0 -  contains: 0 files with a size of 0 bytes, 0.0 % staged - default tree name: '(null)'
The collection contains the following files:
Collection name='THashList', class='THashList', size=0
Info in <TProofBenchRunDataRead::Run>: Running IO-bound tests with 2 active worker(s); trial 1/2
Info in <TFileCollection::GetFilesPerServer>: the list is empty - do nothing
Error in <TProofBenchDataSet::Handle>: could not create map with per-server info for dataset 'h1set_2_0'
Error in <TProofBenchDataSet::ReleaseCache>: problems clearing cache for 'h1set_2_0'
Info in <TProofBenchRunDataRead::Run>: Processing data set h1set_2_0 with 2 active worker(s).
Error in <TProofLite::Process>: no files to process!
Warning in <TProofBenchRunDataRead::Run>: PROOF_PerfStats: tree not found
Info in <TProofBenchRunDataRead::Run>: Running IO-bound tests with 2 active worker(s); trial 2/2
Info in <TFileCollection::GetFilesPerServer>: the list is empty - do nothing
Error in <TProofBenchDataSet::Handle>: could not create map with per-server info for dataset 'h1set_2_0'
Error in <TProofBenchDataSet::ReleaseCache>: problems clearing cache for 'h1set_2_0'
Info in <TProofBenchRunDataRead::Run>: Processing data set h1set_2_0 with 2 active worker(s).
Error in <TProofLite::Process>: no files to process!
Warning in <TProofBenchRunDataRead::Run>: PROOF_PerfStats: tree not found
PROOF set to parallel mode (3 workers)
PROOF set to parallel mode (3 workers)
Error in <TMD5::AsString>: Final() has not yet been called
Error in <TMD5::AsString>: Final() has not yet been called
Error in <TMD5::AsString>: Final() has not yet been called
Error in <TMD5::AsString>: Final() has not yet been called
Collection name='TMap', class='TMap', size=1
 Key:   TObjString = http://lxroot01.cern.ch:80
 Value: TFileCollection h1set - subset of 'h1set' on server http://lxroot01.cern.ch:80 contains: 4 files with a size of 277298426 bytes, 100.0 % staged - default tree name: '/h42'
Collection name='TMap', class='TMap', size=1
 Key:   TObjString = localhost.localdomain
 Value:  Collection name='localhost.localdomain', class='TList', size=3
 number of files needed (ideally): 6 (2 per worker)
TFileCollection h1set_3_0 -  contains: 0 files with a size of 0 bytes, 0.0 % staged - default tree name: '(null)'
TFileCollection h1set_3_0 -  contains: 0 files with a size of 0 bytes, 0.0 % staged - default tree name: '(null)'
The collection contains the following files:
Collection name='THashList', class='THashList', size=0
Error in <TProofLite::RegisterDataSet>: can not save an empty list.
Error in <TList::AddLast>: argument is a null pointer
TFileCollection h1set_3_0 -  contains: 0 files with a size of 0 bytes, 0.0 % staged - default tree name: '(null)'
The collection contains the following files:
Collection name='THashList', class='THashList', size=0
Info in <TProofBenchRunDataRead::Run>: Running IO-bound tests with 3 active worker(s); trial 1/2
Info in <TFileCollection::GetFilesPerServer>: the list is empty - do nothing
Error in <TProofBenchDataSet::Handle>: could not create map with per-server info for dataset 'h1set_3_0'
Error in <TProofBenchDataSet::ReleaseCache>: problems clearing cache for 'h1set_3_0'
Info in <TProofBenchRunDataRead::Run>: Processing data set h1set_3_0 with 3 active worker(s).
Error in <TProofLite::Process>: no files to process!
Warning in <TProofBenchRunDataRead::Run>: PROOF_PerfStats: tree not found
Info in <TProofBenchRunDataRead::Run>: Running IO-bound tests with 3 active worker(s); trial 2/2
Info in <TFileCollection::GetFilesPerServer>: the list is empty - do nothing
Error in <TProofBenchDataSet::Handle>: could not create map with per-server info for dataset 'h1set_3_0'
Error in <TProofBenchDataSet::ReleaseCache>: problems clearing cache for 'h1set_3_0'
Info in <TProofBenchRunDataRead::Run>: Processing data set h1set_3_0 with 3 active worker(s).
Error in <TProofLite::Process>: no files to process!
Warning in <TProofBenchRunDataRead::Run>: PROOF_PerfStats: tree not found
PROOF set to parallel mode (4 workers)
PROOF set to parallel mode (4 workers)
Error in <TMD5::AsString>: Final() has not yet been called
Error in <TMD5::AsString>: Final() has not yet been called
Error in <TMD5::AsString>: Final() has not yet been called
Error in <TMD5::AsString>: Final() has not yet been called
Collection name='TMap', class='TMap', size=1
 Key:   TObjString = http://lxroot01.cern.ch:80
 Value: TFileCollection h1set - subset of 'h1set' on server http://lxroot01.cern.ch:80 contains: 4 files with a size of 277298426 bytes, 100.0 % staged - default tree name: '/h42'
Collection name='TMap', class='TMap', size=1
 Key:   TObjString = localhost.localdomain
 Value:  Collection name='localhost.localdomain', class='TList', size=4
 number of files needed (ideally): 8 (2 per worker)
TFileCollection h1set_4_0 -  contains: 0 files with a size of 0 bytes, 0.0 % staged - default tree name: '(null)'
TFileCollection h1set_4_0 -  contains: 0 files with a size of 0 bytes, 0.0 % staged - default tree name: '(null)'
The collection contains the following files:
Collection name='THashList', class='THashList', size=0
Error in <TProofLite::RegisterDataSet>: can not save an empty list.
Error in <TList::AddLast>: argument is a null pointer
TFileCollection h1set_4_0 -  contains: 0 files with a size of 0 bytes, 0.0 % staged - default tree name: '(null)'
The collection contains the following files:
Collection name='THashList', class='THashList', size=0
Info in <TProofBenchRunDataRead::Run>: Running IO-bound tests with 4 active worker(s); trial 1/2
Info in <TFileCollection::GetFilesPerServer>: the list is empty - do nothing
Error in <TProofBenchDataSet::Handle>: could not create map with per-server info for dataset 'h1set_4_0'
Error in <TProofBenchDataSet::ReleaseCache>: problems clearing cache for 'h1set_4_0'
Info in <TProofBenchRunDataRead::Run>: Processing data set h1set_4_0 with 4 active worker(s).
Error in <TProofLite::Process>: no files to process!
Warning in <TProofBenchRunDataRead::Run>: PROOF_PerfStats: tree not found
Info in <TProofBenchRunDataRead::Run>: Running IO-bound tests with 4 active worker(s); trial 2/2
Info in <TFileCollection::GetFilesPerServer>: the list is empty - do nothing
Error in <TProofBenchDataSet::Handle>: could not create map with per-server info for dataset 'h1set_4_0'
Error in <TProofBenchDataSet::ReleaseCache>: problems clearing cache for 'h1set_4_0'
Info in <TProofBenchRunDataRead::Run>: Processing data set h1set_4_0 with 4 active worker(s).
Error in <TProofLite::Process>: no files to process!
Warning in <TProofBenchRunDataRead::Run>: PROOF_PerfStats: tree not found

 *** Break *** segmentation violation



===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x0000003d58abd3be in waitpid () from /lib64/libc.so.6
#1  0x0000003d58a4210e in do_system () from /lib64/libc.so.6
#2  0x00000030a2c483dd in TUnixSystem::StackTrace() () from /usr/lib64/root/libCore.so.5.30
#3  0x00000030a2c4aca3 in TUnixSystem::DispatchSignals(ESignals) () from /usr/lib64/root/libCore.so.5.30
#4  <signal handler called>
#5  0x00007ff1af89b86c in TProofBenchRunDataRead::Run(char const*, int, int, int, int, int, int) () from /usr/lib64/root/libProofBench.so
#6  0x00007ff1af8abd82 in ?? () from /usr/lib64/root/libProofBench.so
#7  0x00000030a352f9fb in Cint::G__ExceptionWrapper(int (*)(G__value*, char const*, G__param*, int), G__value*, char*, G__param*, int) () from /usr/lib64/root/libCint.so.5.30
#8  0x00000030a3491bc1 in G__execute_call () from /usr/lib64/root/libCint.so.5.30
#9  0x00000030a3491fae in G__call_cppfunc () from /usr/lib64/root/libCint.so.5.30
#10 0x00000030a34ca657 in G__interpret_func () from /usr/lib64/root/libCint.so.5.30
#11 0x00000030a348dde6 in G__getfunction () from /usr/lib64/root/libCint.so.5.30
#12 0x00000030a35177c0 in G__getstructmem(int, G__FastAllocString&, char*, int, char*, int*, G__var_array*, int) () from /usr/lib64/root/libCint.so.5.30
#13 0x00000030a350dede in G__getvariable () from /usr/lib64/root/libCint.so.5.30
#14 0x00000030a34eca8b in G__getitem () from /usr/lib64/root/libCint.so.5.30
#15 0x00000030a34f3168 in G__getexpr () from /usr/lib64/root/libCint.so.5.30
#16 0x00000030a355fd4c in G__exec_statement () from /usr/lib64/root/libCint.so.5.30
#17 0x00000030a34dcc13 in ?? () from /usr/lib64/root/libCint.so.5.30
#18 0x00000030a34de3ae in G__exec_tempfile_fp () from /usr/lib64/root/libCint.so.5.30
#19 0x00000030a357e697 in G__process_cmd () from /usr/lib64/root/libCint.so.5.30
#20 0x00000030a2c171ca in TCint::ProcessLine(char const*, TInterpreter::EErrorCode*) () from /usr/lib64/root/libCore.so.5.30
#21 0x00000030a2b78cd9 in TApplication::ProcessLine(char const*, bool, int*) () from /usr/lib64/root/libCore.so.5.30
#22 0x00000030a741d5b9 in TRint::HandleTermInput() () from /usr/lib64/root/libRint.so.5.30
#23 0x00000030a2c49cbc in TUnixSystem::CheckDescriptors() () from /usr/lib64/root/libCore.so.5.30
#24 0x00000030a2c4b416 in TUnixSystem::DispatchOneEvent(bool) () from /usr/lib64/root/libCore.so.5.30
#25 0x00000030a2bc5b76 in TSystem::InnerLoop() () from /usr/lib64/root/libCore.so.5.30
#26 0x00000030a2bc7814 in TSystem::Run() () from /usr/lib64/root/libCore.so.5.30
#27 0x00000030a2b770af in TApplication::Run(bool) () from /usr/lib64/root/libCore.so.5.30
#28 0x00000030a741dfc2 in TRint::Run(bool) () from /usr/lib64/root/libRint.so.5.30
#29 0x0000000000400fac 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  0x00007ff1af89b86c in TProofBenchRunDataRead::Run(char const*, int, int, int, int, int, int) () from /usr/lib64/root/libProofBench.so
#6  0x00007ff1af8abd82 in ?? () from /usr/lib64/root/libProofBench.so
===========================================================

Hi,

Which tutorial are you referring too?
Anyhow, the new TProofBench suite does not run by default on the H1 set.
Please have a look at root.cern.ch/drupal/content/proo … proofbench .

G. Ganis

[quote=“ganis”]Hi,

Which tutorial are you referring too?
Anyhow, the new TProofBench suite does not run by default on the H1 set.
Please have a look at root.cern.ch/drupal/content/proo … proofbench .

G. Ganis[/quote]

This tutorial: root.cern.ch/drupal/content/working-data-sets, you can find the getCollection.C link