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

Home » Public Forums » archive » Re: "Stopped on unknown instruction" and DLMs
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: "Stopped on unknown instruction" and DLMs [message #47557] Thu, 16 February 2006 08:46
Karl Schultz is currently offline  Karl Schultz
Messages: 341
Registered: October 1999
Senior Member
On Thu, 16 Feb 2006 12:07:55 +0100, Maurizio Tomasi wrote:

> Hello to everybody,
>
> I am developing a DML module for IDL, and get the following error
> message when calling one of the C functions of the module:
>
> IDL> print, open_lama_view ()
> % Stopped on unknown instruction(195) at 944849017.
> % Execution halted at: $MAIN$
> IDL>
>
> The "open_lama_view" function is defined in my DLM, however I am not
> able to understand if the error is in the C code or it is in IDL. The C
> function is executed correctly and completed before the error is printed.

That message is coming from the IDL interpreter because it found an
instruction it didn't understand. Although I was wrong the last time I
blamed a DLM for a problem like this, I think this time it is probably the
case that your C DLM is damaging the memory where IDL is storing your
compiled IDL code. You need to debug your DLM code as Haje suggested.
Another effective technique is to disable code in your DLM and renable it
a little at a time until the problem shows up again, to help you narrow it
down. Although your C code did the right thing, it apparently did some
other damage along the way.

Karl
Re: "Stopped on unknown instruction" and DLMs [message #47562 is a reply to message #47557] Thu, 16 February 2006 05:57 Go to previous message
Haje Korth is currently offline  Haje Korth
Messages: 651
Registered: May 1997
Senior Member
Looks like a problem in your DLM to me. Use a debugger to step through the
code.

Haje


"Maurizio Tomasi" <tomasi@lambrate.inaf.it> wrote in message
news:dt1mfg$9n7$1@muffin.area.ba.cnr.it...
> Hello to everybody,
>
> I am developing a DML module for IDL, and get the following error
> message when calling one of the C functions of the module:
>
> IDL> print, open_lama_view ()
> % Stopped on unknown instruction(195) at 944849017.
> % Execution halted at: $MAIN$
> IDL>
>
> The "open_lama_view" function is defined in my DLM, however I am not able
> to understand if the error is in the C code or it is in IDL. The C
> function is executed correctly and completed before the error is printed.
>
> Thanks,
> Maurizio Tomasi.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: "Stopped on unknown instruction" and DLMs
Next Topic: Re: Call a method from a class

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

Current Time: Wed Oct 08 14:55:48 PDT 2025

Total time taken to generate the page: 0.00473 seconds