[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Segmentation Fault in PolyPlay 1.3 Walker demo



Cool.

Here's the traceback:


0x01546d05 in drawaaline (surf=0x0, color=0, x1=0, y1=0, x2=1, y2=248,
blend=1) at src/draw.c:1023
1023                    DRAWPIX32(pixel, colorptr, brightness1, blend)
(gdb) where
#0  0x01546d05 in drawaaline (surf=0x0, color=0, x1=0, y1=0, x2=1,
y2=248, blend=1) at src/draw.c:1023
#1  0x0154849d in aaline (self=0x0, arg=0x21480) at src/draw.c:660
#2  0x0029942a in PyEval_EvalFrameEx (f=0x60a900, throwflag=0) at
/Volumes/Data/Users/ronald/Projects/python/wrk/r251/Python/ceval.c:3564
#3  0x00299cdc in PyEval_EvalCodeEx (co=0x67c80, globals=0x1ef60,
locals=0x1ef60, args=0x0, argcount=0, kws=0x0, kwcount=0, defs=0x0,
defcount=0, closure=0x0) at
/Volumes/Data/Users/ronald/Projects/python/wrk/r251/Python/ceval.c:2831
#4  0x00299e90 in PyEval_EvalCode (co=0x67c80, globals=0x1ef60,
locals=0x1ef60) at
/Volumes/Data/Users/ronald/Projects/python/wrk/r251/Python/ceval.c:494
#5  0x002bd100 in PyRun_FileExFlags (fp=0xa000bda0,
filename=0xbffff789 "pygamecrash.py", start=257, globals=0x1ef60,
locals=0x1ef60, closeit=1, flags=0xbffff5dc) at
/Volumes/Data/Users/ronald/Projects/python/wrk/r251/Python/pythonrun.c:1271
#6  0x002bd49a in PyRun_SimpleFileExFlags (fp=0xa000bda0,
filename=0xbffff789 "pygamecrash.py", closeit=1, flags=0xbffff5dc) at
/Volumes/Data/Users/ronald/Projects/python/wrk/r251/Python/pythonrun.c:877
#7  0x002cabb6 in Py_Main (argc=1, argv=0xbffff65c) at
/Volumes/Data/Users/ronald/Projects/python/wrk/r251/Modules/main.c:523
#8  0x00001f8e in ?? ()
#9  0x00001eb5 in ?? ()

On Mon, Apr 7, 2008 at 1:24 PM, Ian Mallett <geometrian@xxxxxxxxx> wrote:
> Doesn't work for me, either.
> change that line to:
> surf = pygame.Surface((800, 400))
>