Re: [pygame] import pygame crashes with svn build

2009-07-01 Thread René Dudfield
Hi, Looks like SDL_HasSSE is indeed buggy on SDL 64bit systems. Seems redhat has a patch for it: https://bugzilla.redhat.com/show_bug.cgi?id=487720 A patch is here: http://cvs.fedoraproject.org/viewvc/rpms/SDL/devel/SDL-1.2.13-rh487720.patch?revision=1.1view=markup Also there is a patch in SDL

Re: [pygame] import pygame crashes with svn build

2009-07-01 Thread Lorenz Quack
Hi, unfortunately Lenards patch didn't help. pygame would still crash. But on the upside the RedHat patch did the trick. With the patched libsdl the unpatched pygame trunk it installs and imports without problems! Open source for the win :) I also reported this bug to the gentoo bugtracker:

Re: [pygame] import pygame crashes with svn build

2009-07-01 Thread Lorenz Quack
Hi, I believe __x86_64__ is correct, but it is not only SDL_HasSSE but also SDL_HasMMX that is causing trouble because both (amongst others) internally call the SDL function CPU_getCPUIDFeatures which is the culprit. //Lorenz Lenard Lindstrom wrote: Didn't work? Then what C macro should be

Re: [pygame] import pygame crashes with svn build

2009-07-01 Thread Lenard Lindstrom
Hi Lorenz, I see. I think for now I will add a macro declaration to the transform line in Setup.in. When present Pygame will build with MMX disabled for 64 bit intels (the default). To enable MMX/SSE remove the declaration. I have included a patch that makes the proposed changes to Pygame

Re: [pygame] import pygame crashes with svn build

2009-07-01 Thread Lorenz Quack
Hey, your patch seems to work as advertised. This is also far less intrusive than the last patch which IMHO is a good thing since this is just some patch work to fix somebody else's bug. //Lorenz Lenard Lindstrom wrote: Hi Lorenz, I see. I think for now I will add a macro declaration to

Re: [pygame] import pygame crashes with svn build

2009-07-01 Thread René Dudfield
On Thu, Jul 2, 2009 at 6:51 AM, Lorenz Quackd...@amberfisharts.com wrote: Hey, your patch seems to work as advertised. This is also far less intrusive than the last patch which IMHO is a good thing since this is just some patch work to fix somebody else's bug. //Lorenz Cool...

Re: [pygame] import pygame crashes with svn build

2009-06-30 Thread Lenard Lindstrom
Oops, forgot to attach the patch. Lenard Lenard Lindstrom wrote: Hi Lorenz, Yes, it is supposed to be summer where I am too, and actually was hot for awhile, but not now. Anyway, to make sure I am clear on this, Rev. 1658 crashes when the transform module is imported, but earlier

Re: [pygame] import pygame crashes with svn build

2009-06-30 Thread Lenard Lindstrom
Hi Lorenz, Yes, it is supposed to be summer where I am too, and actually was hot for awhile, but not now. Anyway, to make sure I am clear on this, Rev. 1658 crashes when the transform module is imported, but earlier revisions work. I assume this means pygame.transform.smoothscale also works.

Re: [pygame] import pygame crashes with svn build

2009-06-29 Thread Lorenz Quack
Hey Lenard, sorry for the long delays but I'm quite busy these days plus the good weather... not many PC hours left. Lenard Lindstrom wrote: Hi Lorenz, Could you try dropping in SVN rev 1912 of transform.c instead. This predates the Python 3 updates. This is kind of reaching, but it will

Re: [pygame] import pygame crashes with svn build

2009-06-15 Thread Lorenz Quack
Hi again, you figured this out yet? not 100% but at least now I get it to compile by following your advice: Easiest way to work around it... Comment out import transform lines in the file: site-packages/pygame/__init__.py [...] Perhaps try commenting out the sse/mmx parts?

Re: [pygame] import pygame crashes with svn build

2009-06-15 Thread Lenard Lindstrom
Hi Lorenz, Could you try dropping in SVN rev 1912 of transform.c instead. This predates the Python 3 updates. This is kind of reaching, but it will narrow down the search. Thanks, Lenard Lorenz Quack wrote: Hi again, you figured this out yet? not 100% but at least now I get it to

Re: [pygame] import pygame crashes with svn build

2009-06-02 Thread Lorenz Quack
Hi, René Dudfield wrote: hrmm, you figured this out yet? unfortunately not. Easiest way to work around it... Comment out import transform lines in the file: site-packages/pygame/__init__.py I'll do that for now. What gcc version are you using? Also what cpu do you have?

Re: [pygame] import pygame crashes with svn build

2009-06-01 Thread René Dudfield
hrmm, you figured this out yet? Easiest way to work around it... Comment out import transform lines in the file: site-packages/pygame/__init__.py What gcc version are you using? Also what cpu do you have? gcc --version cat /proc/cpuinfo What is the gcc line you are using to compile

Re: [pygame] import pygame crashes with svn build

2009-05-30 Thread Lorenz Quack
René Dudfield wrote: 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)

[pygame] import pygame crashes with svn build

2009-05-29 Thread Lorenz Quack
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

Re: [pygame] import pygame crashes with svn build

2009-05-29 Thread René Dudfield
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