From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugzilla-daemon@freedesktop.org Subject: [Bug 102006] gstreamer vaapih264enc segfault Date: Tue, 01 Aug 2017 20:00:53 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1074689461==" Return-path: Received: from culpepper.freedesktop.org (culpepper.freedesktop.org [131.252.210.165]) by gabe.freedesktop.org (Postfix) with ESMTP id 142A0890EE for ; Tue, 1 Aug 2017 20:00:53 +0000 (UTC) List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" To: dri-devel@lists.freedesktop.org List-Id: dri-devel@lists.freedesktop.org --===============1074689461== Content-Type: multipart/alternative; boundary="15016176530.AdEA6.10471"; charset="UTF-8" --15016176530.AdEA6.10471 Date: Tue, 1 Aug 2017 20:00:52 +0000 MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated https://bugs.freedesktop.org/show_bug.cgi?id=3D102006 Bug ID: 102006 Summary: gstreamer vaapih264enc segfault Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon Assignee: dri-devel@lists.freedesktop.org Reporter: rataj28@gmail.com Created attachment 133180 --> https://bugs.freedesktop.org/attachment.cgi?id=3D133180&action=3Dedit proposed patch by Julien Isorce Based on following bug: https://bugzilla.gnome.org/show_bug.cgi?id=3D785085 In Mesa the picture_id is a frame number which is in the range 0-31 here: https://cgit.freedesktop.org/mesa/mesa/tree/src/gallium/state_trackers/va/p= icture.c#n430 In gst vaapi it is used as surface handles and that can be larger than 31 t= hus causing SEGFAULT. --=20 You are receiving this mail because: You are the assignee for the bug.= --15016176530.AdEA6.10471 Date: Tue, 1 Aug 2017 20:00:53 +0000 MIME-Version: 1.0 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://bugs.freedesktop.org/ Auto-Submitted: auto-generated
Bug ID 102006
Summary gstreamer vaapih264enc segfault
Product DRI
Version XOrg git
Hardware x86-64 (AMD64)
OS Linux (All)
Status NEW
Severity normal
Priority medium
Component DRM/Radeon
Assignee dri-devel@lists.freedesktop.org
Reporter rataj28@gmail.com

Created attachme=
nt 133180 [details] [review]
proposed patch by Julien Isorce

Based on following bug:

https://bug=
zilla.gnome.org/show_bug.cgi?id=3D785085

In Mesa the picture_id is a frame number which is in the range 0-31 here:

https://cgit.freedesktop.org/mesa/mesa/tree/src/g=
allium/state_trackers/va/picture.c#n430

In gst vaapi it is used as surface handles and that can be larger than 31 t=
hus
causing SEGFAULT.


You are receiving this mail because:
  • You are the assignee for the bug.
= --15016176530.AdEA6.10471-- --===============1074689461== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KZHJpLWRldmVs IG1haWxpbmcgbGlzdApkcmktZGV2ZWxAbGlzdHMuZnJlZWRlc2t0b3Aub3JnCmh0dHBzOi8vbGlz dHMuZnJlZWRlc2t0b3Aub3JnL21haWxtYW4vbGlzdGluZm8vZHJpLWRldmVsCg== --===============1074689461==--