Joined: 19 Jan 2006 Posts: 3 Location: MPE-Garching (Germany)
Posted: Thu Jan 19, 2006 11:35 am Post subject: PANIC in `x_tv.e': Memory has been corrupted
I have the following problem ovarlaying a mask on a displayed image.
When I run a command like this:
display (image=image.fits, frame=1, bpmask=, bpdisplay=none, overlay=tmp$mask.pl, ocolors=green, zscale=no, zrange=no, z1=475., z2=712.)
the image displays correctly and the mask is also overlayed, but the process hangs and issues the error message:
PANIC in `[path]/x_tv.e': Memory has been corrupted.
The cl must be killed then.
Note that the image is a multi-extension fits image that correctly displays without any problem if no mask overlay is requested.
I am running IRAF V12.2.2 on a customized debian Linux distribution for pc, with kernel 2.6.8-2-686. ds9 is version 3.0.3
This has come up before in cases where the mask is not the same dimension as the image. While the pixel dimensions may be the same, magnification or the extraction of an image section can affect the logical dimension of the image.
If that's not it, try explicitly saying
bpmask="" instead of just bpmask=
especially if you have a BPM keyword in the header. Since the task is failing at the end (i.e. when pointers are being freed) it likely means memory was corrupted/overrun earlier someplace. If you've got ElectricFence installed you can use that to better trap the error at the point of the corruption.
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