[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Nano crashes when choosing not to override a lock file
From: |
Benno Schulenberg |
Subject: |
Re: [Nano-devel] Nano crashes when choosing not to override a lock file |
Date: |
Sun, 16 Jun 2019 19:17:18 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
Op 16-06-19 om 14:47 schreef Liu Hao:
> 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'.
Thanks for the report, and for the clear reproduction recipe. I can
reproduce, have re-reported it as https://savannah.gnu.org/bugs/?56504.
The offending commit was:
http://git.savannah.gnu.org/cgit/nano.git/commit/?id=7e422402
I forgot there to add a second check for it being the only buffer.
Fixed now in master:
http://git.savannah.gnu.org/cgit/nano.git/commit/?id=345cf5ac
Benno
signature.asc
Description: OpenPGP digital signature