[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#959400: mesa: SIGSEGV in iris_dri.so using mpv or glxgears, Intel HD Graphics 620



Source: mesa
Severity: normal
Tags: upstream

Dear Maintainer,


Get a SIGSEV playing any video or running glxgears with latest
kernel/mesa 20.0.4-2.

Thread 11 "mpv/vo" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fffe0c85700 (LWP 6662)]
0x00007fffcaca49d8 in ?? () from /usr/lib/x86_64-linux-
gnu/dri/iris_dri.so

Thread 1 "glxgears" received signal SIGSEGV, Segmentation fault.
0x00007ffff5fac336 in GEN9_3DSTATE_VERTEX_ELEMENTS_pack
(values=<synthetic pointer>, dst=<optimized out>, data=0x7fffffffe290)
at src/intel/genxml/gen9_pack.h:6901
6901	src/intel/genxml/gen9_pack.h: No such file or directory.

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-1-amd64 (SMP w/4 CPU cores)
Kernel taint flags: TAINT_USER, TAINT_FIRMWARE_WORKAROUND
Locale: LANG=en_NZ.UTF-8, LC_CTYPE=en_NZ.UTF-8 (charmap=UTF-8),
LANGUAGE=en_NZ:en (charmap=UTF-8)

glxinfo
-------------------
name of display: :0.0
display: :0  screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.4
server glx extensions:
client glx vendor string: Mesa Project and SGI
client glx version string: 1.4
client glx extensions:
Extended renderer info (GLX_MESA_query_renderer):
    Vendor: Intel (0x8086)
    Device: Mesa Intel(R) HD Graphics 620 (KBL GT2) (0x5916)
    Version: 20.0.4
    Accelerated: yes
    Video memory: 3072MB
    Unified memory: yes
    Preferred profile: core (0x1)
    Max core profile version: 4.6
    Max compat profile version: 4.6
    Max GLES1 profile version: 1.1
    Max GLES[23] profile version: 3.2
OpenGL vendor string: Intel
OpenGL renderer string: Mesa Intel(R) HD Graphics 620 (KBL GT2)
OpenGL core profile version string: 4.6 (Core Profile) Mesa 20.0.4
OpenGL core profile shading language version string: 4.60
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 4.6 (Compatibility Profile) Mesa 20.0.4
OpenGL shading language version string: 4.60
OpenGL context flags: (none)
OpenGL profile mask: compatibility profile
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.2 Mesa 20.0.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES
3.20
OpenGL ES profile extensions:

