[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bug in info with window resizing
From: |
Gavin Smith |
Subject: |
Re: Bug in info with window resizing |
Date: |
Mon, 7 Jul 2014 00:33:16 +0100 |
On Sun, Jul 6, 2014 at 5:26 PM, Samuel Marshall <address@hidden> wrote:
> Hello, I’ve found a number of bugs in info that are triggered as the result
> of resizing the terminal window in some specific ways. I was originally going
> to write up a proper ticket with a patch for this but after some
> investigation i no longer feel confident in my abilities to submit a patch
> without causing more harm to the existing code.
>
Thanks for the report. I've spent some time trying to fix this but
haven't got it quite working yet. I found that the signal handler for
a resized screen could overwrite data while it's being used, so I've
been trying to block these signals while accessing this data in the
rest of the program. I haven't read your blog post in any detail yet
but I think this is the reason for all the uninitialized values/memory
corruption. I'll comment more later.
(If you want to see a related bug, try splitting the window with C-x 2
and resizing the window to be smaller.)