bugGNU nano - Bugs: bug #57518, in current git, nano crashes upon...

 
 

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

bug #57518: in current git, nano crashes upon resuming on an xterm

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

Fri 03 Jan 2020 10:50:38 AM UTC, comment #2: 

The problem is sidestepped by commit 2867f1bb.

And closing because unreleased.

Benno Schulenberg <bens>
Group administrator
Thu 02 Jan 2020 06:39:56 PM UTC, comment #1: 

I can now reproduce.  Build nano with --with-slang, then run:

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

Type <Shift+Up> ^Z, and then: fg <Enter>.  Result: nano crashes.

However, it does not happen when LANGUAGE=en.  :|  It does happen when LANGUAGE=nl, or de or es or fr or others.

The offending commit is again 5527883c from yesterday.

Benno Schulenberg <bens>
Group administrator
Thu 02 Jan 2020 12:47:46 PM UTC, original submission:  

I cannot reproduce, but it happened when doing this: run 'src/nano --ignore --suspend', type ^Z, resize the window, type fg <Enter>.  Result: nano crashed.

It's not surprising.  When running that recipe inside valgrind, there are several "Invalid read of size 4" and "Invalid write of size 4".  They happen in SL routines.  :|  We really need to get rid of Slang.  Or at least disable suspension when nano is built with Slang.  (Disabling suspension ought to be possible, seeing that no user has reported bug #57517 yet.  Apparently nobody uses suspension.  Which is not surprising as it is not enabled by default.)

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 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-01-03 bens StatusIn Progress Wont Fix
        Open/ClosedOpen Closed
    2020-01-02 bens Severity4 - Important 5 - Blocker
    2020-01-02 bens StatusNone In Progress
    2020-01-02 bens Assigned toNone bens
        Summarya nano built with Slang can crash when returning from suspension in current git, nano crashes upon resuming on an xterm

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code