bugGNU nano - Bugs: bug #57915, nano crashes when redoing the...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #57915: nano crashes when redoing the insertion of an empty file

Submitter:  Benno Schulenberg <bens>
Submitted:  Fri 28 Feb 2020 09:53:35 AM UTC
   
 
Severity:  4 - Important Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Wed 25 Mar 2020 10:03:14 AM UTC, comment #3: 

Fixed in version 4.9.

Benno Schulenberg <bens>
Group administrator
Fri 28 Feb 2020 12:44:22 PM UTC, comment #2: 

Fixed in git, commit 0568f7a2.

Plus a complementing fix in commit bd88b8b5, avoiding to mark the buffer as modified when redoing an empty insertion.

Benno Schulenberg <bens>
Group administrator
Fri 28 Feb 2020 10:08:33 AM UTC, comment #1: 

Bug exists since at least version 2.1.10.

Benno Schulenberg <bens>
Group administrator
Fri 28 Feb 2020 09:53:35 AM UTC, original submission:  

To reproduce, first create a new, empty file, and then run nano.  For example:


touch empty
src/nano --ignore README


Then type: ^R empty <Enter> M-U M-E.
Result: "Sorry! Nano crashed!  Code: 11.  Please report a bug."

Bug exists since version 2.2.6, since the (then experimental) undo code was introduced.

Benno Schulenberg <bens>
Group administrator

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by bens (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.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-03-25 bens Open/ClosedOpen Closed
    2020-02-28 bens StatusNone Fixed
    2020-02-28 bens Severity5 - Blocker 4 - Important

    Back to the top

    Powered by Savane 3.14-5139.
    Corresponding source code