Opened 6 years ago
Closed 6 years ago
#57699 closed defect (fixed)
py-astropy: segfault in astropy.wcs.WCS
Reported by: | lpsinger (Leo Singer) | Owned by: | robitaille |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | |
Keywords: | Cc: | ||
Port: | py-astropy |
Description
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.
Change History (4)
comment:1 Changed 6 years ago by lpsinger (Leo Singer)
comment:2 Changed 6 years ago by lpsinger (Leo Singer)
Owner: | set to robitaille |
---|---|
Status: | new → assigned |
comment:3 Changed 6 years ago by lpsinger (Leo Singer)
A similar segfault is reported in https://github.com/astropy/astropy/issues/7929.
comment:4 Changed 6 years ago by lpsinger (Leo Singer)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Note: See
TracTickets for help on using
tickets.
Here's the stack trace: