View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

long file list crashes tasks

Robert Greimel wrote on Nov 25, 2012

Hi,

trying to use a large number of images with a task leads to problems in IRAF 2.16. For example:

ccdred> ccdproc @center.in flat=Flat* zero=../Calibration/Zero_center darkcor-
*** glibc detected *** /iraf/iraf/noao/bin.linux64/x_ccdred.e: malloc(): memory corruption: 0x00000000040e9ee0 ***
*** glibc detected *** /iraf/iraf/noao/bin.linux64/x_ccdred.e: malloc(): memory corruption: 0x00000000040e9ee0 ***
^C*** glibc detected *** /iraf/iraf/noao/bin.linux64/x_ccdred.e: corrupted double-linked list: 0x0000000004212170 ***
^C*** glibc detected *** /iraf/iraf/noao/bin.linux64/x_ccdred.e: corrupted double-linked list: 0x0000000004212170 ***

or

astutil> setjd @center.in ra=OBJCTRA dec=OBJCTDEC epoch=""
*** glibc detected *** /iraf/iraf/noao/bin.linux64/x_astutil.e: corrupted double-linked list: 0x000000000462c350 ***

Apparently this happens when the list of files contains 1000 files or more.
If the list contains 999 files or less, everything works fine.

Regards

Robert

Mike Fitzpatrick wrote on Nov 25, 2012

This is a known bug that should be fixed in the latest update. You can work around it by doing

cl> reset use_new_imt = no


to use the old image template list code.

Last post on Nov 25, 2012