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


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

Submitted by:  None
Submitted on:  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

Add a New Comment (Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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>
Project 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



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

Attach Files:

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)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project 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.7