Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ERROR: segmentation violation

 
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF
View previous topic :: View next topic  
Author Message
astro_iraf



Joined: 01 May 2011
Posts: 1

PostPosted: Mon May 02, 2011 12:01 am    Post subject: ERROR: segmentation violation Reply with quote

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?
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3257
Location: Tucson

PostPosted: Tue May 03, 2011 4:52 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> General IRAF All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.15 seconds