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

Home » Public Forums » archive » Fragile IDL 8 Object Programs
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: Fragile IDL 8 Object Programs [message #73184 is a reply to message #73019] Wed, 27 October 2010 15:39 Go to previous messageGo to previous message
rdh is currently offline  rdh
Messages: 6
Registered: October 2009
Junior Member
> Is anyone else having this problem? I write a LOT of
> IDL object programs. But I pretty much have to work
> in IDL 7 to debug them. IDL 8 is so incredibly fragile
> when an object crashes. I don't know if this is because
> of the new memory management of objects or what. But
> it's just really hard to work this way. Is it because
> my widgets are objects and there is some bad interaction
> between these two systems? Is it because I recompile after
> an object has crashed and I fix the problem, so the cleanup
> is confused? I don't know. Still looking for patterns and
> solutions. :-(

FYI, there is a known bug using heap variables with object graphics as
a result of IDL 8's new automatic garbage collection. Perhaps this is
related to what you are seeing?

Basically, IDL "cleans up" any heap variables that are created within
object graphics routines at random points, for our programs it happens
with IDLgrWindow->Draw(). I'm not sure if this is the only method
affected. The bug # is CR59955 and it is supposedly going to be fixed
in the next IDL 8 patch.

You can currently get around this problem by disabling garbage
collection with !null = heap_refcount(/DISABLE), or by using IDL 7.

Romy
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Z-Graphics Buffer Resolution
Next Topic: Broken hash init()

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

Current Time: Sat Oct 11 12:57:26 PDT 2025

Total time taken to generate the page: 0.63950 seconds