Segmentation fault from i965_drv_video.so and __memcpy_ssse3.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Qarte |
Confirmed
|
Undecided
|
Unassigned | ||
intel-vaapi-driver (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
ProblemType: Crash
Architecture: Linux-5.
CurrentDesktop: MATE
Date: Tue Oct 29 06:38:27 2019
DistroRelease: Ubuntu 19.04
ExecutablePath: /usr/bin/python3.7
ExecutableTimes
ProcCmdline: python3 crash.py
This python code can reproduce it:
--crash.
import sys
from PyQt5.QtWidgets import QApplication, QWidget, QGridLayout
from PyQt5.QtMultime
from PyQt5.QtMultimedia import QMediaPlayer
class Main(QWidget):
def __init__(self):
self.gl = QGridLayout(self)
self.video = QVideoWidget()
self.player = QMediaPlayer() # SIGSEGV here
self.show()
if __name__ == '__main__':
app = QApplication(
main = Main()
sys.
-------
The backtrace of gdb:
...
Thread 1 "python3" received signal SIGSEGV, Segmentation fault.
__memcpy_ssse3 () at ../sysdeps/
309 ../sysdeps/
(gdb) bt
#0 __memcpy_ssse3 () at ../sysdeps/
#1 0x00007fffdb53b78a in ?? () from /usr/lib/
#2 0x00007fffe808b331 in ?? () from /usr/lib/
#3 0x00007fffe805590a in ?? () from /usr/lib/
#4 0x00007fffe805721f in ?? () from /usr/lib/
#5 0x00007fffe80614c8 in ?? () from /usr/lib/
#6 0x00007fffe830d87e in ?? () from /lib/x86_
#7 0x00007fffe862592e in gst_element_
#8 0x00007fffe862604e in ?? () from /lib/x86_
#9 0x00007fffe873729d in ?? () from /lib/x86_
#10 0x00007fffe873647f in QGstreamerVideo
from /lib/x86_
#11 0x00007fffe8779823 in ?? () from /usr/lib/
#12 0x00007fffe8785471 in ?? () from /usr/lib/
#13 0x00007ffff2c3b567 in ?? () from /lib/x86_
#14 0x00007ffff2c7c0f9 in QMediaPlayer:
#15 0x00007ffff1d20079 in ?? () from /usr/lib/
#16 0x00007ffff1d20163 in ?? () from /usr/lib/
#17 0x00007ffff34f16f4 in ?? () from /usr/lib/
...
I don't think it's a bug in gstreamer but a video driver problem.
My config:
$ vainfo
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.4 (libva 2.4.0)
vainfo: Driver version: Intel i965 driver for Intel(R) GM45 Express Chipset - 2.3.0
vainfo: Supported profile and entrypoints
VAProfile
VAProfile
$ glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_
Vendor: Intel Open Source Technology Center (0x8086)
Device: Mesa DRI Mobile Intel® GM45 Express Chipset (0x2a42)
Version: 19.0.8
Accelerated: yes
Video memory: 1536MB
Unified memory: yes
Preferred profile: compat (0x2)
Max core profile version: 0.0
Max compat profile version: 2.1
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 2.0
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Mobile Intel® GM45 Express Chipset
OpenGL version string: 2.1 Mesa 19.0.8
OpenGL shading language version string: 1.20
OpenGL ES profile version string: OpenGL ES 2.0 Mesa 19.0.8
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 1.0.16
I'm aware of this bug:
https:/
But they said the bug is solved with the package intel-vaapi-driver - 2.3.0-0ubuntu2
and I'm up-to-date for this driver:
$ apt-cache policy i965-va-driver
i965-va-driver:
Installé : 2.3.0-0ubuntu2
Candidat : 2.3.0-0ubuntu2
Table de version :
*** 2.3.0-0ubuntu2 500
500 http://
100 /var/lib/
Changed in qarte: | |
status: | New → Confirmed |
Changed in intel-vaapi-driver (Ubuntu): | |
status: | New → Confirmed |
Not affected, because I have a skylake, and/or dowloaded the intel firmware ?
lsmod | grep i915
i915 1871872 61
i2c_algo_bit 16384 1 i915
drm_kms_helper 225280 1 i915
drm 532480 45 drm_kms_helper,i915
video 49152 1 i915
vainfo x86_64- linux-gnu/ dri/i965_ drv_video. so
error: XDG_RUNTIME_DIR not set in the environment.
libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/
libva info: Found init function __vaDriverInit_1_4
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.4 (libva 2.4.0)
vainfo: Driver version: Intel i965 driver for Intel(R) Skylake - 2.3.0
vainfo: Supported profile and entrypoints
blabla
glxinfo -B query_renderer) :
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_
Vendor: Intel Open Source Technology Center (0x8086)
Device: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2) (0x1912)
Version: 18.3.6
Accelerated: yes
Video memory: 3072MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.5
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 530 (Skylake GT2)
OpenGL core profile version string: 4.5 (Core Profile) Mesa 18.3.6
OpenGL core profile shading language version string: 4.50
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.0 Mesa 18.3.6
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 18.3.6
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20