bugGNU Octave - Bugs: bug #42584, Save command history at crash


bug #42584: Save command history at crash

Submitted by:  Anton <ajf>
Submitted on:  Thu 19 Jun 2014 08:26:55 AM UTC  
Category:  Interpreter Severity:  1 - Wish
Priority:  5 - Normal Item Group:  Feature Request
Status:  Confirmed Assigned to:  None
Originator Name:  Open/Closed:  Open
Release:  dev Operating System:  Any

Add a New Comment(Rich Markup)

You are not logged in

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


Tue 02 Dec 2014 12:02:43 PM UTC, comment #2:

Better to do it in a manner that writes the history in
all possible cases, particularly for segfault.

Michael Godfrey <godfrey>
Project Member
Tue 24 Jun 2014 08:10:07 PM UTC, comment #1:

Thanks for your bug report. This sounds like a good idea to me. This should involve calling the command_history::clean_up_and_save function from within the same signal handler routines that save the octave workspace file.

Mike Miller <mtmiller>
Project Administrator
Thu 19 Jun 2014 08:26:55 AM UTC, original submission:


when octave crashes (or more precisely when it does not react anymore and I kill it by pressing ctrl+C) it attempts to save the current workspace in octave-workspace before closing down, which might be useful in some situations. However, what would help me much more would be if it would save the current command history such that I would have it available after a restart. Would be great if that could be saved as well.


Anton <ajf>


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

Attach Files:

No files currently attached


Depends on the following items: None found

   bug dependencies.


Carbon-Copy List
  • -email is unavailable- added by godfrey (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by ajf (Submitted the item)

    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.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-04-27 mtmiller Release3.8.1 => dev
    2014-12-01 mtmiller Dependencies- => bugs #43729 is dependent
    2014-06-24 mtmiller CategoryNone => Interpreter
        Severity3 - Normal => 1 - Wish
        StatusNone => Confirmed

    Back to the top

    Powered by Savane 3.3