[fitsbits] Strange error with cfitsio and recent versions of gfortran

Thomas Robitaille thomas.robitaille at gmail.com
Mon Nov 4 09:17:13 EST 2013


Hi everyone,

I am running into issues with recent versions of gfortran and cfitsio.
I have uploaded a simple example here:

  https://gist.github.com/astrofrog/7303025

which demonstrates that when I try and compile the test program and
run it, I get:

```
Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0  0x1003c2e8d
#1  0x1003c339b
#2  0x7fff92f98909
#3  0x1002e0722
#4  0x1002e2e31
#5  0x100148e8e
#6  0x100148ec6
Segmentation fault: 11
```

This error does not occur with ifort. Does anyone know what might be
causing this?

Thanks,
Tom




More information about the fitsbits mailing list