[MacPorts] #57699: py-astropy: segfault in astropy.wcs.WCS

MacPorts noreply at macports.org
Thu Nov 29 13:23:46 UTC 2018


#57699: py-astropy: segfault in astropy.wcs.WCS
----------------------+------------------------
 Reporter:  lpsinger  |      Owner:  (none)
     Type:  defect    |     Status:  new
 Priority:  Normal    |  Milestone:
Component:  ports     |    Version:
 Keywords:            |       Port:  py-astropy
----------------------+------------------------
 I get a segmentation fault when attempting to read almost any WCS header.
 Here's an example using one of the test files from the
 astropy/wcs/tests/data.

 {{{
 $ python -c 'from astropy.io import fits; from astropy import wcs;
 wcs.WCS(fits.open("j94f05bgq_flt.fits")[0])'
 WARNING: FITSFixedWarning: The WCS transformation has more axes (2) than
 the image it is associated with (0) [astropy.wcs.wcs]
 Segmentation fault: 11
 }}}

 I am using Python 3.7 on macOS 10.14.1, py37-astropy @3.0.5_0, and wcslib
 @6.2_0.

-- 
Ticket URL: <https://trac.macports.org/ticket/57699>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list