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

 
 

bug #42584: Save command history at crash

Submitter:  Anton <ajf>
Submitted:  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
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sun 03 Mar 2019 06:34:30 PM UTC, comment #3: 

This issue report is very old, but I think it would be useful.  As a developer, I crash Octave routinely and I would really like to be able to be able to recover the last command that caused the crash on the next start-up.

Rik <rik5>
Group administrator
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>
Group 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>
Group Member
Thu 19 Jun 2014 08:26:55 AM UTC, original submission:  

Hi,

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.

Thanks,
ajf

Anton <ajf>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Digest:
   bug dependencies.

 

Carbon-Copy List
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by godfrey (Posted a comment)
  • -email is unavailable- added by ajf (Submitted 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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-03-03 mtmiller Carbon-CopyRemoved 80942 -
    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.13-f8d8.
    Corresponding source code