Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Jun 2018 11:14:29 +0200
From:      Tobias Kortkamp <tobik@FreeBSD.org>
To:        Leonid Bobrov <mazocomp@disroot.org>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: audio/openal-soft segfaults with SNDIO option
Message-ID:  <1528103669.3942512.1395420408.1B9B263C@webmail.messagingengine.com>
In-Reply-To: <20180604081335.GC62680@whesun.ddns.net>
References:  <20180603201005.GA22342@whesun.ddns.net> <1528099047.3924921.1395349152.053460E5@webmail.messagingengine.com> <20180604081335.GC62680@whesun.ddns.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1528103669.3942512.1395420408.1B9B263C>