comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Crashing ROI's
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Crashing ROI's [message #82044] Sun, 11 November 2012 03:09 Go to next message
Fabzi is currently offline  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 Go to previous message
Fabzi is currently offline  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!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: x-axis label in plot procedure
Next Topic: fast svdc for Singular Value Decomposition?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:36:57 PDT 2025

Total time taken to generate the page: 0.00521 seconds