bugGNU Octave - Bugs: bug #64691, VM machine: for scripts...

 
 

bug #64691: VM machine: for scripts __compile__("xxx","clear") throws error

Submitter:  None
Submitted:  Mon 18 Sep 2023 08:21:27 AM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * dev
Release:  Operating System:  * GNU/Linux
Fixed Release:  9.1.0 Planned Release:  9.1.0
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 13 Oct 2023 07:26:33 PM UTC, comment #3: 

No problems from CI or users. Closing as fixed. If there are problems it can be reopened.

Arun Giridhar <arungiridhar>
Group Member
Wed 04 Oct 2023 09:25:23 PM UTC, comment #2: 
Arun Giridhar <arungiridhar>
Group Member
Sat 30 Sep 2023 12:40:30 AM UTC, comment #1: 

Thanks for the test. I've made a patch to update the auxiliary functions.


VM Freshen up auxilliary dev functions

Add support for handles, script. Fix broken "vm is executing" function.

libinterp/corefcn/compile.cc: Changed


The patch is dependent on the patch I posted in https://savannah.gnu.org/bugs/?64705. (octave_32477.patch)

(file #55178)

Petter <petter>
Mon 18 Sep 2023 08:21:27 AM UTC, original submission:  

_compile_("test","clear")
error: octave_base_value::user_function_value(): wrong type argument 'user-defined script'

script file test.m
-------------------------

y = 1;
disp(y);


-------------------------

_compile_("test","clear")
error: octave_base_value::user_function_value(): wrong type argument 'user-defined script'


Note: octave command "clear test" works.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #55178:  octave_32478.patch added by petter (9KiB - text/plain)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by jwe (Updated the item)
  • -email is unavailable- added by arungiridhar (Posted a comment)
  • -email is unavailable- added by petter (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-10-13 arungiridhar StatusReady For Test Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 9.1.0
    2023-10-09 jwe CategoryJIT Acceleration Interpreter
    2023-10-04 arungiridhar CategoryNone JIT Acceleration
        Item GroupNone Unexpected Error or Warning
        StatusNone Ready For Test
        Planned ReleaseNone 9.1.0
    2023-09-30 petter Attached File- Added octave_32478.patch, #55178

    Back to the top

    Powered by Savane 3.15-ef91.
    Corresponding source code