alcMakeContextCurrent crashes

Bug #187997 reported by The Fiddler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openal (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Bug encountered on Ubuntu 7.04 and 7.10 and affects both x86 and x86_64 architectures.

This is a known bug of the outdated sample implementation: calling alcMakeContextCurrent more than two times results in a crash. This issue is descibed in detail at the OpenAL mailing list: http://opensource.creative.com/pipermail/openal/2008-January/010881.html

Quote:

"It was caused by alcMakeContextCurrent trying to (re)set the output parameters of the playback device to those defined in the given context. However by the second time it's called on a context, the device is playing. Under ALSA, this causes crashes.

IIRC the latest SVN version has this fixed. You might have better luck with OpenAL-Soft though since I don't know of any plans for another SI release."

This bug affects our application (OpenTK, http://www.opentk.com). The recommended solution is switching to an unstable OpenAL version, or abandoning OpenAL in favor of OpenAL-Soft, which will likely become the Sample Implementation in the future.

The Fiddler (stapostol)
description: updated
description: updated
Revision history for this message
Daniel T Chen (crimsun) wrote :

Is this symptom still reproducible in 8.10 or 9.04?

Changed in openal:
status: New → Incomplete
Revision history for this message
The Fiddler (stapostol) wrote :

I just tested and this is fixed as of 8.10, which uses openal-soft (package libopenal1) as its default openal implementation.

Revision history for this message
The Fiddler (stapostol) wrote :

Should we close this bug? It is no longer an issue with libopenal.so.1 (can anyone else confirm this?)

Revision history for this message
etali (etali) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status . Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in openal (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.