Project: datamanagement
Issue DM-5247: Segfault in shapeHSM centroid extractor
[~boutigny] reports a segfault in {{meas_extenstions_shapeHSM}}. He provides the following backtrace: {code} Program received signal SIGSEGV, Segmentation fault. 0x00007fffe7043156 in lsst::afw::table::BaseRecord::getElement (this=0x21c8d60, key=...) at include/lsst/afw/table/BaseRecord.h:61 61	typename Field::Element * getElement(Key const & key) { (gdb) bt #0 0x00007fffe7043156 in lsst::afw::table::BaseRecord::getElement (this=0x21c8d60, key=...) at include/lsst/afw/table/BaseRecord.h:61 #1 0x00007fffdc8775f2 in set (value=, key=..., this=0x21c8d60) at /home/boutigny/CFHT/lsstsw/stack/Linux64/afw/11.0-8-g38426eb/include/lsst/afw/table/BaseRecord.h:137 #2 setValue (value=true, i=0, record=..., this=0x1da2500) at include/lsst/meas/base/FlagHandler.h:73 #3 lsst::meas::base::SafeCentroidExtractor::operator() (this=, record=..., flags=...) at src/InputUtilities.cc:134 #4 0x00007fffd03655c6 in lsst::meas::extensions::shapeHSM::HsmPsfMomentsAlgorithm::measure (this=0x1da2410, source=..., exposure=...) at src/HsmMoments.cc:115 #5 0x00007fffd06708d5 in _wrap_HsmPsfMomentsAlgorithm_measure (args=0x7fffccc67b90) at python/lsst/meas/extensions/shapeHSM/hsmLib_wrap.cc:14337 #6 0x00007ffff7aee37f in ext_do_call (nk=-859407472, na=, flags=, pp_stack=0x7fffffff7d18, func=0x7fffd0c21878) at Python/ceval.c:4345 #7 PyEval_EvalFrameEx (f=, throwflag=) at Python/ceval.c:2720 #8 0x00007ffff7aefdbe in PyEval_EvalCodeEx (co=0x7fffd0a9ceb0, globals=, locals=, args=, argcount=3, kws=0x7fffccd43b08, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3267 {code} See the discussion at DM-4780.
Story points: 2