On Sun, Jul 6, 2014 at 5:26 PM, Samuel Marshall <[email protected]> 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.)
