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

Home » Public Forums » archive » Re: xobjview creates phantom font object?
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
Re: xobjview creates phantom font object? [message #51024] Tue, 31 October 2006 12:49
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
On Tue, 31 Oct 2006 11:04:05 -0800, Pete Warner wrote:

> I'm using IDL 6.3 on a Windows machine. Now I can only get the problem
> to happen sometimes, so I'll try to figure out what I do that causes
> things to go bad. Are there any known problems with the default font
> object?
>

We HAD some problems a long time ago, but they were fixed. This is a
tricky object to handle in terms of IDL managing its lifecycle. If
you come up with a set of steps to reliably reproduce the problem, please
submit them to ITTVIS tech support, so we can look at it.

Karl
Re: xobjview creates phantom font object? [message #51030 is a reply to message #51024] Tue, 31 October 2006 11:04 Go to previous message
Pete Warner is currently offline  Pete Warner
Messages: 14
Registered: July 2006
Junior Member
I'm using IDL 6.3 on a Windows machine. Now I can only get the problem
to happen sometimes, so I'll try to figure out what I do that causes
things to go bad. Are there any known problems with the default font
object?

Karl Schultz wrote:
> On Mon, 30 Oct 2006 12:01:37 -0800, Pete Warner wrote:
>
>> Hi all, I'm using XOBJVIEW to test some objects and have come across a
>> possible bug when displaying IDLgrText objects. There is an IDLgrFont
>> object showing up that I have no reference to and is not cleaned up
>> upon closing the XOBJVIEW window. Here's my output log:
>>
>> IDL> .reset
>> IDL> otext = obj_new('idlgrtext', 'aaa')
>> IDL> obj_destroy, otext
>> IDL> heap_gc, /verbose
>> IDL> .reset
>> IDL> otext = obj_new('idlgrtext', 'aaa')
>> IDL> xobjview, otext, tlb=tlb
>> Compiled module: XOBJVIEW.
>> Compiled module: UNIQ.
>> Compiled module: FILEPATH.
>> Compiled module: PATH_SEP.
>> Compiled module: IDENTITY.
>> Compiled module: IDLEXVIEWMANIP__DEFINE.
>> Compiled module: XMANAGER.
>> IDL> widget_control, tlb, /destroy ;close xobjview
>> IDL> obj_destroy, otext
>> IDL> heap_gc, /verbose
>> <ObjHeapVar87086>
>> STRUCT = -> IDLGRFONT Array[1]
>
>
> What version of IDL are you using?
>
> Here is my output log from 6.3:
>
> IDL> otext = obj_new('idlgrtext', 'aaa')
> IDL> xobjview, otext, tlb=tlb
> Compiled module: XOBJVIEW.
> Compiled module: UNIQ.
> Compiled module: FILEPATH.
> Compiled module: PATH_SEP.
> Compiled module: IDENTITY.
> Compiled module: IDLEXVIEWMANIP__DEFINE.
> Compiled module: XMANAGER.
> IDL> widget_control, tlb, /destroy
> IDL> obj_destroy, otext
> IDL> heap_gc, /verbose
>
> I didn't see the problem in 5.6 or 6.0 either.
>
> Karl
Re: xobjview creates phantom font object? [message #51097 is a reply to message #51030] Mon, 30 October 2006 14:14 Go to previous message
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
On Mon, 30 Oct 2006 12:01:37 -0800, Pete Warner wrote:

> Hi all, I'm using XOBJVIEW to test some objects and have come across a
> possible bug when displaying IDLgrText objects. There is an IDLgrFont
> object showing up that I have no reference to and is not cleaned up
> upon closing the XOBJVIEW window. Here's my output log:
>
> IDL> .reset
> IDL> otext = obj_new('idlgrtext', 'aaa')
> IDL> obj_destroy, otext
> IDL> heap_gc, /verbose
> IDL> .reset
> IDL> otext = obj_new('idlgrtext', 'aaa')
> IDL> xobjview, otext, tlb=tlb
> Compiled module: XOBJVIEW.
> Compiled module: UNIQ.
> Compiled module: FILEPATH.
> Compiled module: PATH_SEP.
> Compiled module: IDENTITY.
> Compiled module: IDLEXVIEWMANIP__DEFINE.
> Compiled module: XMANAGER.
> IDL> widget_control, tlb, /destroy ;close xobjview
> IDL> obj_destroy, otext
> IDL> heap_gc, /verbose
> <ObjHeapVar87086>
> STRUCT = -> IDLGRFONT Array[1]


What version of IDL are you using?

Here is my output log from 6.3:

IDL> otext = obj_new('idlgrtext', 'aaa')
IDL> xobjview, otext, tlb=tlb
Compiled module: XOBJVIEW.
Compiled module: UNIQ.
Compiled module: FILEPATH.
Compiled module: PATH_SEP.
Compiled module: IDENTITY.
Compiled module: IDLEXVIEWMANIP__DEFINE.
Compiled module: XMANAGER.
IDL> widget_control, tlb, /destroy
IDL> obj_destroy, otext
IDL> heap_gc, /verbose

I didn't see the problem in 5.6 or 6.0 either.

Karl
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Determining a safe variable name from a string
Next Topic: Re: Determining a safe variable name from a string

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

Current Time: Wed Oct 08 18:41:41 PDT 2025

Total time taken to generate the page: 0.00709 seconds