Skip to Content.
Sympa Menu

sphenix-tracking-l - Re: [Sphenix-tracking-l] jenkins crashes

sphenix-tracking-l AT lists.bnl.gov

Subject: sPHENIX tracking discussion

List archive

Chronological Thread  
  • From: "Huang, Jin" <jhuang AT bnl.gov>
  • To: "Pinkenburg, Christopher" <pinkenbu AT bnl.gov>, sphenix-tracking <sphenix-tracking-l AT lists.bnl.gov>
  • Subject: Re: [Sphenix-tracking-l] jenkins crashes
  • Date: Thu, 28 Apr 2022 03:06:04 +0000

Hi Chris and Joe

Oh, interesting. I actually bumped into the same problem in
https://github.com/sPHENIX-Collaboration/coresoftware/pull/1490
And implemented a fix at this line:
https://github.com/sPHENIX-Collaboration/coresoftware/pull/1490/files#diff-f579f493152e70c2fcdf5cff4f2485d55dc1cca3db78dff19ba17bfd05870182R229

I still have trouble to validate this PR with the MDC2 Run4 data and adding
small changes. But if it pass Jenkins for the default macro, welcome to merge
it.

Cheers

Jin


______________________________

Jin HUANG

Physicist, Ph.D.
Brookhaven National Laboratory
Physics Department, Bldg 510 C
Upton, NY 11973-5000

Office: 631-344-5898
Cell:   757-604-9946
______________________________

-----Original Message-----
From: sPHENIX-tracking-l <sphenix-tracking-l-bounces AT lists.bnl.gov> On Behalf
Of pinkenburg via sPHENIX-tracking-l
Sent: Wednesday, April 27, 2022 10:47 PM
To: sphenix-tracking <sphenix-tracking-l AT lists.bnl.gov>
Subject: [Sphenix-tracking-l] jenkins crashes

Hi folks,

I reran the macro which kept crashing in jenkins randomly with the random
seeds I found in the log. It segfaults in the evaluator when doing --itr in
the tenth event:
#2  SvtxTrackEval::max_truth_particle_by_nclusters(SvtxTrack*) ()
    at
/home/phnxbld/sPHENIX/gcc-8.3/new/source/coresoftware/simulation/g4simulation/g4eval/SvtxTrackEval.cc:230


226      if(_recoTruthMap != nullptr)
227        {
228          SvtxPHG4ParticleMap::WeightedTruthTrackMap map =
_recoTruthMap->get(track->get_id());
229          auto itr = map.end();
230          --itr;
231          std::set<int> bestPartSet = itr->second;
232          int bestpart = *bestPartSet.begin();
233          return _truthinfo->GetParticle(bestpart);
234        }


If you want to reproduce this, load these random seeds in the default
macro right after the PHRandomSeed::Verbosity(1);

  PHRandomSeed::Verbosity(1);
  PHRandomSeed::LoadSeed(3774315877);
  PHRandomSeed::LoadSeed(2499985291);
  PHRandomSeed::LoadSeed(2932553874);
  PHRandomSeed::LoadSeed(2819539040);
  PHRandomSeed::LoadSeed(3300000437);
  PHRandomSeed::LoadSeed(2299457957);
  PHRandomSeed::LoadSeed(1174569578);
  PHRandomSeed::LoadSeed(3107449026);
  PHRandomSeed::LoadSeed(3665107792);
  PHRandomSeed::LoadSeed(458807823);
  PHRandomSeed::LoadSeed(3195705626);
  PHRandomSeed::LoadSeed(3638009118);
  PHRandomSeed::LoadSeed(4287452851);
  PHRandomSeed::LoadSeed(2124280620);
  PHRandomSeed::LoadSeed(4020470360);

Chris

--
*************************************************************

Christopher H. Pinkenburg ; pinkenburg AT bnl.gov
; http://www.phenix.bnl.gov/~pinkenbu

Brookhaven National Laboratory ; phone: (631) 344-5692
Physics Department Bldg 510 C ; fax: (631) 344-3253
Upton, NY 11973-5000

*************************************************************

_______________________________________________
sPHENIX-tracking-l mailing list
sPHENIX-tracking-l AT lists.bnl.gov
https://lists.bnl.gov/mailman/listinfo/sphenix-tracking-l



Archive powered by MHonArc 2.6.24.

Top of Page