Re: Interpreter stack not aligned properly during user return. [message #38369] |
Fri, 05 March 2004 08:28  |
Nuno Oliveira
Messages: 75 Registered: October 2003
|
Member |
|
|
Besides this, there is a strange behaviour. I get the error message several
times and I can see an important and complex FOR cycle executed that times.
But when I put an error right after that FOR cycle I get my print out
message between idl's error messages
Like:
& Interpreter stack not aligned properly during user return.
& Interpreter stack not aligned properly during user return.
'my error message'
& Interpreter stack not aligned properly during user return.
"Nuno Oliveira" <nmoliveira@fc.ul.pt> wrote in message
news:c2a6n4$fhn$1@pegasus.fccn.pt...
> Interpreter stack not aligned properly during user return.
>
> Can anyone help about this error message? What may cause this?
>
> By the way. Is, in IDL tutorials, a section what interpreting error
> messages?
>
> Cheers,
>
> Nuno.
>
|
|
|
Re: Interpreter stack not aligned properly during user return. [message #38370 is a reply to message #38369] |
Fri, 05 March 2004 08:24   |
Nuno Oliveira
Messages: 75 Registered: October 2003
|
Member |
|
|
The program is calling a function from a separate file, but written in IDL.
All the code, and functions it calls are written in IDL.
"Craig Markwardt" <craigmnet@REMOVEcow.physics.wisc.edu> wrote in message
news:on8yifz3zw.fsf@cow.physics.wisc.edu...
>
> Nuno Oliveira <nmoliveira@fc.ul.pt> writes:
>
>> Interpreter stack not aligned properly during user return.
>>
>> Can anyone help about this error message? What may cause this?
>>
>> By the way. Is, in IDL tutorials, a section what interpreting error
>> messages?
>
> You don't say, but presumably you are calling an external routine (not
> an IDL procedure). Is that true? It probably means that your
> external routine scrambled the stack.
>
> Craig
>
> --
> ------------------------------------------------------------ --------------
> Craig B. Markwardt, Ph.D. EMAIL: craigmnet@REMOVEcow.physics.wisc.edu
> Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
> ------------------------------------------------------------ --------------
|
|
|
|
|
|
|
Re: Interpreter stack not aligned properly during user return. [message #38468 is a reply to message #38369] |
Fri, 05 March 2004 08:36  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Nuno Oliveira writes:
> Besides this, there is a strange behaviour. I get the error message several
> times and I can see an important and complex FOR cycle executed that times.
> But when I put an error right after that FOR cycle I get my print out
> message between idl's error messages
Yeah, you are doing something wrong with those pointers. :-)
If writing about it hasn't helped, then I think you have
to step through the code, checking your assumptions about
what is happening at every step. I think you are assuming
something that just isn't so.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
|
|
|