ao segfaults if an AudioDevice object is created too quickly after import
Bug #1226634 reported by
Mark Edgington
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pyao (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
It appears that pyao requires some setup time after the ao module is imported, otherwise instantiating an AudioDevice object causes a segfault. Test code is below:
--- BEGIN PYTHON FILE ---
#!/usr/bin/env python
import ao
# prevent weirdness with ao segfaulting when AudioDevice is instantiated
#import time ; time.sleep(1)
# PulseAudio sample-
dev = ao.AudioDevice(
--- END PYTHON FILE ---
I'm using Ubuntu 13.04 (64-bit).
To post a comment you must log in.