Project

General

Profile

Bug #14182

Memory errors and leaks

Added by Katherine Lato about 3 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
Category:
Reconstruction
Target version:
-
Start date:
10/19/2016
Due date:
% Done:

0%

Estimated time:
Occurs In:
Experiment:
LArSoft
Co-Assignees:
Duration:

Description

This is related to Issue#13063, from when Paul Russo ran valgrind during a run of uboone reco stage 1, using this command:

time nice valgrind -v --leak-check=full --track-origins=yes --show-leak-kinds=all --keep-stacktraces=alloc-and-free --leak-check-heuristics=all --suppressions=/products/root/v6_06_04a/Linux64bit+2.6-2.12-e10-nu-debug/etc/valgrind-root.supp lar -c ~/mrb_uboone/srcs/uboonecode/fcl/reco/reco_uboone_mcc7_driver_stage1.fcl -S mydetsim.list -n 1 2>&1 | tee valgrind_2.log

SeedFinderAlgorithm.cxx:565
SeedFinderAlgorithm.cxx:453

25406 Conditional jump or move depends on uninitialised value(s)
25406 at 0x27BEE1CE: trkf::SeedFinderAlgorithm::ConsolidateSeed(recob::Seed&, art::PtrVector<recob::Hit> const&, std::vector<char, std::allocator<char> >&, std::vector<std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >, std::allocator<std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > > > >&, bool) (SeedFinderAlgorithm.cxx:565)
25406 by 0x27BEC5D9: trkf::SeedFinderAlgorithm::FindSeeds(art::PtrVector<recob::Hit> const&, std::vector<art::PtrVector<recob::Hit>, std::allocator<art::PtrVector<recob::Hit> > >&, unsigned int) (SeedFinderAlgorithm.cxx:259)
25406 by 0x27BF2D7C: trkf::SeedFinderAlgorithm::GetSeedsFromUnSortedHits(art::PtrVector<recob::Hit> const&, std::vector<art::PtrVector<recob::Hit>, std::allocator<art::PtrVector<recob::Hit> > >&, unsigned int) (SeedFinderAlgorithm.cxx:1130)
25406 by 0x27D1E431: trkf::Track3DKalmanHitAlg::makeTracks(std::vector<trkf::KalmanInput, std::allocator<trkf::KalmanInput> >&) (Track3DKalmanHitAlg.cxx:139)
25406 by 0x32F30069: trkf::Track3DKalmanHit::produce(art::Event&) (Track3DKalmanHit_module.cc:216)
25406 by 0xA6308D0: art::EDProducer::doEvent(art::EventPrincipal&, art::CurrentProcessingContext const*) (EDProducer.cc:28)
25406 by 0xA6D107D: art::WorkerT<art::EDProducer>::implDoBegin(art::EventPrincipal&, art::CurrentProcessingContext const*) (WorkerT.h:86)
25406 by 0x984AC4F: bool art::Worker::doWork<art::OccurrenceTraits<art::EventPrincipal, (art::BranchActionType)0> >(art::OccurrenceTraits<art::EventPrincipal, (art::BranchActionType)0>::MyPrincipal&, art::CurrentProcessingContext const*) (Worker.h:221)
25406 by 0x9850FA9: bool art::WorkerInPath::runWorker<art::OccurrenceTraits<art::EventPrincipal, (art::BranchActionType)0> >(art::OccurrenceTraits<art::EventPrincipal, (art::BranchActionType)0>::MyPrincipal&, art::CurrentProcessingContext const*) (WorkerInPath.h:80)
25406 by 0x984BD52: void art::Path::processOneOccurrence<art::OccurrenceTraits<art::EventPrincipal, (art::BranchActionType)0> >(art::OccurrenceTraits<art::EventPrincipal, (art::BranchActionType)0>::MyPrincipal&) (Path.h:167)
25406 by 0x9850D37: ZZN3art8Schedule16runTriggerPaths_INS_16OccurrenceTraitsINS_14EventPrincipalELNS_16BranchActionTypeE0EEEEEbRNT_11MyPrincipalEENKUlS6_E_clIPNS_4PathEEEDaT (Schedule.h:178)
25406 by 0x9850DE6: ZN3art8Schedule21doForAllEnabledPaths_IZNS0_16runTriggerPaths_INS_16OccurrenceTraitsINS_14EventPrincipalELNS_16BranchActionTypeE0EEEEEbRNT_11MyPrincipalEEUlS7_E_EEvS7 (Schedule.h:205)
25406 Uninitialised value was created by a stack allocation
25406 at 0x27BED84B: trkf::SeedFinderAlgorithm::ConsolidateSeed(recob::Seed&, art::PtrVector<recob::Hit> const&, std::vector<char, std::allocator<char> >&, std::vector<std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >, std::allocator<std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > > > >&, bool) (SeedFinderAlgorithm.cxx:453)
25406
25406 Conditional jump or move depends on uninitialised value(s)
25406 at 0x27BEE1CE: trkf::SeedFinderAlgorithm::ConsolidateSeed(recob::Seed&, art::PtrVector<recob::Hit> const&, std::vector<char, std::allocator<char> >&, std::vector<std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >, std::allocator<std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > > > >&, bool) (SeedFinderAlgorithm.cxx:565)
25406 by 0x27BEC197: trkf::SeedFinderAlgorithm::FindSeeds(art::PtrVector<recob::Hit> const&, std::vector<art::PtrVector<recob::Hit>, std::allocator<art::PtrVector<recob::Hit> > >&, unsigned int) (SeedFinderAlgorithm.cxx:205)
25406 by 0x27BF2D7C: trkf::SeedFinderAlgorithm::GetSeedsFromUnSortedHits(art::PtrVector<recob::Hit> const&, std::vector<art::PtrVector<recob::Hit>, std::allocator<art::PtrVector<recob::Hit> > >&, unsigned int) (SeedFinderAlgorithm.cxx:1130)
25406 by 0x27D1E431: trkf::Track3DKalmanHitAlg::makeTracks(std::vector<trkf::KalmanInput, std::allocator<trkf::KalmanInput> >&) (Track3DKalmanHitAlg.cxx:139)
25406 by 0x32F30069: trkf::Track3DKalmanHit::produce(art::Event&) (Track3DKalmanHit_module.cc:216)
25406 by 0xA6308D0: art::EDProducer::doEvent(art::EventPrincipal&, art::CurrentProcessingContext const*) (EDProducer.cc:28)
25406 by 0xA6D107D: art::WorkerT<art::EDProducer>::implDoBegin(art::EventPrincipal&, art::CurrentProcessingContext const*) (WorkerT.h:86)
25406 by 0x984AC4F: bool art::Worker::doWork<art::OccurrenceTraits<art::EventPrincipal, (art::BranchActionType)0> >(art::OccurrenceTraits<art::EventPrincipal, (art::BranchActionType)0>::MyPrincipal&, art::CurrentProcessingContext const*) (Worker.h:221)
25406 by 0x9850FA9: bool art::WorkerInPath::runWorker<art::OccurrenceTraits<art::EventPrincipal, (art::BranchActionType)0> >(art::OccurrenceTraits<art::EventPrincipal, (art::BranchActionType)0>::MyPrincipal&, art::CurrentProcessingContext const*) (WorkerInPath.h:80)
25406 by 0x984BD52: void art::Path::processOneOccurrence<art::OccurrenceTraits<art::EventPrincipal, (art::BranchActionType)0> >(art::OccurrenceTraits<art::EventPrincipal, (art::BranchActionType)0>::MyPrincipal&) (Path.h:167)
25406 by 0x9850D37: ZZN3art8Schedule16runTriggerPaths_INS_16OccurrenceTraitsINS_14EventPrincipalELNS_16BranchActionTypeE0EEEEEbRNT_11MyPrincipalEENKUlS6_E_clIPNS_4PathEEEDaT (Schedule.h:178)
25406 by 0x9850DE6: ZN3art8Schedule21doForAllEnabledPaths_IZNS0_16runTriggerPaths_INS_16OccurrenceTraitsINS_14EventPrincipalELNS_16BranchActionTypeE0EEEEEbRNT_11MyPrincipalEEUlS7_E_EEvS7 (Schedule.h:205)
25406 Uninitialised value was created by a stack allocation
25406 at 0x27BED84B: trkf::SeedFinderAlgorithm::ConsolidateSeed(recob::Seed&, art::PtrVector<recob::Hit> const&, std::vector<char, std::allocator<char> >&, std::vector<std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > >, std::allocator<std::vector<std::vector<int, std::allocator<int> >, std::allocator<std::vector<int, std::allocator<int> > > > > >&, bool) (SeedFinderAlgorithm.cxx:453)
25406

Related issues

Related to LArSoft - Bug #13063: Memory errors and leaks Assigned06/28/2016

History

#1 Updated by Katherine Lato about 3 years ago

  • Related to Bug #13063: Memory errors and leaks added


Also available in: Atom PDF