View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

Ellipse “illegal instruction”

Andrea Cardullo wrote on Apr 18, 2011

Hi, I have this problem:
I installed iraf on a 64 bit snow-leopard mac, and also installed the patch 2.15.1a.
When I run ellipse in interactive mode I get this error:

Running object locator... Done.
ERROR: segmentation violation
called as: `ellipse (mode=h)'
Illegal instruction

and it stops (and also iraf closes itself).
If i run the same command in Pyraf it works perfectly, and also if I run in Iraf in NON interactive mode.

What's happening and how do I fix this?
Thanks!

Mike Fitzpatrick wrote on Apr 18, 2011

A segmentation violation usually indicates a coding error, and since the STSDAS binaries are the same ones built by STScI this can't be a 64-bit issue (unless you relinked the package locally). ELLIPSE is a compiled task so my guess for why it might work under pyraf is that there is a difference in the parameters/psets being used and this parameter is related to the problem.

Unfortunately, without the parameters and the data there's not much more that I can say to help track down the problem. You should contact the help desk at STScI (help@stsci.edu) to see if they are aware of any issues with the task, most likely they will want to see your parameters and data as well.

Last post on Apr 18, 2011