[Spice-devel] [PATCH spice-server] gstreamer: Check if ORC library can work

Frediano Ziglio fziglio at redhat.com
Tue May 23 11:39:30 UTC 2017


> 
> On Fri, May 19, 2017 at 12:23:40PM +0100, Frediano Ziglio wrote:
> > ORC lirabry is used internally by GStreamer to generate code
> > dynamically.
> > If ORC cannot allocate executable memory the failure cause
> > an abort(3) to be called.
> > This happens on some SELinux configuration that disable executable
> > memory allocation (execmem boolean).
> > Check that ORC could work before attempting to use GStreamer to
> > avoid crashes. The log will report an error.
> 
> Is that following some recommendations from orc/gstreamer maintainers?
> Or would they be open to removing that abort(), which would allow us to
> detect the error?
> 
> Christophe
> 

No much recommendation.
No support for compile time compilation not planned.
No support for removing the abort not planned.
Suggested to change SELinux settings to make ORC work or
use s/w fallback.

Frediano


More information about the Spice-devel mailing list