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

Christophe Fergeau cfergeau at redhat.com
Tue May 23 09:21:59 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: not available
URL: <https://lists.freedesktop.org/archives/spice-devel/attachments/20170523/12bb2a8d/attachment.sig>


More information about the Spice-devel mailing list