octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #64574] VM causes "'%nargout' undefined near l


From: Petter T.
Subject: [Octave-bug-tracker] [bug #64574] VM causes "'%nargout' undefined near line" error
Date: Sun, 20 Aug 2023 05:58:05 -0400 (EDT)

Follow-up Comment #1, bug #64574 (project octave):

'%nargout' is the 0th slot storing the amount of anticipated returns as a
native 64-bit int and should not end up be used like that.

So I guess either that the instructions have got out of sync (.i.e the VM
instruction pointer has come one byte off or something) or there is a bug in
the compilation which set some slot number to zero.

Could you add:

foobar = 1;
c = round(mean(a - b) + 0.2);


and run '__compile__ fnname print' and post the opcodes around the 'foobar'
identifier?

Don't post all opcodes since that can recreate your program if it got
sensitive data.


    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?64574>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]