-
Notifications
You must be signed in to change notification settings - Fork 11
k4LCIOReader crashes when used in standalone application #26
Comments
The same issue also happened with a few other data tiers. In another attempt I replaced the |
What do you mean by relations? LCRelation collections, or something else? |
In this case relations are the |
But the crash also happens when you use |
I added the a changed version using |
I also tried calling |
Our goal is to implement the k4LCIOreader as a standalone application to read and convert LCIO files. We have run into a Segmentation Fault in
edm4hep::ReconstructedParticleCollectionData::setReference
, when trying this on miniDST files. Below is a list of commands to reproduce the error.First you clone the github repository with the minimal reproducer and afterwards source the setup file from the nightlies.hsf to get the environment set up.
git clone --branch lcioedmconv https://gitlab.desy.de/ftx-sft-key4hep/edmconverter.git source /cvmfs/sw-nightlies.hsf.org/spackages5/key4hep-stack/master-2022-08-03/x86_64-centos7-gcc11.2.0-opt/gmz2k/setup.sh
After that is done you build the reproducer.
download the miniDST file
cd .. wget https://desycloud.desy.de/index.php/s/5LmrjGWqziQfMe7/download/rv01-16-p10_250.sv01-14-01-p00.mILD_o1_v05.E250-TDR_ws.I106479.Pe2e2h.eL.pR-00001-ILDminiDST.slcio
The programm is run with gdb to get the seg fault. Without gdb the programm just freezes in our case.
We are unsure whether this issue arises because the miniDST format has some Collections dropped. Or also because it has subset Collections. The Collection used in this case is not a subset Collection, but in a test case using a subset Collection the subset flag did not propagate through the program to the point where the references where set and the same seg fault came up.
The text was updated successfully, but these errors were encountered: