[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Segmentation fault when calling redrawwin on a fresh window
From: |
Thorben Krueger |
Subject: |
Segmentation fault when calling redrawwin on a fresh window |
Date: |
Fri, 12 Oct 2007 11:09:56 +0200 |
I had the python ncurses module segfaulting on me, see
http://bugs.python.org/issue1266.
I use python 2.5.1, which is built against ncurses version 5.6-r1 (or
so). ncurses5-config --version gives me 5.6.20061217. The seems to
effect older versions, too. Python 2.4 on the slightly more
conservative debian machine of a friend crashes too, but now someone
has posted a c-script to show that the bug seems to lie with ncurses.
For your convenience, I post it below:
#include <curses.h>
int main(int argc, char**argv) {
WINDOW *win = initscr();
WINDOW *win2 = newwin(50, 50, 50, 50);
redrawwin(win2);
return 0;
}
hope it helped.
thorben
- Segmentation fault when calling redrawwin on a fresh window,
Thorben Krueger <=