[rock-user] python+ncurses segfaulting

Mathieu Doidy <[email protected]> Wed, 28 Jul 2004 12:10:58 +0200
Newsgroups gmane.linux.distributions.rock.user
Message-ID <[email protected]>
Hi,

python surprinsingly chokes when using ncurses extension
i think i've had this problem since an upgrade of python but i don't
remember precisely when
i discovered it when using btdownloadcurses.py (from bittorrent)

in fact, i got a segfault with just this simple script :
---- SNIP ----
#!/usr/bin/python
import curses.panel
scrwin = curses.initscr()
scrwin = curses.newwin(0, 0, 0, 0)
curses.panel.new_panel(scrwin)
---- SNAP ----

does anyone have the same problem or know a way to debug this ?
i tried to recompile python with pentium3 optimizations and with no
optimizations, it results to the same error

any help would be appreciated

/mathieu