audio/openal-soft segfaults with SNDIO option

Tobias Kortkamp tobik at FreeBSD.org
Mon Jun 4 09:14:30 UTC 2018


On Mon, Jun 4, 2018, at 10:13, Leonid Bobrov wrote:
> On Mon, Jun 04, 2018 at 09:57:27AM +0200, Tobias Kortkamp wrote:
> > On Sun, Jun 3, 2018, at 22:10, Leonid Bobrov wrote:
> > > Hi!
> > > 
> > > I'm not sure anyone tested audio/openal-soft with audio/sndio backend
> > > recently, but I get segmentation fault when start any app depending on
> > > audio/openal-soft
> > 
> > You need to be more specific than that. "Any app" is pretty broad.
> > There are like a 100 ports that depend on openal-soft.
> > 
> > It has always worked fine for me and it still does. Though the only
> > reason I have openal-soft installed is for OpenMW.
> 
> Well, I get crashes when trying to use audio input, for example, at
> net-im/toxic, using audio output is ok.

Hmm, yes.  I can confirm this.  OpenAL's sndio backend doesn't
support recording and OpenAL reacts badly when there are no usable
backends.  I can trigger this just by running openal-info or by
misconfiguring OpenAL in ~/.alsoftrc with a driver that doesn't
exist.

As a workaround compile openal-soft with OSS=on and SNDIO=on and
setup a fallback to the OSS backend in ~/.alsoftrc

[general]
drivers = sndio,oss



More information about the freebsd-ports mailing list