Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

PANIC in `x_tv.e': Memory has been corrupted

 
Post new topic   Reply to topic    iraf.net Forum Index -> Applications
View previous topic :: View next topic  
Author Message
ziby



Joined: 19 Jan 2006
Posts: 3
Location: MPE-Garching (Germany)

PostPosted: Thu Jan 19, 2006 11:35 am    Post subject: PANIC in `x_tv.e': Memory has been corrupted Reply with quote

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.3

Any hint?
Thanks!
Stefano
Back to top
View user's profile Send private message Visit poster's website
fitz
Site Admin


Joined: 30 Sep 2005
Posts: 3257
Location: Tucson

PostPosted: Fri Jan 20, 2006 4:31 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Applications All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.08 seconds