Re: [rock-user] python+ncurses segfaulting

Sebastian Jaenicke <[email protected]> Wed, 28 Jul 2004 20:12:18 +0200
Newsgroups gmane.linux.distributions.rock.user
Message-ID <[email protected]>
Hi,

On Wed, Jul 28, 2004 at 12:10:58PM +0200, Mathieu Doidy wrote:
[..]
> 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 ----

Works for me, python-2.3.4 compiled with gcc 3.2.1,
CFLAGS="-O3 -march=i686 -fforce-addr -fomit-frame-pointer \
-finline-functions -fcse-skip-blocks -funroll-loops \
-frerun-cse-after-loop"

Had to patch some other things, though:

* add "-lcrypt" for cryptmodule
* http://blfs-bugs.linuxfromscratch.org/attachment.cgi?id=88&action=view

- Sebastian

-- 
Sebastian Jaenicke                                   Disce aut discede!
whois pgpkey-C81115B1 -h whois.ripe.net|perl -ne's-^certif: *--&&print'

_______________________________________________
rock-user mailing list
[email protected]
http://www.rocklinux.net/mailman/listinfo/rock-user
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBB+yCq24f4sgRFbERAteKAJwMepOHjU7YKAy6OwkRYLC3A/ZRzgCfWJd8
TRsgxSFvnPdTw1TOIOu8d7Y=
=nHd9
-----END PGP SIGNATURE-----