Welcome to iraf.net Thursday, April 18 2024 @ 11:06 PM GMT


 Forum Index > Help Desk > General IRAF New Topic Post Reply
 'Segmentation violation' while doing 'zerocombine' in Suse
   
Myla4u
 08/08/2007 02:38AM (Read 4840 times)  
+----
Newbie

Status: offline


Registered: 08/07/2007
Posts: 2
System : Suse 10
Iraf vertion : V2.12
PACKAGE = ccdred
TASK = zerocombineSuch information appeared :
ERROR on line 46 : segmentation violation
zerocombine (mode=h)What's wrong?
Thanks!

Hualee Lee NATIONAL ASTRONOMICAL OBSERVATORIES CHINESE ACADEMY OF SCIENCES
 
Profile Email
 Quote
fitz
 08/08/2007 02:38AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
There's not a lot of information to go on, but I have two guesses:Suse 10 uses the Linux 2.6 kernel and *if* you get a similar segfault from any task then you may be seeing a "stacksize" error caused by a change in the memory management under 2.6. This is fixed by issuing either of the commands:[code:1:5769532963]% limit stacksize unlimited # for C-shell
% ulimit -s unlimited # for Bash[/code:1:5769532963]I'd suggest putting these in your .cshrc file if you don't type them in the commandline before logging in. Note the 'cl' command is a C-shell script and so to make this permanent you'll need to put it in a .cshrc file regardless of what shell you use.The second guess has to do with the mixed use of image types, e.g. your input images are FITS but your imtype is 'imh' and there is some problem with creating imh temp images on your system (e.g. an invalid 'imdir' , permission problems in the directory, etc). In this case doing a [code:1:5769532963]cl> reset imtype = fits
cl> flpr 0 # zero not oh
[/code:1:5769532963]usually helps since it forces the temp images to be done as FITS as well. You can make this change permanent by editing your login.cl file.Otherwise we'd need more information such as sample data and the parameters you used. Hope this helps.Cheers,
-Mike

 
Profile Email
 Quote
Myla4u
 08/08/2007 02:38AM  
+----
Newbie

Status: offline


Registered: 08/07/2007
Posts: 2
.[quote:cbe39fa425].. 'there is some problem with creating imh temp images on your system (e.g. an invalid 'imdir' )'[/quote:cbe39fa425] ---------- It's true , the path of my imh temp images is "/iraf/imdirs",
but in login.cl file it turns out to be "/iraf/imdirs/lhl".
It works with making them the same.
Thanks Mike! ~Myla

Hualee Lee NATIONAL ASTRONOMICAL OBSERVATORIES CHINESE ACADEMY OF SCIENCES
 
Profile Email
 Quote
   
Content generated in: 0.10 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login