cosmicrays task segfaults
Jason Quinn wrote on Sep 09, 2012
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
yet neither of those packages contain the cosmicrays task, which is (currently) located in the imred.crutil package.
Also, running
Cheers,
Jason
Also something confusing is going on with the help databases for this task. Using ctio's apropos task, you get
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
find . -name "cosmicrays*" at the top of the IRAF tree finds these files which seem to be leftovers of some sort../noao/imred/ccdred/src/cosmic/cosmicrays.hlp
./noao/imred/ccdred/cosmicrays.par
./noao/imred/quadred/src/quad/doc/cosmicrays.hlpCheers,
Jason
Mike Fitzpatrick wrote on Sep 09, 2012
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.
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.
ftp://iraf.noao.edu/iraf/v216/support/linux64/x_crutil.e
Install in the noao$bin/linux64 directory.
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.
Last post on Sep 09, 2012