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

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

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

Fixed in git, commit b0c9809a.

Benno Schulenberg <bens>
Project AdministratorIn charge of this item.
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 AdministratorIn charge of this item.
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 AdministratorIn charge of this item.

 

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)
  •  

    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 logged-in users can vote.

     

     

     

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