[issue1266] segfault in curses when calling redrawwin() before refresh()

Neal Norwitz report at bugs.python.org
Fri Oct 12 07:22:26 CEST 2007


Neal Norwitz added the comment:

What platform are you on?  I can reproduce this with 2.5.1+ and trunk on
Ubuntu.  I can reproduce with a trivial C program that does the same
thing.  This could be a bug in the curses implementation.  Or it could
be misuse of the API.  I don't know enough to suggest which is the case.  

The C program is:

#include <curses.h>

int main(int argc, char**argv) {
  WINDOW *win = initscr();
  WINDOW *win2 = newwin(50, 50, 50, 50);
  redrawwin(win2);
  return 0;
}

Perhaps a bug should be filed against curses.

----------
components: +Extension Modules -Library (Lib)
nosy: +nnorwitz

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1266>
__________________________________


More information about the Python-bugs-list mailing list