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

Submitted by:  Benno Schulenberg <bens>
Submitted on:  Sun 16 Jun 2019 05:03:10 PM UTC  
 
Severity:  5 - Blocker Status:  Fixed
Assigned to:  Benno Schulenberg <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>
Project AdministratorIn charge of this item.
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>
Project AdministratorIn charge of this item.
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>
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-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.6