[OVC-demo-team] Segment fault in pygames

From: Fred McLain <mclain_at_zipcon_dot_net>
Date: Thu Mar 18 2004 - 13:04:33 CST

Hi all,

I was testing John Paul's code today and ran into a somewhat strange
situation. First I created a little script (rungui.sh) to wrapper his
code:

------ SNIP ------
#!/bin/sh
cd src/evm2003/gui
while true
do
    python gui.py
    if [ -f debug ]
    then
        ghostview ballot.ps
    else
        lpr ballot.ps
    fi
done
------ /SNIP ------

I then created the "debug" file and ran the script. After exiting
ghostview I get this error:

------ SNIP ------
Pygame Parachute Traceback:
  File "gui.py", line 474, in setup_everything
Fatal Python error: (pygame parachute) Segmentation Fault
./rungui.sh: line 13: 12618 Aborted python gui.py
------ /SNIP ------

Trying to run "python gui.py" after this error produces the same error
again.

Any clues on how to resolve this? The line of code in question is
"pygame init()".

        -Fred-
==================================================================
= The content of this message, with the exception of any external
= quotations under fair use, are released to the Public Domain
==================================================================
Received on Thu Apr 1 02:40:28 2004

This archive was generated by hypermail 2.1.8 : Thu Apr 01 2004 - 02:40:36 CST