bugGNU nano - Bugs: bug #56011, nano crashes when resizing screen...

 
 

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

bug #56011: nano crashes when resizing screen during internal spell check

Submitter:  Benno Schulenberg <bens>
Submitted:  Wed 27 Mar 2019 03:51:28 PM UTC
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Mon 01 Apr 2019 06:25:04 PM UTC, comment #2: 

Fixed in git, commit b0c9809a.

Benno Schulenberg <bens>
Project Administrator
Wed 27 Mar 2019 04:11:56 PM UTC, comment #1: 

Bug was found because of bug #56010: if there a SIGWINCH can get nano past a wait(), then it can do that also elsewhere.  (Probably also when reading the output of an external command, ^R^X, but I'll get to that later.)

Benno Schulenberg <bens>
Project Administrator
Wed 27 Mar 2019 03:51:28 PM UTC, original submission:  

To reproduce, run 'nano --ignore NEWS' and type ^T.  Then, quickly, while spell is busy building its list of misspelled words, resize the screen.  (I type <Alt+Space> plus the shortcut for the resizing option, and then press and hold <Right>.)  Result: "Sorry! Nano crashed!  Code: 6.  Please report a bug."  Sometimes it is code 11.

Bug exists since at least nano-2.4.3.  Then in a different form (a malloc assertion fails) and leaving the terminal a bit messed up.

Benno Schulenberg <bens>
Project 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
    2019-04-16 bens Open/ClosedOpen Closed
    2019-04-01 bens StatusIn Progress Fixed
    2019-03-30 bens StatusNone In Progress

    Back to the top


    Powered by Savane 3.9