Welcome to iraf.net Saturday, April 27 2024 @ 12:28 AM GMT


 Forum Index > Help Desk > Applications New Topic Post Reply
 PANIC in `x_tv.e': Memory has been corrupted
   
ziby
 01/19/2006 11:35AM (Read 3939 times)  
+----
Newbie

Status: offline


Registered: 01/19/2006
Posts: 3
Dear all,
I have the following problem ovarlaying a mask on a displayed image.
When I run a command like this:
display (image=image.fits[0], 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.3Any hint?
Thanks!
Stefano

 
Profile Email Website
 Quote
fitz
 01/19/2006 11:35AM  
AAAAA
Admin

Status: offline


Registered: 09/30/2005
Posts: 4040
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.-Mike

 
Profile Email
 Quote
   
Content generated in: 0.12 seconds
New Topic Post Reply

Normal Topic Normal Topic
Sticky Topic Sticky Topic
Locked Topic Locked Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Anonymous users can post 
Filtered HTML Allowed 
Censored Content 
dog allergies remedies cialis 20 mg chilblain remedies


Privacy Policy
Terms of Use

User Functions

Login