[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] "import pygame" crashes with svn build
- To: pygame-users@xxxxxxxx
- Subject: Re: [pygame] "import pygame" crashes with svn build
- From: René Dudfield <renesd@xxxxxxxxx>
- Date: Sat, 30 May 2009 09:20:45 +1000
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: pygame-users-outgoing@xxxxxxxx
- Delivered-to: pygame-users@xxxxxxxx
- Delivery-date: Fri, 29 May 2009 19:20:49 -0400
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=c7SxgMfx+vg17SASKudLgDYMYW6AzNeIkort3jLSwPM=; b=O9TB5LNwAnvMN/3ABJm3apYB80BjS1Y02QRqqx7Ptmal9dNqMbtU8nhahgvCvVh7uW x/dyAte4XbhHPj80zlKKE5Kkz9nQdHjigzDOfQIi+YoHuoDuMzjoneRh5SKQIRINapxS H/9UH9TTvEX1yUy1Z4tOLU7a2DuiJaSFhIOME=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=B3faUGkYD4tTcyYhUyT8aUbMJK7Q7cvBaw1Tt0rQlCouWgy3DdW9evX/Xi39CajXOz o/QVGxF6Euqi/0QuyUMNtBwlTpATg9oUEFP9WNwAfinsezfFj/syFBKwjzD8LqW7mws4 TNzOgF2LWAUgPTA5NddrK+IAtv1rmO0tSWS60=
- In-reply-to: <4A206ACD.9030102@xxxxxxxxxxxxxxxxx>
- References: <4A206ACD.9030102@xxxxxxxxxxxxxxxxx>
- Reply-to: pygame-users@xxxxxxxx
- Sender: owner-pygame-users@xxxxxxxx
On Sat, May 30, 2009 at 9:07 AM, Lorenz Quack <don@xxxxxxxxxxxxxxxxx> wrote:
> Hi,
>
> I have a problem running pygame from the current svn sources.
> building and installing works fine but when I import pygame it crashes:
>
>>>> import pygame
> Fatal Python error: (pygame parachute) Segmentation Fault
> Aborted
>
> If I run it through pdb I get the following result:
>
>>>> pdb.run("import pygame")
>> <string>(1)<module>()->None
> (Pdb) s
> [...]
>> /usr/lib64/python2.6/site-packages/pygame/__init__.py(214)<module>()
> -> try: import pygame.time
> (Pdb) n
>> /usr/lib64/python2.6/site-packages/pygame/__init__.py(217)<module>()
> -> try: import pygame.transform
> (Pdb) s
> Fatal Python error: (pygame parachute) Segmentation Fault
> Aborted
>
> it seems to crash right after the inittransform function.
> I have no idea what's going on. Any help is appreciated.
>
> some information about my system that may be relevant:
> $ uname -a
> Linux horst 2.6.27-gentoo-r4 #9 SMP Sat Jan 10 19:56:02 CET 2009 x86_64
> Intel(R) Core(TM)2 CPU 6600 @ 2.40GHz GenuineIntel GNU/Linux
>
> $ python
> Python 2.6.2 (r262:71600, May 1 2009, 15:24:32)
> [GCC 4.3.3] on linux2
>
> pygame revision: 2282
>
>
> sincerely yours
> Lorenz
>
>
> PS: the latest ebuild available in portage is for pygame-1.8.1 and works
> fine.
>
Hi,
can get a stack trace with gdb?
$ gdb python
(gdb) run -c "import pygame"
Then type 'where' when it crashes.
cheers,