View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

ERROR: segmentation violation

astro_iraf wrote on May 02, 2011

Hi all,
I installed iraf on the ubuntu 10.04 LTS system( kernel 2.6.32), but when
using the iraf to do the data reduction, it said :

ERROR: segmentation violation
"if (gemarith.status != 0) {"
line 770: wifes$wfcal.cl
called as: `wfcal (mode=h)'

I am sure the package for doing the data reduction is OK, because I
installed the same package on another machine( the ubuntu kernel is 2.6.24), this is no error.

On the 10.04 ubuntu iraf, I reseted the imh=fits in the login.cl file and
I have the permission for the imdir directory, but the error is still there.

Does someone know what happen?

Mike Fitzpatrick wrote on May 02, 2011

The error is most likely coming from the GEMARITH task given the context, but you can type d_trace before executing the command to print out verbose details as the script executes to be sure. A segfault is usually a coding problem of some kind (e.g. uninitialized values, memory overruns, etc) , but can sometimes be caused by "bad" input as well. Your best bet may be to contact the WIFES or GEMINI package authors to see if they are familiar with the problem. The fact it works under one kernel and not another isn't really important, the difference could be related to the glibc version on either machine, amount of memory installed, etc. Hope this helps.

Last post on May 02, 2011