[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Segmentation Fault in PolyPlay 1.3 Walker demo
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] Segmentation Fault in PolyPlay 1.3 Walker demo
- From: "René Dudfield" <renesd@xxxxxxxxx>
- Date: Mon, 7 Apr 2008 09:39:50 +1000
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Sun, 06 Apr 2008 19:39:57 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=DJibXcqiJ4twKAesto98qFf3e0v+eVP2BzqoFsCFT0k=; b=hsZjE+iNpX0DaCeGi48gt0cpGYPKTxEabEm7OCEJ6AUIM/E9y9RCTxgIfsA05OtcM98POa8SA/gXp2x6/Jhr/pD1edMD3SbllANpEsqaMsdpvHVASHATIsPq4UGha15vexSn1kKKf5aKXxCTl8pdkdIr1dEAlqFV9FjHc3GHDo8=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=CkViN7GXm5mhpalW+8cgYytzIR1ZDGroVKBEydCk995iqwd+tr66x0FPel0BIaLJYId9glsbgUNTpX8fSWQNUjuP83d6xAWJ312AxnnPFSb6OAZzyi+xfyggLAdeXxuU4NvXMu9pC3tz1sk4IcVfi1BsWQxpxGTX7Eo6dFa/vhg=
- In-reply-to: <47F94525.2080304@xxxxxxxxx>
- References: <47F94525.2080304@xxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
hi,
have you tried using gdb?
Also you can initialise each module separately if you like.
eg.
import pygame.display
pygame.display.init()
etc...
cheers,
On Mon, Apr 7, 2008 at 7:48 AM, Lenard Lindstrom <len-l@xxxxxxxxx> wrote:
> Well it looks like I have another obscure Pygame 1.8 bug to hunt down. I was
> trying the PolyPlay 1.3* Walker demo on Windows - PolyPlay\run.bat - and a
> couple of seconds after the simulation starts the program segfaults, which
> is caught by the Pygame parachute. Right now I have no idea what caused it.
> I suspect it is Pygame because PolyPlay doesn't appear to import any other
> third party modules except psyco. It still crashes with psyco disabled. And
> the segfault happens for both Python 2.4 and 2.5. If anyone else experiences
> the same thing please let me know.
>
> By the way, the fact Pygame automatically loads all modules in its package
> makes debugging difficult. It is pointless to examine sys.modules to
> determine what aspects of Pygame a program might be using.
>
> * http://www.pygame.org/project/618/?release_id=1211#
>
> --
> Lenard Lindstrom
> <len-l@xxxxxxxxx>
>
>