Posted: Mon May 02, 2011 12:01 am Post subject: ERROR: segmentation violation
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.
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.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum