Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2014 12:38:54 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 191921] New: [patch] multimedia/libva causes executable to terminate abnormally
Message-ID:  <bug-191921-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=191921

            Bug ID: 191921
           Summary: [patch] multimedia/libva causes executable to
                    terminate abnormally
           Product: Ports Tree
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: jiashiun@gmail.com

at end of execution, executable terminates with bus error when calling
vaTerminate() like below:

jsli@jsli-bsd:~ % vainfo 
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/local/lib/va/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: Intel i965 driver - 1.3.1
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            : VAEntrypointVLD
      VAProfileMPEG2Main              : VAEntrypointVLD
Bus error (core dumped)
jsli@jsli-bsd:~ % 

It is a use-after-free bug already fixed upstream[1]. Supposed to be included
in v1.3.2. Not sure when will v1.3.2 be released so here is the patch picked
from upstream to fix it for now.

Tested with FreeBSD version 

FreeBSD jsli-bsd 11.0-CURRENT FreeBSD 11.0-CURRENT #19 r268599: Mon Jul 14
11:00:28 CST 2014     jsli@jsli-bsd64:/usr/obj/usr/src/sys/GENERIC  amd64

i915kms.ko loaded, and C2D E7400 / G45 chipset. Also tested ok on nVidia G105M
with libva-vdpau-driver and nvidia.ko built from ports.


[1]:
http://cgit.freedesktop.org/libva/commit/?id=c61d8c6ce9ffc27320e9e177c1e1123d5f1b5014

-- 
You are receiving this mail because:
You are the assignee for the bug.



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