FCAL LED crash

3 views
Skip to first unread message

Shepherd, Matthew

unread,
Apr 12, 2022, 12:50:16 PM4/12/22
to GlueX Software Help

Hi all,

I'm trying to process some FCAL LED skim files on the farm. I setup my environment with this command:

source /group/halld/Software/build_scripts/gluex_env_boot_jlab.csh
gxenv

Then run:

hd_root -PPLUGINS=FCALLEDTree -o test.root /cache/halld/RunPeriod-2021-08/calib/ver01/FCAL-LED/Run081659/hd_rawdata_081659_000.FCAL-LED.evio

This seems to work, but then crashes on exit and the file test.root is only 641 bytes. Below is the crash message.

Any advice would be appreciated!

Matt



JANA >> --- Configuration Parameters --
JANA >> OUTPUT_FILENAME = test.root
JANA >> PLUGINS = FCALLEDTree
JANA >> THREAD_TIMEOUT = 30 seconds
JANA >> -------------------------------
No more eventsprocessed (3.8k events read) 70.0Hz (avg.: 61.8Hz)
JANA >>events processed (4.0k events read) 86.0Hz (avg.: 62.3Hz)
JANA >>No more event sources
JANA >>Thread 0x7fd6befe6700 completed gracefully: Tue Apr 12 12:44:19 2022
JANA >>Merging thread 0 (0x7fd6befe6700) ...

EVIO Processing rate = 57.876 Hz
NDISPATCHER_STALLED = 60841 (88.9%)
NPARSER_STALLED = 110885 (81.0%)
NEVENTBUFF_STALLED = 19 ( 0.0%)

EVIO Statistics for /cache/halld/RunPeriod-2021-08/calib/ver01/FCAL-LED/Run081659/hd_rawdata_081659_000.FCAL-LED.evio :
------------------------
Nblocks: 1405
Nevents: 3961
Nerrors: 0
Nbad_blocks: 0
Nbad_events: 0




===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0 0x00007fd6d80c64b9 in waitpid () from /lib64/libc.so.6
#1 0x00007fd6d8043f62 in do_system () from /lib64/libc.so.6
#2 0x00007fd6d8044311 in system () from /lib64/libc.so.6
#3 0x00007fd6dfa0c124 in TUnixSystem::StackTrace() () from /group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/root/root-6.24.04/lib/libCore.so
#4 0x00007fd6dfa0dd9a in TUnixSystem::DispatchSignals(ESignals) () from /group/halld/Software/builds/Linux_CentOS7.7-x86_64-gcc4.8.5/root/root-6.24.04/lib/libCore.so
#5 <signal handler called>
#6 0x00007fd6bfff43c9 in JEventProcessor_FCALLEDTree::fini (this=0x360c570) at plugins/Calibration/FCALLEDTree/JEventProcessor_FCALLEDTree.cc:179
#7 0x00000000011c32f2 in jana::JApplication::Fini (this=0x7ffcc5fdcf90, check_fini_called_flag=<optimized out>) at src/JANA/JApplication.cc:1921
#8 0x00000000011c0dd0 in jana::JApplication::Run (this=this
entry=0x7ffcc5fdcf90, proc=proc
entry=0x3609c70, Nthreads=<optimized out>, Nthreads
entry=0) at src/JANA/JApplication.cc:1846
#9 0x0000000000687dec in main (narg=3, argv=0x7ffcc5fdd5f8) at programs/Analysis/hd_root/hd_root.cc:46
===========================================================


The lines below might hint at the cause of the crash.
You may get help by asking at the ROOT forum https://root.cern.ch/forum
Only if you are really convinced it is a bug in ROOT then please submit a
report at https://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.
===========================================================
#6 0x00007fd6bfff43c9 in JEventProcessor_FCALLEDTree::fini (this=0x360c570) at plugins/Calibration/FCALLEDTree/JEventProcessor_FCALLEDTree.cc:179
#7 0x00000000011c32f2 in jana::JApplication::Fini (this=0x7ffcc5fdcf90, check_fini_called_flag=<optimized out>) at src/JANA/JApplication.cc:1921
#8 0x00000000011c0dd0 in jana::JApplication::Run (this=this
entry=0x7ffcc5fdcf90, proc=proc
entry=0x3609c70, Nthreads=<optimized out>, Nthreads
entry=0) at src/JANA/JApplication.cc:1846
#9 0x0000000000687dec in main (narg=3, argv=0x7ffcc5fdd5f8) at programs/Analysis/hd_root/hd_root.cc:46
===========================================================


igal jaegle.

unread,
Apr 12, 2022, 1:23:23 PM4/12/22
to Shepherd, Matthew, GlueX Software Help
At  line179 you have to add the flag if (btree == 1) then it should work.

tks ig.

--
You received this message because you are subscribed to the Google Groups "GlueX Software Help" group.
To unsubscribe from this group and stop receiving emails from it, send an email to gluex-softwar...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/gluex-software/1D407E1C-4F22-462D-9279-2CF283104A8D%40indiana.edu.

Shepherd, Matthew

unread,
Apr 12, 2022, 1:29:13 PM4/12/22
to igal jaegle., GlueX Software Help

OK, I see... that's a bug. This code has been altered a little from my original.

I actually want the tree, so this command works without crashing.

hd_root -PFCALLED:Tree=1 -PPLUGINS=FCALLEDTree -o test.root /cache/halld/RunPeriod-2021-08/calib/ver01/FCAL-LED/Run081659/hd_rawdata_081659_000.FCAL-LED.evio

The repository copy should probably get fixed.

Matt
Reply all
Reply to author
Forward
0 new messages