Uploaded image for project: 'DRP 2-D Pipeline'
  1. DRP 2-D Pipeline
  2. PIPE2D-787

Invalid points can crash the DetectorMap code

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Sprint:
      2DDRP-2021 A3

      Description

      With

      /projects/HSC/PFS/Subaru/CALIB-SuNSS/DETECTORMAP/pfsDetectorMap-046270-b1.fits
      detMap.findFiberId(geom.PointD(6000, -20000)) 

      crashes python in our C++:

      python3.7: src/ModelBasedDetectorMap.cc:177: virtual int pfs::drp::stella::ModelBasedDetectorMap::findFiberId(const PointD&) const: Assertion `xNew > xLow && xNew < xHigh' failed.
      Caught signal 6, backtrace follows:
      /tigress/HSC/PFS/stack/current/stack/current/Linux64/utils/18.1.0/lib/libutils.so(+0x14a74) [0x2ba2eee49a74]
      /lib64/libc.so.6(+0x36450) [0x2ba2dcf53450]
      /lib64/libc.so.6(gsignal+0x37) [0x2ba2dcf533d7]
      /lib64/libc.so.6(abort+0x148) [0x2ba2dcf54ac8]
      /lib64/libc.so.6(+0x2f1a6) [0x2ba2dcf4c1a6]
      /lib64/libc.so.6(+0x2f252) [0x2ba2dcf4c252]
      /home/rhl/PFS/drp/stella/lib/libdrp_stella.so(pfs::drp::stella::ModelBasedDetectorMap::findFiberId(lsst::geom::Point<double, 2> const&) const+0x25f) [0x2ba33ba7bb0f]
      

        Attachments

          Activity

            People

            • Assignee:
              price price
              Reporter:
              rhl rhl
              Reviewers:
              hassan
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: