[Debian-astro-maintainers] Bug#821131: python-fitsio: FTBFS (32-bit): testRiceTileCompressedWriteRead bad free()
Aaron M. Ucko
amu at alum.mit.edu
Fri Apr 15 19:58:43 UTC 2016
Source: python-fitsio
Version: 0.9.8+dfsg-1
Severity: important
Justification: fails to build from source
All attempts so far to build python-fitsio on 32-bit platforms (on
i386, powerpc, and kfreebsd-i386) failed with errors of the form
testRiceTileCompressedWriteRead (fitsio.test.TestReadWrite) ... *** Error in `python2.7': free(): invalid next size (fast): 0x0a7417e0 ***
suggesting heap corruption. On a possibly related note, these builds
also reported the compiler warning
fitsio/fitsio_pywrap.c: In function ‘set_compression’:
fitsio/fitsio_pywrap.c:1161:44: warning: passing argument 3 of ‘fits_set_tile_dim’ from incompatible pointer type [-Wincompatible-pointer-types]
fits_set_tile_dim(fits, ndims, tile_dims_fits, status);
^
In file included from fitsio/fitsio_pywrap.c:25:0:
/usr/include/fitsio.h:1931:15: note: expected ‘long int *’ but argument is of type ‘npy_int64 * {aka long long int *}’
int CFITS_API fits_set_tile_dim(fitsfile *fptr, int ndim, long *dims, int *status);
^
Could you please take a look?
Thanks!
More information about the Debian-astro-maintainers
mailing list