bugGNU Octave - Bugs: bug #52501, octave crashes when invoked from...

 
 

bug #52501: octave crashes when invoked from command line and exit(1) is called

Submitter:  None
Submitted:  Sat 25 Nov 2017 01:28:31 PM UTC
   
 
Category:  Interpreter Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Unexpected Error or Warning
Status:  Fixed Assigned to:  None
Originator Name:  Lagrange Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 4.2.1
Operating System:  * Microsoft Windows Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 26 Nov 2017 04:51:15 PM UTC, comment #1: 

This has been fixed on the development branch of Octave, although it persists in the 4.2.X branch and will still be present for the 4.2.2 bug fix release.

Rik <rik5>
Group administrator
Sat 25 Nov 2017 01:28:31 PM UTC, original submission:  

When as script file is supplied at commandline which calls exit, octave crashes. However if the --eval command is used, exit works as expected.

This command works as expected:

$ octave-cli --persist -q --eval octave_exit


This command fails:

$ octave-cli --persist -q octave_exit.m
terminate called after throwing an instance of 'octave::exit_exception'

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
panic: Aborted -- stopping myself...
attempting to save variables to 'octave-workspace'...
save to 'octave-workspace' complete


Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #42479:  octave_exit.m added by None (10B - application/octet-stream)
file #42480:  octave-workspace added by None (73B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  •  

    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 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2017-11-28 rik5 Open/ClosedOpen Closed
    2017-11-26 rik5 StatusNone Fixed
    2017-11-25 None Attached File- Added octave_exit.m, #42479
        Attached File- Added octave-workspace, #42480

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code