Opened 7 years ago
Closed 7 years ago
#1941 closed defect (duplicate)
MuonGun weighting failing with simulation V05 MCTree
Reported by: | Nancy Wandkowsky | Owned by: | Jakob van Santen |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | cmake | Keywords: | MuonGun |
Cc: |
Description
when running muongun weighting (using metaproject simulation V05-00-06) on simulation processed with simulation V05-00-06, the following error occurs:
FATAL (Tree): Assertion failed: storage_ != treePtr_->end_ (I3MCTree.h:221 in ValueType& TreeBase::Tree<T, Key, Hash>::iterator_storage_impl<boost::optional<Key>, ValueType, TreeType, TreeHashMapIter>::dereference() const [with ValueType = const I3Particle, TreeType = const TreeBase::Tree<I3Particle, I3ParticleID, __gnu_cxx::hash<I3ParticleID> >, TreeHashMapIter = __gnu_cxx::_Hashtable_const_iterator<std::pair<const I3ParticleID, TreeBase::TreeNode<I3Particle> >, I3ParticleID, __gnu_cxx::hash<I3ParticleID>, std::_Select1st<std::pair<const I3ParticleID, TreeBase::TreeNode<I3Particle> > >, std::equal_to<I3ParticleID>, std::allocator<TreeBase::TreeNode<I3Particle> > >, T = I3Particle, Key = I3ParticleID, Hash = __gnu_cxx::hash<I3ParticleID>]) ERROR (I3Module): MuonWeight_Hoerandel5: Exception thrown (I3Module.cxx:116 in void I3Module::Do(void (I3Module::*)())) Traceback (most recent call last): File "./IC86_2011_L3b_muongun.py", line 182, in <module> tray.Execute() File "/cvmfs/icecube.opensciencegrid.org/py2-v2/RHEL_6_x86_64/metaprojects/simulation/V05-00-06/lib/I3Tray.py", line 234, in Execute super(I3Tray, self).Execute() RuntimeError: Assertion failed: storage_ != treePtr_->end_ (in ValueType& TreeBase::Tree<T, Key, Hash>::iterator_storage_impl<boost::optional<Key>, ValueType, TreeType, TreeHashMapIter>::dereference() const [with ValueType = const I3Particle, TreeType = const TreeBase::Tree<I3Particle, I3ParticleID, __gnu_cxx::hash<I3ParticleID> >, TreeHashMapIter = __gnu_cxx::_Hashtable_const_iterator<std::pair<const I3ParticleID, TreeBase::TreeNode<I3Particle> >, I3ParticleID, __gnu_cxx::hash<I3ParticleID>, std::_Select1st<std::pair<const I3ParticleID, TreeBase::TreeNode<I3Particle> > >, std::equal_to<I3ParticleID>, std::allocator<TreeBase::TreeNode<I3Particle> > >, T = I3Particle, Key = I3ParticleID, Hash = __gnu_cxx::hash<I3ParticleID>])
Change History (2)
comment:1 Changed 7 years ago by David Schultz
comment:2 Changed 7 years ago by Jakob van Santen
- Resolution set to duplicate
- Status changed from new to closed
Fixed just like #1583
Note: See
TracTickets for help on using
tickets.
Someone is trying to dereference an invalid iterator?
Maybe converting between iterator types for the "end" of the tree.