bugGNU nano - Bugs: bug #56504, in current git, nano crashes when...

 
 

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

bug #56504: in current git, nano crashes when the user choses not to override a lock file

Submitter:  Benno Schulenberg <bens>
Submitted:  Sun 16 Jun 2019 05:03:10 PM UTC
   
 
Severity:  5 - Blocker Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sun 16 Jun 2019 05:18:30 PM UTC, comment #2: 

Fixed in master, commit 345cf5ac.

And closing because unreleased.

Benno Schulenberg <bens>
Group administrator
Sun 16 Jun 2019 05:05:15 PM UTC, comment #1: 

The offending commit is 7e422402 ("tweaks: change a function to void, to make things more direct") from two weeks ago.  I forgot to add a check for 'openfile != openfile->next' in src/files.c.

Benno Schulenberg <bens>
Group administrator
Sun 16 Jun 2019 05:03:10 PM UTC, original submission:  

(Original report by Liu Hao: https://lists.gnu.org/archive/html/nano-devel/2019-06/msg00021.html.)

Nano recently crashes because of SIGSEGV since an unknown commit.
Details follow:

0. Build nano from the `master` branch (`01e4f85f` as we speak).
1. Run `src/nano -IGz README` to open the 'README' file. A locking
   file with the name '.README.swp' is created.
2. Press `^Z` to suspend nano.
3. Repeat the command above (this can be done by invoking `!!` in
   bash). Now nano prompts 'File README is being edited'.
4. Press `N` or `^C` (although I have no idea about the difference).
5. Nano crashes with the message 'Sorry! Nano crashed!  Code: 11.
   Please report a bug'.

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
    2019-06-16 bens StatusIn Progress Fixed
        Open/ClosedOpen Closed
    2019-06-16 bens Summarynano crashes when the user choses not to override a lock file in current git, nano crashes when the user choses not to override a lock file

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code