[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[pygame] Pygame2 SDL_mixer segmentation fault



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:

Starting program: /usr/bin/python modalien.py
[Thread debugging using libthread_db enabled]
[New Thread 0x7fffedac6910 (LWP 2974)]
[Thread 0x7fffedac6910 (LWP 2974) exited]
[New Thread 0x7fffedac6910 (LWP 2975)]
[New Thread 0x7ffff0ed4910 (LWP 2976)]

Program received signal SIGSEGV, Segmentation fault.
0x0000000000000002 in ?? ()

Here's the gdb backtrace:

#0  0x0000000000000002 in ?? ()
#1  0x00000000004a218e in PyEval_EvalFrameEx ()
#2  0x00000000004a40e0 in PyEval_EvalCodeEx ()
#3  0x000000000052be30 in ?? ()
#4  0x000000000041d6e7 in PyObject_Call ()
#5  0x00000000004254ff in ?? ()
#6  0x000000000041d6e7 in PyObject_Call ()
#7  0x000000000047068e in ?? ()
#8  0x000000000046b92f in ?? ()
#9  0x000000000041d6e7 in PyObject_Call ()
#10 0x00000000004a199c in PyEval_EvalFrameEx ()
#11 0x00000000004a2e47 in PyEval_EvalFrameEx ()
#12 0x00000000004a40e0 in PyEval_EvalCodeEx ()
#13 0x00000000004a41b2 in PyEval_EvalCode ()
#14 0x00000000004c33a0 in PyRun_FileExFlags ()
#15 0x00000000004c3564 in PyRun_SimpleFileExFlags ()
#16 0x0000000000418ab7 in Py_Main ()
#17 0x00007ffff6fd0abd in __libc_start_main () from /lib/libc.so.6
#18 0x0000000000417ca9 in _start ()

If you need any more info, I'd be happy to provide it.

--
Evan Kroske
http://welcome2obscurity.blogspot.com/
The personal blog of Evan Kroske,
novice software developer.