bugGNU nano - Bugs: bug #53981, nano crashes when running the...

 
 

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

bug #53981: nano crashes when running the linter with a new, unsaved file among the open buffers

Submitter:  Benno Schulenberg <bens>
Submitted:  Fri 25 May 2018 03:44:16 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Fri 25 May 2018 05:43:00 PM UTC, comment #3: 

Fixed in git, commit ac31669e.

Benno Schulenberg <bens>
Group administrator
Fri 25 May 2018 04:16:53 PM UTC, comment #2: 

The linter will also crash when running, for example:

  nano  src/color.c  new.c  src/cut.c

Whenever there is a new file is before the file for which there is a linting message.

Benno Schulenberg <bens>
Group administrator
Fri 25 May 2018 04:13:23 PM UTC, comment #1: 

The problem is that a new file doesn't have any current_stat info yet.

Benno Schulenberg <bens>
Group administrator
Fri 25 May 2018 03:44:16 PM UTC, original submission:  

To reproduce, add this line at the end of your .nanorc:

  extendsyntax c linter echo src/cut.c:88: boo

Then run this command (new.c is a new, not-yet-existing file):

  nano new.c

Type ^T.  Result: "Sorry! Nano crashed!"

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

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-02 bens Open/ClosedOpen Closed
    2018-05-25 bens StatusIn Progress Fixed
    2018-05-25 bens Summarynano crashes when running the linter on a new, unsaved file nano crashes when running the linter with a new, unsaved file among the open buffers
    2018-05-25 bens StatusNone In Progress

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code