Lockfile needed for certain xml files.
It is possible (though rare) for gstlal_periodic_postcoh_update_detrspmap to update the H1L1V1_detrsp_map.xml while a node is reading it. Which will cause the node to crash.
Example Crash:
Unknown IO errorDim Wrong
H1L1V1_detrsp_map.xml:568: parser error : Extra content at the end of the document
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
^
H1L1V1_detrsp_map.xml : failed to parse
Unable to find U_map_gps_34200:array
Unable to find U_map_gps_36000:array
Unable to find U_map_gps_37800:array
Unable to find U_map_gps_39600:array
Unable to find U_map_gps_41400:array
Unable to find U_map_gps_43200:array
Unable to find U_map_gps_45000:array
Unable to find U_map_gps_46800:array
Unable to find U_map_gps_48600:array
Unable to find U_map_gps_50400:array
Unable to find U_map_gps_52200:array
Unable to find U_map_gps_54000:array
Unable to find U_map_gps_55800:array
Unable to find U_map_gps_57600:array
Unable to find U_map_gps_59400:array
Unable to find U_map_gps_61200:array
Unable to find U_map_gps_63000:array
Unable to find U_map_gps_64800:array
Unable to find U_map_gps_66600:array
Unable to find U_map_gps_68400:array
Unable to find U_map_gps_70200:array
Unable to find U_map_gps_72000:array
Unable to find U_map_gps_73800:array
Unable to find U_map_gps_75600:array
Unable to find U_map_gps_77400:array
Unable to find U_map_gps_79200:array
Unable to find U_map_gps_81000:array
Unable to find U_map_gps_82800:array
Unable to find U_map_gps_84600:array
Unable to find diff_map_gps_34200:array
Unable to find diff_map_gps_36000:array
Unable to find diff_map_gps_37800:array
Unable to find diff_map_gps_39600:array
Unable to find diff_map_gps_41400:array
Unable to find diff_map_gps_43200:array
Unable to find diff_map_gps_45000:array
Unable to find diff_map_gps_46800:array
Unable to find diff_map_gps_48600:array
Unable to find diff_map_gps_50400:array
Unable to find diff_map_gps_52200:array
Unable to find diff_map_gps_54000:array
Unable to find diff_map_gps_55800:array
Unable to find diff_map_gps_57600:array
Unable to find diff_map_gps_59400:array
Unable to find diff_map_gps_61200:array
Unable to find diff_map_gps_63000:array
Unable to find diff_map_gps_64800:array
Unable to find diff_map_gps_66600:array
Unable to find diff_map_gps_68400:array
Unable to find diff_map_gps_70200:array
Unable to find diff_map_gps_72000:array
Unable to find diff_map_gps_73800:array
Unable to find diff_map_gps_75600:array
Unable to find diff_map_gps_77400:array
Unable to find diff_map_gps_79200:array
Unable to find diff_map_gps_81000:array
Unable to find diff_map_gps_82800:array
Unable to find diff_map_gps_84600:array
/home/spiir/manoj/O4_tests/MDC/run-BNS-inj/monitor_pipeline.sh: line 68: 1601335 Segmentation fault (core dumped) ${@:4}
This might also occur with other files, here's an example of a crash due to margilized_stats being written to while read from:
Unknown IO errorDim Wrong
/home/spiir/manoj/O4_tests/MDC/run-NSBH-bg/021/021_marginalized_stats_2h.xml.gz:1286: parser error : Extra content at the end of the document
9741e-272 1.64672e-281 5.88395e-291 1.45863e-300 2.50871e-310 3.02072e-320 0 0 0
^
/home/spiir/manoj/O4_tests/MDC/run-NSBH-bg/021/021_marginalized_stats_2h.xml.gz : failed to parse
Unable to find background_feature:V1_lgsnr_rate:array
Unable to find background_feature:H1L1V1_lgsnr_rate:array
Unable to find background_feature:V1_lgchisq_rate:array
Unable to find background_feature:H1L1V1_lgchisq_rate:array
Unable to find background_feature:V1_lgsnr_lgchisq_rate:array
Unable to find background_feature:H1L1V1_lgsnr_lgchisq_rate:array
Unable to find background_feature:V1_lgsnr_lgchisq_pdf:array
Unable to find background_feature:H1L1V1_lgsnr_lgchisq_pdf:array
Unable to find background_rank:L1_rank_map:array
Unable to find background_rank:V1_rank_map:array
Unable to find background_rank:H1L1V1_rank_map:array
Unable to find background_feature:L1_nevent:param
Unable to find background_feature:V1_nevent:param
Unable to find background_feature:H1L1V1_nevent:param
Unable to find background_feature:L1_livetime:param
Unable to find background_feature:V1_livetime:param
Unable to find background_feature:H1L1V1_livetime:param
Unable to find background_rank:L1_rank_rate:array
Unable to find background_rank:V1_rank_rate:array
Unable to find background_rank:H1L1V1_rank_rate:array
Unable to find background_rank:L1_rank_pdf:array
Unable to find background_rank:V1_rank_pdf:array
Unable to find background_rank:H1L1V1_rank_pdf:array
Unable to find background_rank:L1_rank_fap:array
Unable to find background_rank:V1_rank_fap:array
Unable to find background_rank:H1L1V1_rank_fap:array
Unable to find background_feature:hist_trials:param
/home/spiir/manoj/O4_tests/MDC/run-NSBH-inj/monitor_pipeline.sh: line 68: 3679367 Segmentation fault (core dumped) ${@:4}
Edited by Luke Davis