Processing multiple files
Dear LArSoft experts,
I am having trouble including multiple files as source to a larsoft job. I am pretty sure this was not a problem in v04_10_00 but it shows up in v04_11_00. I first noticed it with my argoneut jobs and I was able to reproduce it with uboonecode. To reproduce it, one need to login uboonegpvm node and do the following:
setup uboonecode v04_11_00 -q e7:debug
lar -c standard_g4_uboone.fcl -S /uboone/app/users/tjyang/larsoft_dev/job/muminus.txt -n 20
The txt list has two input files, each has 10 events. I was able to process each file one by one but when I tried to process both of them in the same lar job, I got a segfault in the end.
#1 Updated by Lynn Garren about 4 years ago
larsoft v04_11_00 is the first release of larsoft to use art v1_14_02.
#2 Updated by Kyle Knoepfel about 4 years ago
We have been able to reproduce this error by two independent art processes: yours, and one from Herb Greenlee. Running
valgrind over Herb's process, two memory issues have been reported: one of which is real and present in the art code. It is a minor error, however, and fixing that error did not yield any change in behavior. The other issue reported is an "Invalid read of size 4" that seemingly originates from the
OpticalFEM_module.cc. This error is likely spurious, however.
Continuing to debug and will notify you when the culprit has been found.