Print

Print


Hi,

When analyzing recent files made from the DST maker in either of these places:

/u/group/hps/hps_soft/hps-dst/centos7-64/bin/dst_maker
/u/group/hps/hps_soft/hps-dst/build_new/bin/dst_maker

It causes a crash when getMomentum() or getCharge() is called on an SvtTrack object:

===========================================================
There was a crash.
This is the entire stack trace of all threads:
===========================================================
#0  0x00007efc2a30203c in waitpid () from /lib64/libc.so.6
#1  0x00007efc2a287092 in do_system () from /lib64/libc.so.6
#2  0x00007efc2ed64949 in TUnixSystem::StackTrace (this=0x16970c0) at /apps/root/5.34.36/root/core/unix/src/TUnixSystem.cxx:2419
#3  0x00007efc2ed6658c in TUnixSystem::DispatchSignals (this=0x16970c0, sig=kSigSegmentationViolation) at /apps/root/5.34.36/root/core/unix/src/TUnixSystem.cxx:1294
#4  <signal handler called>
#5  HpsParticle::getMomentum (this=0x0) at /home/hps/hps_soft/hps-dst/hps-dst/src/hps_event/HpsParticle.cxx:164
#6  0x00007efc2f4f8bfe in SvtTrack::getMomentum (this=0x28c3570) at /home/hps/hps_soft/hps-dst/hps-dst/src/hps_event/SvtTrack.cxx:127
#7  0x00000000004078ec in main ()
===========================================================


The lines below might hint at the cause of the crash.
If they do not help you then please submit a bug report at
http://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.
===========================================================
#5  HpsParticle::getMomentum (this=0x0) at /home/hps/hps_soft/hps-dst/hps-dst/src/hps_event/HpsParticle.cxx:164
#6  0x00007efc2f4f8bfe in SvtTrack::getMomentum (this=0x28c3570) at /home/hps/hps_soft/hps-dst/hps-dst/src/hps_event/SvtTrack.cxx:127
#7  0x00000000004078ec in main ()
===========================================================



The culprit seems to be this part of the code in SvtTrack.cxx:


int SvtTrack::getBlah() {
    if (fs_particle == NULL) return 9999;
    return ((HpsParticle*) this->fs_particle.GetObject())->getBlah();
}


Files that were made around June 1 with the same DST maker work fine.

Did something change since then?


-Bradley




Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1