On Sat, May 30, 2009 at 9:07 AM, Lorenz Quack <d...@amberfisharts.com> 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,