there is another project that seems to fail because of something similar.
All files to reproduce the error can be found here /work/halld/home/ppauli/test_gabyrod/
This time I don’t think it is caused by multiple eventNo=1, maybe it was a red herring with the previous project?
As in the previous project I can successfully run the REST file when I use analysis-2017_01-ver39.xml instead.
See the terminal output of a crash below.
JANA >>Reading configuration from "ana_jana.cfg" ...
JANA >>OUTPUT_FILENAME: hd_root.root
JANA >>Initializing plugin "/group/halld/Software/builds/Linux_RHEL7-x86_64-gcc4.8.5/halld_recon/halld_recon-4.19.0^jana082/Linux_RHEL7-x86_64-gcc4.8.5/plugins/ReactionFilter.so" ...
Opened ROOT file "hd_root.root" ...
JANA >>Opening source "dana_rest_gen_amp_030274_000.hddm" of type: REST
| This is a REST event stream...
JANA >>Launching threads .
JANA >>Created JCalibration object of type: JCalibrationCCDB
JANA >>Generated via: JCalibration using CCDB for MySQL and SQLite databases
JANA >>Run:30274
JANA >>context: default
JANA >>comment: Default constants for analyzing data
JANA >>Creating DGeometry:
JANA >> Run requested:30274 found:30274
JANA >> Run validity range: 30274-30274
JANA >> Type="JGeometryXML"
JANA >>Found 25 material maps in calib. DB
JANA >>Read in 25 material maps for run 30274 containing 76153 grid points total
JANA >>Run 30274 beam spot: x=0.1745 y=-0.002098 z=65 dx/dz=-0.0005445 dy/dz=-0.0003837
Created TGeoManager :0x7f5ff108d070
JANA >>Reading Magnetic field map from Magnets/Solenoid/solenoid_1350A_poisson_20160222 ...
Nx=221 Ny=1 Nz=701 ) at 0x7f5ff24200e0d) 0.0Hz (avg.: 0.0Hz)
Reading fine-mesh B-field data from /group/halld/www/halldweb/html/resources/Magnets/Solenoid/finemeshes/solenoid_1350A_poisson_20160222
rmin: 0 rmax: 88.5 dr: 0.1 zmin: 0 zmax: 600 dz: 0.1vg.: 0.0Hz)
Number of points in z = 6000
Number of points in r = 885
JANA >>154921 entries found (Created Magnetic field map of type DMagneticFieldMapFineMesh
src/JANA/
JGeometryXML.cc:347 Node or attribute not found for xpath "//section/composition/posXYZ[@volume='DIRC']/@X_Y_Z".
src/JANA/
JGeometryXML.cc:347 Node or attribute not found for xpath "//section/composition/posXYZ[@volume='TRDGEM']/@X_Y_Z".
JANA >> Beam spot: x=0.1745 y=-0.002098 z=65 dx/dz=-0.0005445 dy/dz=-0.0003837
JANA >>vertex constraint: <none>
src/JANA/
JGeometryXML.cc:347 Node or attribute not found for xpath "//composition[@name='forwardTOF_bottom3']/mposY[@volume='FTOL']/@ncopy".
src/JANA/
JGeometryXML.cc:347 Node or attribute not found for xpath "//composition[@name='forwardTOF_top3']/mposY[@volume='FTOL']/@ncopy".
src/JANA/
JGeometryXML.cc:347 Node or attribute not found for xpath "//composition[@name='forwardTOF_bottom3']/mposY[@volume='FTOL']/@ncopy".
src/JANA/
JGeometryXML.cc:347 Node or attribute not found for xpath "//composition[@name='forwardTOF_top3']/mposY[@volume='FTOL']/@ncopy".
ReactionFilter: Reaction: ksks__B4_M16
Photon_Proton__KShort_KShort_Proton
KShort__Pi-_Pi+
KShort__Pi-_Pi+
Error [1270]: in [MySQLDataProvider::GetAssignmentShort(int, const string&, time_t, const string&)] No data was selected. Table '/PHOTON_BEAM/hodoscope/endpoint_calib' for run='30274', timestampt='0' and variation='default'
JANA >>
JANA >> --- Configuration Parameters --
JANA >> JANA:RESOURCE_DEFAULT_PATH =
JANA >> PLUGINS = ReactionFilter
JANA >> Reaction1 = 1_14__16_16_14
JANA >> Reaction1:Flags = B4_M16
JANA >> THREAD_TIMEOUT = 30 seconds
JANA >> -------------------------------
JANA ERROR>> didn't sleep full 0.5 seconds! 0.0Hz (avg.: 0.2Hz)
2.0 events processed (12.0 events read) 0.0Hz (avg.: 0.2Hz)
===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
Thread 3 (Thread 0x7f6005af0700 (LWP 3035)):
#0 0x00007f60207a4945 in pthread_cond_wait
GLIBC_2.3.2 () from /lib64/libpthread.so.0
#1 0x00000000010e5ad0 in jana::JApplication::EventBufferThread (this=this
#2 0x00000000010e5d99 in LaunchEventBufferThread (arg=0x7ffe72c4b700) at src/JANA/
JApplication.cc:666#3 0x00007f60207a0dd5 in start_thread () from /lib64/libpthread.so.0
#4 0x00007f601faa7b3d in clone () from /lib64/libc.so.6
Thread 2 (Thread 0x7f60052ef700 (LWP 3038)):
#0 0x00007f601fa6e159 in waitpid () from /lib64/libc.so.6
#1 0x00007f601f9ebde2 in do_system () from /lib64/libc.so.6
#2 0x00007f601f9ec191 in system () from /lib64/libc.so.6
#3 0x00007f6026355b19 in TUnixSystem::StackTrace (this=0x336a8e0) at /u/group/halld/Software/builds/Linux_RHEL7-x86_64-gcc4.8.5/root/root-6.08.06/core/unix/src/TUnixSystem.cxx:2405
#4 0x00007f60263583ec in TUnixSystem::DispatchSignals (this=0x336a8e0, sig=kSigSegmentationViolation) at /u/group/halld/Software/builds/Linux_RHEL7-x86_64-gcc4.8.5/root/root-6.08.06/core/unix/src/TUnixSystem.cxx:3625
#5 <signal handler called>
#6 mass (this=0x0) at libraries/PID/DKinematicData.h:44
#7 energy (this=0x0) at libraries/PID/DKinematicData.h:60
#8 DEventWriterROOT::Fill_BeamData (this=this
entry=0x7f5ff85639e0, locTreeFillData=locTreeFillData
entry=0x7f5fdb7684b0, locArrayIndex=locArrayIndex
entry=0, locBeamPhoton=0x7f5fd2025f60, locVertex=locVertex
entry=0x7f5fe1bc1670, locMCThrownMatching=locMCThrownMatching
#9 0x0000000000734009 in DEventWriterROOT::Fill_DataTree (this=this
entry=0x7f5ff85639e0, locEventLoop=locEventLoop
entry=0x7f5ff80008c0, locReaction=0x7f5fdb72e540, locParticleCombos=std::deque with 2 elements = {...}) at libraries/ANALYSIS/
DEventWriterROOT.cc:1201#10 0x000000000073576e in DEventWriterROOT::Fill_DataTrees (this=this
entry=0x7f5ff85639e0, locEventLoop=locEventLoop
#11 0x00007f60184aee02 in DEventProcessor_ReactionFilter::evnt (this=<optimized out>, locEventLoop=0x7f5ff80008c0, locEventNumber=<optimized out>) at plugins/Analysis/ReactionFilter/
DEventProcessor_ReactionFilter.cc:75#12 0x000000000110051a in jana::JEventLoop::OneEvent (this=this
#13 0x00000000011014b4 in jana::JEventLoop::Loop (this=this
#15 0x00007f60207a0dd5 in start_thread () from /lib64/libpthread.so.0
#16 0x00007f601faa7b3d in clone () from /lib64/libc.so.6
Thread 1 (Thread 0x7f6027145240 (LWP 2998)):
#0 0x00007f60207a7eed in nanosleep () from /lib64/libpthread.so.0
#1 0x00000000010e193d in jana::JApplication::Run (this=this
entry=0x7ffe72c4b700, proc=proc
entry=0x3424a90, Nthreads=<optimized out>, Nthreads
#2 0x00000000006622fc in main (narg=3, argv=0x7ffe72c4bd68) at programs/Analysis/hd_root/
hd_root.cc:45===========================================================
The lines below might hint at the cause of the crash.
Only if you are really convinced it is a bug in ROOT then please submit a
from above as an attachment in addition to anything else
that might help us fixing this issue.
===========================================================
#6 mass (this=0x0) at libraries/PID/DKinematicData.h:44
#7 energy (this=0x0) at libraries/PID/DKinematicData.h:60
#8 DEventWriterROOT::Fill_BeamData (this=this
entry=0x7f5ff85639e0, locTreeFillData=locTreeFillData
entry=0x7f5fdb7684b0, locArrayIndex=locArrayIndex
entry=0, locBeamPhoton=0x7f5fd2025f60, locVertex=locVertex
entry=0x7f5fe1bc1670, locMCThrownMatching=locMCThrownMatching
#9 0x0000000000734009 in DEventWriterROOT::Fill_DataTree (this=this
entry=0x7f5ff85639e0, locEventLoop=locEventLoop
entry=0x7f5ff80008c0, locReaction=0x7f5fdb72e540, locParticleCombos=std::deque with 2 elements = {...}) at libraries/ANALYSIS/
DEventWriterROOT.cc:1201#10 0x000000000073576e in DEventWriterROOT::Fill_DataTrees (this=this
entry=0x7f5ff85639e0, locEventLoop=locEventLoop
#11 0x00007f60184aee02 in DEventProcessor_ReactionFilter::evnt (this=<optimized out>, locEventLoop=0x7f5ff80008c0, locEventNumber=<optimized out>) at plugins/Analysis/ReactionFilter/
DEventProcessor_ReactionFilter.cc:75#12 0x000000000110051a in jana::JEventLoop::OneEvent (this=this
#13 0x00000000011014b4 in jana::JEventLoop::Loop (this=this
#15 0x00007f60207a0dd5 in start_thread () from /lib64/libpthread.so.0
#16 0x00007f601faa7b3d in clone () from /lib64/libc.so.6
===========================================================