bugGNU nano - Bugs: bug #57520, in current git, nano dies after...

 
 

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

bug #57520: in current git, nano dies after suspension on a console

Submitter:  Benno Schulenberg <bens>
Submitted:  Thu 02 Jan 2020 04:43:05 PM UTC
   
 
Severity:  5 - Blocker Status:  Wont Fix
Assigned to:  bens Open/Closed:  Closed

Fri 03 Jan 2020 10:50:21 AM UTC, comment #1: 

The problem is sidestepped by commit 2867f1bb.

And closing because unreleased.

Benno Schulenberg <bens>
Group administrator
Thu 02 Jan 2020 04:43:05 PM UTC, original submission:  

To reproduce, configure nano with --with-slang, compile, and then run on a Linux console:

  src/nano --ignore --suspend +64 NEWS

Type ^Z, followed by: fg <Enter>.  Result: nano dies with the message "Too many errors from stdin".

The offending commit is 5527883c from yesterday.

However, if I just take out that error counting and die() statement, nano will consume 100% CPU when resuming after suspension, but that will go away after the first keystroke.  So... maybe that if-then-die should simply go?  What is the point of it anyway?

Nano running at 100% CPU suggests that it is in nodelay mode when it should be in delay mode.

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-01-03 bens StatusIn Progress Wont Fix
        Open/ClosedOpen Closed
        Summaryin current git, nano aborts after suspension on a console in current git, nano dies after suspension on a console

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code