[issue35924] curses segfault resizing window

2019-05-17 Thread Josiah Ulfers
Josiah Ulfers added the comment: Yes, thanks Toshio and Lisa and sorry for the slow response. I just now built a Python 3.7.3 against ncurses-6.1-20190511 and can confirm it resolved the issue. -- status: -> closed ___ Python tracker

[issue35924] curses segfault resizing window

2019-05-17 Thread Lisa Roach
Lisa Roach added the comment: Thank you for all the work you did on this Toshio! I think we are good to close this issue. -- stage: patch review -> resolved ___ Python tracker

[issue35924] curses segfault resizing window

2019-05-12 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: Hi Josiah, I've tested my sample program and it looks like the segmentation fault is fixed with ncurses-6.1-20190511: http://lists.gnu.org/archive/html/bug-ncurses/2019-05/msg00013.html Are you able to give that a try and see whether it resolves the issue

[issue35924] curses segfault resizing window

2019-05-08 Thread Toshio Kuratomi
Change by Toshio Kuratomi : -- keywords: +patch pull_requests: +13120 stage: -> patch review ___ Python tracker ___ ___

[issue35924] curses segfault resizing window

2019-05-08 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: My upstream (ncurses) bug report: http://lists.gnu.org/archive/html/bug-ncurses/2019-05/msg00010.html -- ___ Python tracker ___

[issue35924] curses segfault resizing window

2019-05-08 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: I've diagnosed this a bit further and have a workaround for you. It appears that using addstr() with a string with embedded newlines is a piece of the problem. If I modify your example program so that we add each line as a separate string instead of

[issue35924] curses segfault resizing window

2019-05-07 Thread Toshio Kuratomi
Toshio Kuratomi added the comment: I'm still debugging this but it may be an off-by-one error in ncurses, wresize.c. I've found that if I modify the following section in ncurses, our problem goes away: /* * Dispose of unwanted memory. */ if (!(win->_flags &

[issue35924] curses segfault resizing window

2019-03-11 Thread Lisa Roach
Lisa Roach added the comment: I am able to confirm the repro, I haven't been able to find the root cause of it yet though. Trying to dig into it. -- nosy: +lisroach ___ Python tracker

[issue35924] curses segfault resizing window

2019-02-10 Thread SilentGhost
Change by SilentGhost : -- nosy: +twouters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35924] curses segfault resizing window

2019-02-06 Thread Josiah Ulfers
New submission from Josiah Ulfers : To provoke a segmentation fault, run the attached, then grab the top or bottom edge of the window. Move it down or up until it overlaps the box. Might need to wiggle the edge a little, but it's reliably reproducible. Expected error, which is what happens