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 

cosmicrays task segfaults

 
Post new topic   Reply to topic    iraf.net Forum Index -> Applications
View previous topic :: View next topic  
Author Message
Jason Quinn
IRAF Guru


Joined: 07 Apr 2006
Posts: 151

PostPosted: Sun Sep 09, 2012 3:31 pm    Post subject: cosmicrays task segfaults Reply with quote

The cosmicrays task is throwing segmentation violations every time it is run. Noticed on v2.16 but occurs on 2.15.x. Had to go back to 2.14.1 before it worked. I'm running a 64-bit Ubuntu machine, if that helps. The error can be reproduced using dev$pix as the input.

Also something confusing is going on with the help databases for this task. Using ctio's apropos task, you get

Code:
cosmicrays    - Detect and replace cosmic rays (noao.imred.ccdred)
cosmicrays    - Detect and replace cosmic rays (noao.imred.generic)


yet neither of those packages contain the cosmicrays task, which is (currently) located in the imred.crutil package.

Also, running
Code:
find . -name "cosmicrays*"
at the top of the IRAF tree finds these files which seem to be leftovers of some sort.

Code:
./noao/imred/ccdred/src/cosmic/cosmicrays.hlp
./noao/imred/ccdred/cosmicrays.par
./noao/imred/quadred/src/quad/doc/cosmicrays.hlp


Cheers,
Jason
Back to top
View user's profile Send private message
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3256
Location: Tucson

PostPosted: Tue Sep 11, 2012 4:52 pm    Post subject: Reply with quote

A bug was recently fixed in the task that may solve this, you can get a new binary from

ftp://iraf.noao.edu/iraf/v216/support/linux64/x_crutil.e

Install in the noao$bin/linux64 directory.

Quote:
Also something confusing is going on with the help databases for this task. Using ctio's apropos task, you get


The CTIO package has been orphaned for a while and the APROPOS task hasn't been touched since 1991. You can try using MKAPROPOS to rebuild the database it uses, otherwise I'd chalk it up to changes in the help code over the last two decades. The core system provides a REFERENCES task that serves the same purpose.

Tasks are often included in multiple packages, duplicate help pages come about when a task used to live in an external package and then gets moved to the core system. Differences in the help page may reflect differences in the code itself (e.g. the old extpkg version has a special parameter for some reason), but it doesn't necessarily mean it is an error.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Applications 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.33 seconds