Public bug reported:

pygame seems to be segfaulting after a call to pythonmagick.  i tried
running this through pdb, but it was unable to produce a backtrace.


here is the most basic code that produces the error on my machine:

####################################### start pygame_fail.py

import PythonMagick
import pygame

surface = pygame.Surface((128, 128), depth=8)
pygame.image.save(surface, "tmp.bmp")
img = PythonMagick.Image("tmp.bmp")

#THIS IS WHERE THE FAILURE HAPPENS                                              
                                                        
bb = img.boundingBox()

######################################## end


here is the failure (it fails in my ipython interpreter too):
###################################### start

$ ./pygame_fail.py 
Fatal Python error: (pygame parachute) Segmentation Fault
Aborted

###################################### end


code versions on my machine:

kubuntu jaunty
2.6.28-17-generic #58-Ubuntu SMP
pygame 1.8.1release-0ubuntu2
pythonmagick 0.8-0ubuntu2.1
python 2.6.2

** Affects: pygame (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Segmentation Fault (pygame parachute) caused by call to PythonMagick (minimal 
example attached)
https://bugs.launchpad.net/bugs/506655
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to