AudioDevice() gets a segmentation fault
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyao (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
What is expected to happen:
Return a valid AudioDevice object.
What actually happened:
Python interpreter quits with a segmentation fault.
The minimal series of steps necessary to make it happen:
Open a terminal, run python, and enter the following two lines
import ao
dev = ao.AudioDevice(
It appears that pyao is incompatible with the installed version of libao. The "ao_sample_format" struct in libao now has a variable called "matrix" that pyao does not deal with.
ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: python-pyao 0.82-3ubuntu1
ProcVersionSign
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Mon Oct 18 15:52:38 2010
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release i386 (20101007)
ProcEnviron:
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: pyao
Here's a patch for the source package that fixes the problem.