Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-5247

Segfault in shapeHSM centroid extractor

    Details

    • Templates:
    • Story Points:
      2
    • Sprint:
      DRP X16-1
    • Team:
      Data Release Production

      Description

      Dominique Boutigny reports a segfault in meas_extenstions_shapeHSM. He provides the following backtrace:

      Program received signal SIGSEGV, Segmentation fault.
      0x00007fffe7043156 in lsst::afw::table::BaseRecord::getElement<lsst::afw::table::Flag> (this=0x21c8d60, key=...)
      at include/lsst/afw/table/BaseRecord.h:61
      61	typename Field<T>::Element * getElement(Key<T> const & key) {
      (gdb) bt
      #0 0x00007fffe7043156 in lsst::afw::table::BaseRecord::getElement<lsst::afw::table::Flag> (this=0x21c8d60, key=...)
      at include/lsst/afw/table/BaseRecord.h:61
      #1 0x00007fffdc8775f2 in set<lsst::afw::table::Flag, bool> (value=<synthetic pointer>, 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=<optimized out>, 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=<optimized out>, flags=<optimized out>, 
      pp_stack=0x7fffffff7d18, func=0x7fffd0c21878) at Python/ceval.c:4345
      #7 PyEval_EvalFrameEx (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:2720
      #8 0x00007ffff7aefdbe in PyEval_EvalCodeEx (co=0x7fffd0a9ceb0, globals=<optimized out>, locals=<optimized out>, 
      args=<optimized out>, argcount=3, kws=0x7fffccd43b08, kwcount=0, defs=0x0, defcount=0, closure=0x0)
      at Python/ceval.c:3267
      

      See the discussion at DM-4780.

        Attachments

          Container Issues

            Issue Links

              Activity

                People

                • Assignee:
                  price Paul Price
                  Reporter:
                  swinbank John Swinbank
                  Reviewers:
                  Vishal Kasliwal [X] (Inactive)
                  Watchers:
                  Dominique Boutigny, Jim Bosch, John Swinbank, Paul Price, Vishal Kasliwal [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  5 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Summary Panel