src - scan-build results

User:davidl@ifarm12s01
Working Directory:/w/halld-scifs1a/home/davidl/latest/sim-recon/src
Command Line:make
Clang Version:clang version 3.2 (trunk 163307)
Date:Mon Sep 10 08:44:19 2012
Version:checker-267 (2012-06-01 14:49:04)

Bug Summary

Results in this analysis run are based on analyzer build checker-267.

Bug TypeQuantityDisplay?
All Bugs230
API
Argument with 'nonnull' attribute passed null4
Dead store
Dead assignment140
Dead increment3
Dead initialization19
Logic error
Assigned value is garbage or undefined1
Called C++ object pointer is null3
Dangerous variable-length array (VLA) declaration1
Dereference of null pointer33
Result of operation is garbage or undefined3
Uninitialized argument value4
Memory Error
Bad free2
Double free1
Memory leak16

Reports

Bug Group Bug Type ▾ File Line Path Length
APIArgument with 'nonnull' attribute passed nulllibraries /HDDM /hddm_r.c19307View Report
APIArgument with 'nonnull' attribute passed nulllibraries /HDDM /hddm_s.c88677View Report
APIArgument with 'nonnull' attribute passed nulllibraries /HDDM /hddm_r.c19666View Report
APIArgument with 'nonnull' attribute passed nulllibraries /HDDM /hddm_s.c89036View Report
Logic errorAssigned value is garbage or undefinedlibraries /BCAL /DBCALShower_factory_KLOE.cc149811View Report
Memory ErrorBad freeprograms /Simulation /mcsmear /smear.cc40621View Report
Memory ErrorBad freeprograms /Simulation /mcsmear /smear.cc62821View Report
Logic errorCalled C++ object pointer is nulllibraries /PID /DParticleID.cc776View Report
Logic errorCalled C++ object pointer is nullprograms /Analysis /hdview2 /trk_mainframe.cc4303View Report
Logic errorCalled C++ object pointer is nullprograms /Analysis /hdview2 /trk_mainframe.cc3933View Report
Logic errorDangerous variable-length array (VLA) declarationlibraries /FCAL /DFCALCluster_factory.cc983View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9471View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9581View Report
Dead storeDead assignmentlibraries /DANA /DApplication.cc1061View Report
Dead storeDead assignmentprograms /Simulation /HDGeant /hitFTOF.c1771View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9661View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9641View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10241View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10321View Report
Dead storeDead assignmentlibraries /TRACKING /DReferenceTrajectory.cc3411View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10201View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9411View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10271View Report
Dead storeDead assignmentlibraries /HDDM /hddm_s.c88501View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9481View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9661View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9571View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9661View Report
Dead storeDead assignmentlibraries /TRACKING /DTrackFitterKalmanSIMD.cc28821View Report
Dead storeDead assignmentlibraries /HDDM /hddm_r.c19131View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9451View Report
Dead storeDead assignmentprograms /Simulation /HDGeant /hitStart.c1331View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9581View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9701View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9361View Report
Dead storeDead assignmentlibraries /TRACKING /DTrackFitterKalmanSIMD.cc28291View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9421View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9571View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9421View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9631View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9581View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9721View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9601View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10261View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9481View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9691View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9351View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9711View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9351View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9661View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10221View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9401View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9511View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9451View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9641View Report
Dead storeDead assignmentlibraries /PID /DParticleID.cc5711View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10181View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10121View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9331View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9391View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10111View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9521View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9601View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10151View Report
Dead storeDead assignmentprograms /Analysis /hdview2 /MyProcessor.cc14031View Report
Dead storeDead assignmentprograms /Analysis /hdview2 /MyProcessor.cc14141View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9531View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10251View Report
Dead storeDead assignmentlibraries /BCAL /DBCALShower_factory_KLOE.cc10171View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9631View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9541View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9651View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10231View Report
Dead storeDead assignmentprograms /Simulation /genr8 /genr8.c5731View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9601View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9601View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9701View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9601View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9461View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9481View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9471View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10311View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10291View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9641View Report
Dead storeDead assignmentprograms /Simulation /HDGeant /hdgeant.cc341View Report
Dead storeDead assignmentlibraries /TRACKING /DRiemannFit.cc681View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9341View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9361View Report
Dead storeDead assignmentlibraries /DANA /DApplication.cc1041View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10081View Report
Dead storeDead assignmentprograms /Simulation /HDGeant /hitFTOF.c2751View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9421View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9401View Report
Dead storeDead assignmentlibraries /DANA /DApplication.cc1081View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9461View Report
Dead storeDead assignmentlibraries /TRACKING /DTrackFitterKalmanSIMD.cc13271View Report
Dead storeDead assignmentlibraries /DANA /DApplication.cc1051View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9461View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9421View Report
Dead storeDead assignmentlibraries /DANA /DApplication.cc1101View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9581View Report
Dead storeDead assignmentprograms /Analysis /hdview2 /MyProcessor.cc14361View Report
Dead storeDead assignmentlibraries /BCAL /DBCALShower_factory_KLOE.cc10551View Report
Dead storeDead assignmentlibraries /TRACKING /DTrackFitterKalmanSIMD.cc52171View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9581View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9341View Report
Dead storeDead assignmentprograms /Simulation /HDGeant /hitFTOF.c2741View Report
Dead storeDead assignmentlibraries /TRACKING /DTrackFitterKalmanSIMD.cc52401View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9721View Report
Dead storeDead assignmentprograms /Simulation /genr8 /genr8.c5721View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9461View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9421View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9391View Report
Dead storeDead assignmentprograms /Simulation /HDGeant /hitFTOF.c1741View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9531View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10301View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10091View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10331View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9411View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9661View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9641View Report
Dead storeDead assignmentprograms /Analysis /hdview2 /MyProcessor.cc14251View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9481View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9511View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9651View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9711View Report
Dead storeDead assignmentprograms /Simulation /HDGeant /hitStart.c1291View Report
Dead storeDead assignmentlibraries /DANA /DApplication.cc1091View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9401View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9641View Report
Dead storeDead assignmentprograms /Simulation /HDGeant /hdgeant.cc411View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10161View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10131View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9521View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10171View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10341View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9541View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10101View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9401View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9591View Report
Dead storeDead assignmentlibraries /PID /DKinFit.cc9331View Report
Dead storeDead assignmentlibraries /TRACKING /DTrackFitterKalmanSIMD.cc28531View Report
Dead storeDead assignmentlibraries /DANA /DApplication.cc1071View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc10191View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9591View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9481View Report
Dead storeDead assignmentlibraries /DANA /DApplication.cc1031View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9461View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9691View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9401View Report
Dead storeDead assignmentprograms /Simulation /mcsmear /smear.cc9331View Report
Dead storeDead incrementlibraries /TRACKING /DQuickFit.cc2381View Report
Dead storeDead incrementlibraries /CCAL /DCCALGeometry.cc241View Report
Dead storeDead incrementlibraries /TRACKING /DHelicalFit.cc3111View Report
Dead storeDead initializationprograms /Simulation /genr8 /genr8.c2831View Report
Dead storeDead initializationprograms /Simulation /genr8 /genr8.c3141View Report
Dead storeDead initializationprograms /Simulation /genr8 /genr8.c3021View Report
Dead storeDead initializationprograms /Analysis /hdview2 /hdv_mainframe.cc7371View Report
Dead storeDead initializationprograms /Simulation /HDGeant /hitCCal.c451View Report
Dead storeDead initializationprograms /Simulation /genr8 /genr8.c4151View Report
Dead storeDead initializationprograms /Simulation /HDGeant /hitUPV.c931View Report
Dead storeDead initializationprograms /Simulation /HDGeant /hitCCal.c1741View Report
Dead storeDead initializationprograms /Simulation /HDGeant /hitFCal.c551View Report
Dead storeDead initializationprograms /Simulation /HDGeant /hitCCal.c1731View Report
Dead storeDead initializationlibraries /TRACKING /DTrackFitterKalmanSIMD.cc50271View Report
Dead storeDead initializationlibraries /TRACKING /DQuickFit.cc6211View Report
Dead storeDead initializationprograms /Simulation /genr8 /genr8.c3351View Report
Dead storeDead initializationprograms /Simulation /HDGeant /hitStart.c2011View Report
Dead storeDead initializationprograms /Simulation /genr8 /genr8.c2641View Report
Dead storeDead initializationlibraries /TRACKING /DHelicalFit.cc11651View Report
Dead storeDead initializationlibraries /TRACKING /DTrackFitterKalmanSIMD.cc771View Report
Dead storeDead initializationprograms /Simulation /HDGeant /hitUPV.c921View Report
Dead storeDead initializationprograms /Analysis /hdview2 /hdv_mainframe.cc7361View Report
Logic errorDereference of null pointerlibraries /PID /DKinFit.cc15253View Report
Logic errorDereference of null pointerlibraries /TOF /DTOFHit_factory.cc18613View Report
Logic errorDereference of null pointerlibraries /TRACKING /DTrackCandidate_factory_CDC.cc12076View Report
Logic errorDereference of null pointerlibraries /TRACKING /DTrackCandidate_factory_FDC.cc1485View Report
Logic errorDereference of null pointerlibraries /TRACKING /DTrackCandidate_factory_FDCpseudo.cc1505View Report
Logic errorDereference of null pointerlibraries /HDDM /hddm_r.c19224View Report
Logic errorDereference of null pointerlibraries /TRACKING /DReferenceTrajectory.cc6673View Report
Logic errorDereference of null pointerlibraries /PID /DNeutralShower_factory.cc10515View Report
Logic errorDereference of null pointerlibraries /TRACKING /DTrackCandidate_factory_CDC.cc11984View Report
Logic errorDereference of null pointerprograms /Utilities /hddm_merge_events /hddm_merge_events.cc897View Report
Logic errorDereference of null pointerprograms /Utilities /hddm_merge_events /hddm_merge_events.cc574View Report
Logic errorDereference of null pointerlibraries /TRACKING /DTrackCandidate_factory_CDC.cc11974View Report
Logic errorDereference of null pointerprograms /Utilities /hddm_cull_events /hddm_cull_events.cc593View Report
Logic errorDereference of null pointerlibraries /TRACKING /DTrackCandidate_factory_CDC.cc58922View Report
Logic errorDereference of null pointerlibraries /TRACKING /DRiemannFit.cc49311View Report
Logic errorDereference of null pointerprograms /Analysis /plugins /trackeff_hists /DEventProcessor_trackeff_hists.cc28210View Report
Logic errorDereference of null pointerprograms /Analysis /hdview2 /MyProcessor.cc103736View Report
Logic errorDereference of null pointerlibraries /TRACKING /DRiemannFit.cc51010View Report
Logic errorDereference of null pointerlibraries /PID /DNeutralParticleHypothesis_factory.cc12917View Report
Logic errorDereference of null pointerlibraries /FDC /DFDCSegment_factory.cc5555View Report
Logic errorDereference of null pointerlibraries /PID /DVertex_factory.cc28530View Report
Logic errorDereference of null pointerlibraries /PID /DParticleID.cc40917View Report
Logic errorDereference of null pointerlibraries /TRACKING /DReferenceTrajectory.cc11963View Report
Logic errorDereference of null pointerlibraries /PID /DParticleID.cc47212View Report
Logic errorDereference of null pointerprograms /Simulation /genpi /genpi.cc9610View Report
Logic errorDereference of null pointerprograms /Simulation /genpi /genpi+pi-.cc14917View Report
Logic errorDereference of null pointerlibraries /TRACKING /DTrackTimeBased_factory.cc49910View Report
Logic errorDereference of null pointerlibraries /TRACKING /DTrackCandidate_factory_CDC.cc12086View Report
Logic errorDereference of null pointerlibraries /TRACKING /DTrackCandidate_factory_CDC.cc71813View Report
Logic errorDereference of null pointerprograms /Utilities /hddm_merge_files /hddm_merge_files.cc533View Report
Logic errorDereference of null pointerlibraries /TRACKING /DTrackCandidate_factory_CDC_or_FDCpseudo.cc6612View Report
Logic errorDereference of null pointerlibraries /FDC /DFDCSegment_factory.cc60139View Report
Logic errorDereference of null pointerlibraries /TRACKING /DTrackFitterALT1.cc130311View Report
Memory ErrorDouble freeprograms /Simulation /HDGeant /hitGCal.c21118View Report
Memory ErrorMemory leakprograms /Simulation /genpi /nrutil.c504View Report
Memory ErrorMemory leakprograms /Simulation /genpi /nrutil.c864View Report
Memory ErrorMemory leakprograms /Simulation /mcsmear /mcsmear.cc36311View Report
Memory ErrorMemory leakprograms /Simulation /HDGeant /hitFDC.c14310View Report
Memory ErrorMemory leakprograms /Simulation /mcsmear /smear.cc17610View Report
Memory ErrorMemory leakprograms /Simulation /genpi /nrutil.c404View Report
Memory ErrorMemory leakprograms /Simulation /genpi /nrutil.c304View Report
Memory ErrorMemory leakprograms /Simulation /genpi /nrutil.c1354View Report
Memory ErrorMemory leakprograms /Simulation /genpi /nrutil.c1824View Report
Memory ErrorMemory leakprograms /Simulation /genpi /nrutil.c2014View Report
Memory ErrorMemory leakprograms /Simulation /genpi /nrutil.c704View Report
Memory ErrorMemory leakprograms /Simulation /genpi /nrutil.c1604View Report
Memory ErrorMemory leakprograms /Simulation /genpi /nrutil.c604View Report
Memory ErrorMemory leakprograms /Simulation /genpi /nrutil.c1104View Report
Memory ErrorMemory leakprograms /Simulation /mcsmear /smear.cc17610View Report
Memory ErrorMemory leakprograms /Simulation /HDGeant /hitFDC.c14313View Report
Logic errorResult of operation is garbage or undefinedprograms /Simulation /genr8 /genr8.c63141View Report
Logic errorResult of operation is garbage or undefinedprograms /Simulation /HDGeant /hitFDC.c107834View Report
Logic errorResult of operation is garbage or undefinedprograms /Simulation /HDGeant /hitFDC.c106332View Report
Logic errorUninitialized argument valueprograms /Simulation /genpi /zbrent.c334View Report
Logic errorUninitialized argument valueprograms /Simulation /HDGeant /hitStart.c2017View Report
Logic errorUninitialized argument valueprograms /Simulation /genr8 /genr8.c62940View Report
Logic errorUninitialized argument valuelibraries /FCAL /DFCALShower_factory.cc25818View Report

Analyzer Failures

The analyzer had problems processing the following files:

ProblemSource FilePreprocessed FileSTDERR Output
Crashlibraries/HDGEOMETRY/DGeometry.ccclang_crash_xZHtj9.iiclang_crash_xZHtj9.ii.stderr.txt

Please consider submitting preprocessed files as bug reports.