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

Home » Public Forums » archive » Re: iTools bugs? cleanup and IDLgrModel import
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: iTools bugs? cleanup and IDLgrModel import [message #37228 is a reply to message #37227] Mon, 08 December 2003 06:31 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Sean Dettrick writes:

> Try this:
> IDL> iplot
> then exit iplot using the mouse, without plotting anything, then,
> IDL> help,/heap
>
> It seems iTools leaves possibly hundreds of stale objects and pointers
> on the heap. (This is in Windows). What's the rub? Was that a
> planned feature for the illuminati to exploit, of is it just a bug?
> Is there a solution aside from .reset?

To create the iTool system as a singleton object
requires a LOT of infrastructure. That's what you
are seeing here. There is a clean-up procedure
that has to be called when the system exits (it
doesn't when you just exit one of its tools),
but a 20 minute search for it didn't turn up its
name. (But I *have* seen it before, and it *does*
clean all this stuff up! No mention of it in the
documentation as far as I know.)

> Also I note that, after importing an IDLgrModel into iSurface via the
> pull-down menu and the "wizard", when I quit iSurface i get the
> following error.
> Further iTools work, even after a couple of RETALL's, proves to be
> impossible.
>
> An iTool bug?
>
> IDL> isurface
> % Compiled module: READ_BMP.
> ; isurface works fine, but when I exit it has these errors:
> % Invalid object reference: SELF.
> % Execution halted at: IDLITTOOL::DOACTION 1100

I find this, too, whenever I import an IDL graphics model
as the "IDL graphics object". Works fine with more atomic
objects like surfaces and the like. I presumed it was a
bug, but haven't ruled out that it is something I am
doing. I do note that the same model works perfectly
in XObjView, so I lean toward the bug explanation.

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Text widget Scrolling
Next Topic: test

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

Current Time: Fri Oct 10 14:07:35 PDT 2025

Total time taken to generate the page: 0.00222 seconds