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

Home » Public Forums » archive » Extremely Strange Program Behavior
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Extremely Strange Program Behavior [message #39489] Sun, 23 May 2004 11:15 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Folks,

I have a problem with a program that is exhibiting extremely
strange behavior. I just wondered if anyone has seen this
before.

I have a relatively complicated program that uses a great
many pointers and objects and widgets wrapped up in objects.
The program actually runs perfectly, as far as I can tell. It
does what it is suppose to do (restores some files, copies some data
out of stored IDL structures, puts up a graphical user interface
etc.) and when I exit the program there is no evidence of any
leaking heap memory. All very clean and tidy.

Now, here is the strange part. If I run the program again
immediately after I exit, the program crashes the IDLDE with one
of those dreaded "instruction at whatever couldn't read
memory at some other whatever" messages. (Which I am seeing
much more frequently, I think, since I upgraded to a new,
faster computer running Window XP, but that's another story.)

Here is the kicker. If I open a window between the time
I exit the program and start it up again, it will run
perfectly for as long as I care to run it!

Naturally, I can't make a simple "example" file that
exhibits this behavior, so the chance of getting someone
at RSI to look at it is probably awfully low. Does this
ring any bells for anyone? Does anyone have a theory as
to why opening a window would help solve this problem,
whatever it happens to be?

Thanks.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Uncaught PARTICLE_TRACE exception
Next Topic: Re: Python and IDL

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

Current Time: Wed Oct 08 17:25:59 PDT 2025

Total time taken to generate the page: 0.00399 seconds