View on GitHub

IRAF Community Distribution

IRAF maintained by the community

Home | Installation | Packages | X11IRAF | PyRAF | Forum

glibc error using mkobjects

emma wrote on Apr 29, 2006

Hi there,

I'm running a script many times which calls starlist and mkobjects and after running through the script a given number of times the script crashes with this error:

*** glibc detected *** free(): invalid pointer: 0x8001002e ***
*** glibc detected *** free(): invalid pointer: 0x8001002e ***
*** glibc detected *** free(): invalid pointer: 0x8001002e ***

PANIC in `/iraf/iraf/noao/bin.redhat/x_artdata.e': abort
ERROR: Abnormal termination of child process 'noaobin$x_artdata.e'
cl ()
cl ()

It crashes part way through the mkobjects task (this task runs after the starlist task). I'm very confused as obviously it runs through the script completely many times before this error appears - any suggestions? I'm running the latest version of iraf on Scientific Linux.

Many thanks,

Emma :)

Mike Fitzpatrick wrote on Apr 29, 2006

Emma,

This sounds like some kind of memory corruption but there's not enough information to figure out exactly wy it is crashing. If you could post a
small script that demonstrates the problem it would help.

As for workarounds, generally putting a 'flpr' in the script at the top/bottom of the loop will flush any buildup of crud in the task that may be contributing to the
problem. Hope this helps.

-Mike

Brooke wrote on Apr 29, 2006

Mike,

Though I am not Emma, thanks for your help!

I was having a problem with drizzle in stsdas.packages.dither -- I would get the same error as above after progressing partway through a script. It was always after the same number of instances of drizzle.

I dunno why, but I forgot about flpr. Thanks for the reminder, it fixed it.

-Brooke

Last post on Apr 29, 2006