Re: TICKNAME Crash Problem Solved! [message #77627] |
Thu, 15 September 2011 05:43 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
greg writes:
> Have you figured out why this causes a crash rather than an error or some other within-the-bounds-of-normal odd behaviour? Are you still getting other crashes from 8.1? Perhaps you could give ITTVIS your special version of tex2idl - it might help to trace the problem.
I have not figured out what caused the crash. As I say,
the two files are nearly identical. I have sent the file
to some folks at ITTVIS. I'd rather get back to doing
something more useful than twiddling my thumbs while my
computer re-boots. :-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: TICKNAME Crash Problem Solved! [message #77628 is a reply to message #77627] |
Thu, 15 September 2011 03:58  |
greg.addr
Messages: 160 Registered: May 2007
|
Senior Member |
|
|
Have you figured out why this causes a crash rather than an error or some other within-the-bounds-of-normal odd behaviour? Are you still getting other crashes from 8.1? Perhaps you could give ITTVIS your special version of tex2idl - it might help to trace the problem.
cheers,
Greg
|
|
|
Re: TICKNAME Crash Problem Solved! [message #77630 is a reply to message #77628] |
Wed, 14 September 2011 15:20  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Kenneth P. Bowman writes:
> Other bugs will come and go, but problems with search paths
> and environment variables will never go away.
It's taken 20 years or so, but name space collisions
are really becoming a problem. It would probably be
less so if ITTVIS would stop writing all their new
software in IDL and go back to writing it in C. ;-)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|
Re: TICKNAME Crash Problem Solved! [message #77635 is a reply to message #77631] |
Wed, 14 September 2011 14:23  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> So, I *think* this must have been the tex2idl file
> that came with IDL 8.0.1, but I haven't checked to
> be sure.
Just to finish this off, so I can go get some real
work done, I still don't know where the tex2idl.pro
I had in my path came from. I have diffed it with
the tex2idl.pro in both the IDL 8.0.1 and IDL 8.1
directories and the only *apparent* difference is that
a number of FOREACH loops are commented out in the
problem file and replaced by FOR loops. To an
untrained eye it looks as though they do identical
things.
In any case, I would guess that the version I had
was written sometime before the FOREACH language
structure was working properly. (Maybe this was
from the IDL 8 beta. That's possible!)
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
Re: TICKNAME Crash Problem Solved! [message #77636 is a reply to message #77635] |
Wed, 14 September 2011 12:56  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Bob writes:
> There is a tex2idl.pro on the default path at:
>
> idl81/lib/graphics/tex2idl.pro
>
> Is yours similar to this one?
I think what happened was, at some time in the past I
was trying to figure out how this tex2idl file worked.
I can't edit and save an ITTVIS-supplied file in the
normal IDL directories because I am not the "creator"
of the file in Windows 7. So, if I want to play with
these files, I need to save them somewhere else. I
normally save them in a "junk" directory that is not
on my path. Somehow, I accidentally saved this file
(I think!) in my CoyotePlus directory, which was on
my IDL path.
So, I *think* this must have been the tex2idl file
that came with IDL 8.0.1, but I haven't checked to
be sure.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|
|
Re: TICKNAME Crash Problem Solved! [message #77639 is a reply to message #77637] |
Wed, 14 September 2011 11:12  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
David Fanning writes:
> The problem turned out to be (you might have guessed
> this with IDL 8, although I didn't) a name conflict problem.
> I think you are going to be surprised when you discover
> the name. The name of the conflicting function is tex2idl.
Well, now I see that the *original* is named texToIDL,
not tex2idl. So I don't really know where this file came
from or if I was even using it.
All I know is that this was a hell of a hard problem to
track down! :-(
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
|
|
|