Xorg.0.log
-------
[     8.368] (II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
[     8.371] (II) Module intel: vendor="X.Org Foundation"
[     8.371]    compiled for 1.20.8, module version = 2.99.917
[     8.371]    Module class: X.Org Video Driver
[     8.371]    ABI class: X.Org Video Driver, version 24.1
[     8.371] (II) intel: Driver for Intel(R) Integrated Graphics
Chipsets:
[     8.371] (II) intel: Driver for Intel(R) Integrated Graphics
Chipsets:
        i810, i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM,
865G,
        915G, E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM,
        Pineview G, 965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33,
Q35, Q33,
        GM45, 4 Series, G45/G43, Q45/Q43, G41, B43
[     8.371] (II) intel: Driver for Intel(R) HD Graphics
[     8.371] (II) intel: Driver for Intel(R) Iris(TM) Graphics
[     8.371] (II) intel: Driver for Intel(R) Iris(TM) Pro Graphics
[     8.376] (II) intel(0): Using Kernel Mode Setting driver: i915,
version 1.6.0 20200114
[     8.376] (II) intel(0): SNA compiled: xserver-xorg-video-intel
2:2.99.917+git20200226-1 (Timo Aaltonen <timo.aaltonen@canonical.com>)
[     8.376] (II) intel(0): SNA compiled for use with valgrind
[     8.377] (--) intel(0): Integrated Graphics Chipset: Intel(R) HD
Graphics 620

gdb
-------------
Starting program: /usr/bin/glxgears 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-
gnu/libthread_db.so.1".
[New Thread 0x7fffef42b700 (LWP 4167)]
[New Thread 0x7fffeec2a700 (LWP 4168)]
[New Thread 0x7fffee429700 (LWP 4169)]
[New Thread 0x7fffedc28700 (LWP 4170)]

Thread 1 "glxgears" received signal SIGSEGV, Segmentation fault.
0x00007ffff5fac336 in GEN9_3DSTATE_VERTEX_ELEMENTS_pack
(values=<synthetic pointer>, dst=<optimized out>, data=0x7fffffffe290)
at src/intel/genxml/gen9_pack.h:6901
6901	src/intel/genxml/gen9_pack.h: No such file or directory.

Thread 5 (Thread 0x7fffedc28700 (LWP 4170)):
#0  futex_wait_cancelable (private=0, expected=0,
futex_word=0x5555556f6d88) at ../sysdeps/unix/sysv/linux/futex-
internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0,
mutex=0x5555556f6d38, cond=0x5555556f6d60) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555556f6d60, mutex=0x5555556f6d38) at
pthread_cond_wait.c:638
#3  0x00007ffff5913efb in cnd_wait (mtx=0x5555556f6d38,
cond=0x5555556f6d60) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x5555556f9960) at
../src/util/u_queue.c:275
#5  0x00007ffff5913b17 in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007ffff6b0ef27 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#7  0x00007ffff78982ef in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7fffee429700 (LWP 4169)):
#0  futex_wait_cancelable (private=0, expected=0,
futex_word=0x5555556f6d88) at ../sysdeps/unix/sysv/linux/futex-
internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0,
mutex=0x5555556f6d38, cond=0x5555556f6d60) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555556f6d60, mutex=0x5555556f6d38) at
pthread_cond_wait.c:638
#3  0x00007ffff5913efb in cnd_wait (mtx=0x5555556f6d38,
cond=0x5555556f6d60) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x5555556f9770) at
../src/util/u_queue.c:275
#5  0x00007ffff5913b17 in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007ffff6b0ef27 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#7  0x00007ffff78982ef in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7fffeec2a700 (LWP 4168)):
#0  futex_wait_cancelable (private=0, expected=0,
futex_word=0x5555556f6d88) at ../sysdeps/unix/sysv/linux/futex-
internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0,
mutex=0x5555556f6d38, cond=0x5555556f6d60) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555556f6d60, mutex=0x5555556f6d38) at
pthread_cond_wait.c:638
#3  0x00007ffff5913efb in cnd_wait (mtx=0x5555556f6d38,
cond=0x5555556f6d60) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x5555556f9580) at
../src/util/u_queue.c:275
#5  0x00007ffff5913b17 in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007ffff6b0ef27 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#7  0x00007ffff78982ef in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7fffef42b700 (LWP 4167)):
#0  futex_wait_cancelable (private=0, expected=0,
futex_word=0x5555556f6d88) at ../sysdeps/unix/sysv/linux/futex-
internal.h:80
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0,
mutex=0x5555556f6d38, cond=0x5555556f6d60) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x5555556f6d60, mutex=0x5555556f6d38) at
pthread_cond_wait.c:638
#3  0x00007ffff5913efb in cnd_wait (mtx=0x5555556f6d38,
cond=0x5555556f6d60) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x5555556f9390) at
../src/util/u_queue.c:275
#5  0x00007ffff5913b17 in impl_thrd_routine (p=<optimized out>) at
../include/c11/threads_posix.h:87
#6  0x00007ffff6b0ef27 in start_thread (arg=<optimized out>) at
pthread_create.c:479
#7  0x00007ffff78982ef in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7ffff706e740 (LWP 4162)):
#0  0x00007ffff5fac336 in GEN9_3DSTATE_VERTEX_ELEMENTS_pack
(values=<synthetic pointer>, dst=<optimized out>, data=0x7fffffffe290)
at src/intel/genxml/gen9_pack.h:6901
#1  blorp_emit_vertex_elements (params=0x7fffffffdb30,
batch=0x7fffffffe290) at ../src/intel/blorp/blorp_genX_exec.h:550
#2  blorp_exec (params=0x7fffffffdb30, batch=0x7fffffffe290) at
../src/intel/blorp/blorp_genX_exec.h:1966
#3  iris_blorp_exec (blorp_batch=0x7fffffffe290, params=0x7fffffffdb30)
at ../src/gallium/drivers/iris/iris_blorp.c:310
#4  0x00007ffff616ebcc in blorp_clear (batch=batch@entry=0x7fffffffe290
, surf=surf@entry=0x7fffffffe2c0, format=ISL_FORMAT_B8G8R8X8_UNORM,
swizzle=..., swizzle@entry=..., level=level@entry=0, start_layer=0,
num_layers=1, x0=0, y0=0, x1=300, y1=300, clear_color=...,
color_write_disable=0x7fffffffe2b0) at
../src/intel/blorp/blorp_clear.c:567
#5  0x00007ffff5f8822d in clear_color (ice=ice@entry=0x55555571f370,
p_res=<optimized out>, level=<optimized out>, box=box@entry=0x7fffffffe
3b0, render_condition_enabled=render_condition_enabled@entry=true,
format=<optimized out>, swizzle=..., color=...) at
../src/gallium/drivers/iris/iris_clear.c:389
#6  0x00007ffff5f88e65 in iris_clear (ctx=0x55555571f370, buffers=5,
p_color=0x555555729334, depth=<optimized out>, stencil=<optimized out>)
at ../src/gallium/drivers/iris/iris_clear.c:678
#7  0x00007ffff55db124 in st_Clear (ctx=0x555555727200, mask=18) at
../src/mesa/state_tracker/st_cb_clear.c:513
#8  0x000055555555711e in ?? ()
#9  0x0000555555556c88 in ?? ()
#10 0x00007ffff77c1e0b in __libc_start_main (main=0x555555556410,
argc=1, argv=0x7fffffffe728, init=<optimized out>, fini=<optimized
out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe718) at
../csu/libc-start.c:308
#11 0x0000555555556f0a in ?? ()
Starting program: /usr/bin/glxgears 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-
gnu/libthread_db.so.1".
[New Thread 0x7fffef42b700 (LWP 4552)]
[New Thread 0x7fffeec2a700 (LWP 4553)]
[New Thread 0x7fffee429700 (LWP 4554)]
[New Thread 0x7fffedc28700 (LWP 4555)]

Thread 1 "glxgears" received signal SIGSEGV, Segmentation fault.
0x00007ffff5fac336 in GEN9_3DSTATE_VERTEX_ELEMENTS_pack
(values=<synthetic pointer>, dst=<optimized out>, data=0x7fffffffe290)
at src/intel/genxml/gen9_pack.h:6901
6901	src/intel/genxml/gen9_pack.h: No such file or directory.
Starting program: /usr/bin/glxgears 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-
gnu/libthread_db.so.1".
[New Thread 0x7fffef42b700 (LWP 5130)]
[New Thread 0x7fffeec2a700 (LWP 5131)]
[New Thread 0x7fffee429700 (LWP 5132)]
[New Thread 0x7fffedc28700 (LWP 5133)]

Thread 1 "glxgears" received signal SIGSEGV, Segmentation fault.
0x00007ffff5fac336 in GEN9_3DSTATE_VERTEX_ELEMENTS_pack
(values=<synthetic pointer>, dst=<optimized out>, data=0x7fffffffe290)
at src/intel/genxml/gen9_pack.h:6901
6901	src/intel/genxml/gen9_pack.h: No such file or directory.


Reply to: