nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] segfault when undoing at the top of the file


From: Mark Majeres
Subject: Re: [Nano-devel] segfault when undoing at the top of the file
Date: Tue, 15 Jul 2014 20:27:42 -0700

On 7/12/14, Benno Schulenberg <address@hidden> wrote:
>
> Hello Mark,
>
> Editing a file just now, nano segfaulted when undoing a paste
> onto the first line of the file.  To reproduce:
>
> src/nano -I +1 ChangeLog
>
> ^K   ^U   ^K   M-\   ^U   M-U
> segfault
>
> The M-\ is essential, when moving the cursor to the start of
> the file in some other way, the segfault does not happen, or
> at least not right away:
>
> ^K   ^U   ^K   <Up>   ^U   M-U   M-U   M-U   M-U   M-U
> segfault
>

Hi Benno,

This bug was very elusive.  I think I have it figured out though.  Try
this patch please.

--Mark Majeres

Attachment: undo_redo.leaks.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]