bugGNU nano - Bugs: bug #44488, segmentation fault when undoing an...

 
 

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

bug #44488: segmentation fault when undoing an uncut at the end of buffer

Submitter:  None
Submitted:  Sun 08 Mar 2015 11:00:30 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Sun 15 Mar 2015 07:50:01 PM UTC, comment #4: 

Added.  Thanks again.

Benno Schulenberg <bens>
Group administrator
Sat 14 Mar 2015 07:43:24 PM UTC, comment #3: 

My full name is Dennis Decker Jensen.

Thank you!

Anonymous
Sat 14 Mar 2015 04:11:23 PM UTC, comment #2: 

Thanks for reporting.  If you give your surname, I can add it in the Changelog.

Benno Schulenberg <bens>
Group administrator
Sat 14 Mar 2015 04:00:05 PM UTC, comment #1: 

Should be fixed in SVN, r5137.

Benno Schulenberg <bens>
Group administrator
Sun 08 Mar 2015 11:00:30 PM UTC, original submission:  

$ uname -a
Linux dennis-ThinkPad-X220 3.13.0-46-generic #77-Ubuntu SMP Mon Mar 2 18:26:13 UTC 2015 i686 i686 i686 GNU/Linux

$ src/nano --version
 GNU nano version 2.3.99pre1 (compiled 21:37:54, Mar  8 2015)
 (C) 1999..2014 Free Software Foundation, Inc.
 Email: -email is unavailable- Web: http://www.nano-editor.org/
 Compiled options: --disable-libmagic --enable-utf8

I installed ncurses with "apt-get install libncursesw5-dev" in order to "./configure --enable-utf8; make; sudo make install".

Do these steps to reproduce the error:

$ src/nano

1. make a few lines, e.g. the following 3 lines and remember a final newline at the end:

a
b
c

2. Cut or more lines with C-K (or with marked text C-^)
3. Move to the end of the buffer with M-/ or multiple C-N
4. Uncut with C-U
5. Undo with M-U

This ends up with a segmentation fault with this output:
 
a
b
c
Segmentation fault (core dumped)
                                174 dennis-ThinkPad-X220:~/nano-2.3.99pre1>


Anonymous

 

(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 (Posted a comment)
  •  

    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
    2015-03-15 bens Open/ClosedOpen Closed
    2015-03-14 bens StatusNone Fixed
        Assigned toNone bens
        Summarynano-2.3.99pre1 gives segmentation fault when undoing an uncut at the end of buffer segmentation fault when undoing an uncut at the end of buffer

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code