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

Fix segfault in sphgeom::HtmPixelization::pixel

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: sphgeom
    • Labels:
      None

      Description

      After merging DM-15098 it was found that sphgeom::HtmPixelization::pixel causes a segfault when called on Linux.
      Some investigation has shown that this bug was prexisting (and not unit tested) and caused by an upstream pybind11 bug (https://github.com/pybind/pybind11/issues/1132).
      Until that is fixed, work around it by changing the holder type of all sphgeom::Pixelization subclasses to std::unique_ptr<T>.

        Attachments

          Issue Links

            Activity

            Hide
            jbosch Jim Bosch added a comment -

            Looks good.

             

            Show
            jbosch Jim Bosch added a comment - Looks good.  

              People

              Assignee:
              pschella Pim Schellart [X] (Inactive)
              Reporter:
              pschella Pim Schellart [X] (Inactive)
              Reviewers:
              Jim Bosch
              Watchers:
              Jim Bosch, Paul Price, Pim Schellart [X] (Inactive), Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.