On, Mon Jan 18, 2010, Evan Kroske wrote: > I'm running 64-bit Ubuntu Karmic Koala with Linux kernel version > 2.6.31-17-generic, and I get a segmentation fault when I call > pygame2.sdlmixer.init(). Has anybody else compiled the latest Pygame2 svn > revision and used sdlmixer on a 64-bit system? Here's the gdb output: [...] It looks, like opening the audio device requires thread support on some platforms. I changed the sdlmixer.open_audio() call to support threads, which seems to fix the problem. While working on that, sdlmixer.init() was changed to support the optional INIT_FLAC/INIT_MOD... arguments properly, so do not forget to initialize sdlmixer with something like: import pygame2.sdlmixer as sdlmixer import pygame2.sdlmixer.constants as const ... sdlmixer.init (const.INIT_FLAC|const.INIT_MOD...) ... if you want support for additional audio formats. The changes are committed in SVN revision 2740. Regards Marcus
Attachment:
pgpnPrMnHA2tC.pgp
Description: PGP signature