Crashing ROI's [message #82044] |
Sun, 11 November 2012 03:09  |
Fabzi
Messages: 305 Registered: July 2010
|
Senior Member |
|
|
Hi IDLers,
The following program makes IDL crash with a fatal error on my machine
({ x86_64 linux unix linux 7.1.1 Aug 21 2009 64 64})
Does it also crash on yours? Mine crashes with maxrois=1050
pro rois_crash
x = [10, 20, 20, 10, 10]
y = [10, 20, 20, 10, 10]
for n=1, 100 do begin
maxrois = n * 50
print, maxrois
roi = OBJ_NEW('IDLanROIGroup')
for i=0, maxrois do roi->Add, OBJ_NEW('IDLanROI', x, y)
mask = roi->ComputeMask(DIMENSIONS=[41,41])
OBJ_DESTROY, roi
endfor
end
Any suggestion on how to overcome this problem is welcome. Reducing the
number of ROI's is ok, but not effective...
Thanks!
|
|
|
Re: Crashing ROI's [message #82203 is a reply to message #82044] |
Mon, 03 December 2012 05:30  |
Fabzi
Messages: 305 Registered: July 2010
|
Senior Member |
|
|
Hi IDLers,
For those interested: I just got a mail from Exelvis that the bug will
be fixed in IDL 8.2.2
Cheers
Fab
On 11/11/2012 12:09 PM, Fab wrote:
> Hi IDLers,
>
> The following program makes IDL crash with a fatal error on my machine
> ({ x86_64 linux unix linux 7.1.1 Aug 21 2009 64 64})
>
> Does it also crash on yours? Mine crashes with maxrois=1050
>
> pro rois_crash
>
> x = [10, 20, 20, 10, 10]
> y = [10, 20, 20, 10, 10]
>
> for n=1, 100 do begin
> maxrois = n * 50
> print, maxrois
> roi = OBJ_NEW('IDLanROIGroup')
> for i=0, maxrois do roi->Add, OBJ_NEW('IDLanROI', x, y)
> mask = roi->ComputeMask(DIMENSIONS=[41,41])
> OBJ_DESTROY, roi
> endfor
>
> end
>
> Any suggestion on how to overcome this problem is welcome. Reducing the
> number of ROI's is ok, but not effective...
>
> Thanks!
|
|
|