Created attachment 139394 [details] valgrind.log segfault in dri2_allocate_textures(), radeonsi_dri.so 18.1-rc3 using mpv Component: Drivers/DRI/radeonsi System: Debian 10 Buster Intel core i5 3550 with AMD Radeon RX550 ==== using AMD polaris 12 firmware from firmware linux git ==== ==== mpv build using https://github.com/mpv-player/mpv-build on 06 May 2018 from master ======= commit 11289d52389f83edf9358fb3b93bb1bca32dc51c (HEAD -> master, origin/master, origin/HEAD) Author: Ricardo Constantino <wiiaboo@gmail.com> Date: Thu May 3 01:40:24 2018 +0100 ytdl_hook: try to set video track first if available Fixes `--ytdl-format="dash-fastly_skyfire-video-363357330+dash-fastly_skyfire_sep-audio-363357330" https://vimeo.com/108650530` This happened because the video track also had audio available and after adding it expecting an audio-only track, there were no more tracks with video. ===== MESA 18.1-rc3 ====== commit ea1d5faa96e4a6b05e757aea8b88cc01f34b008f (HEAD, tag: mesa-18.1.0-rc3, origin/18.1) Author: Dylan Baker <dylan@pnwbakers.com> Date: Fri May 4 10:57:29 2018 -0700 bump version to 18.1.0-rc3 ====== Reproduction of crash: ================= gdb ~/SW/mpv/GIT/mpv/build/mpv set args --hwdec=vaapi --vo=gpu --gpu-context=x11egl --profile=opengl-hq --autofit=100%x100% --geometry=50%:50% --osd-bar-align-y=0.95 --keep-open=yes empirehd-allied.2016.2160p.x265.mkv run Set window to full screen by typing 'f' Use the mouse to raise and lower the window repetitively (might be bound to Alt-Mousebutton N) /var/log/messages: [18194.879481] mpv/vo[26395]: segfault at 68 ip 00007f196346a6c8 sp 00007f196a776fa0 error 4 in radeonsi_dri.so[7f1962ffd000+ba3000] [21590.259743] mpv/vo[31046]: segfault at 18 ip 00007f97e86036c8 sp 00007f97eb017fa0 error 4 in radeonsi_dri.so[7f97e8196000+ba3000] [22298.295756] mpv/vo[5716]: segfault at 0 ip 00007f86d3466757 sp 00007f86e2112e80 error 4 in radeonsi_dri.so[7f86d2ffd000+ba3000] [22673.181477] mpv/vo[7291]: segfault at 0 ip 00007f9088de86c5 sp 00007f908b7fcfa0 error 4 in radeonsi_dri.so[7f908897b000+ba3000] [23358.083394] mpv/vo[7551]: segfault at 10 ip 00007f795f46a6c8 sp 00007f796e7fdfa0 error 4 in radeonsi_dri.so[7f795effd000+ba3000] [23386.417366] mpv/vo[7589]: segfault at 18 ip 00007f75c58226c8 sp 00007f75c7ffdfa0 error 4 in radeonsi_dri.so[7f75c53b5000+ba3000] [23559.826258] mpv/vo[7651]: segfault at 0 ip 00007fa2115e96c5 sp 00007fa213ffdfa0 error 4 in radeonsi_dri.so[7fa21117c000+ba3000] [Thread 0x7fffd7fff700 (LWP 13286) exited] AV: 00:00:08 / 02:04:35 (0%) A-V: 0.000 Thread 8 "mpv/vo" received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffe4f45700 (LWP 13285)] dri2_allocate_textures (ctx=0x7fffd0314770, drawable=0x7fffd039d620, statts=<optimized out>, statts_count=1) at dri2.c:760 760 dri_drawable->h = texture->height0; (gdb) bt #0 dri2_allocate_textures (ctx=0x7fffd0314770, drawable=0x7fffd039d620, statts=<optimized out>, statts_count=1) at dri2.c:760 #1 0x00007fffd64b83fc in dri_st_framebuffer_validate (stctx=<optimized out>, stfbi=<optimized out>, statts=0x7fffd039f3d0, count=1, out=0x7fffe4f44180) at dri_drawable.c:85 #2 0x00007fffd6316e0e in st_framebuffer_validate (stfb=stfb@entry=0x7fffd039efa0, st=st@entry=0x7fffd038a7d0) at state_tracker/st_manager.c:201 #3 0x00007fffd631869b in st_manager_validate_framebuffers (st=0x7fffd038a7d0) at state_tracker/st_manager.c:1117 #4 0x00007fffd62d72b5 in st_validate_state (st=st@entry=0x7fffd038a7d0, pipeline=pipeline@entry=ST_PIPELINE_CLEAR) at state_tracker/st_atom.c:203 #5 0x00007fffd62deb9b in st_Clear (ctx=0x7fffd0368e80, mask=2) at state_tracker/st_cb_clear.c:379 #6 0x00005555557a5edd in gl_clear (ra=<optimized out>, dst=<optimized out>, color=0x7fffe4f443e0, scissor=0x7fffe4f443b0) at ../video/out/opengl/ra_gl.c:662 #7 0x000055555579a79f in gl_video_render_frame (p=0x7fffd03dd980, frame=frame@entry=0x7fffd1370c80, fbo=..., flags=flags@entry=3) at ../video/out/gpu/video.c:3052 #8 0x00005555557aca2b in draw_frame (vo=0x555557490f90, frame=0x7fffd1370c80) at ../video/out/vo_gpu.c:87 #9 0x00005555557aa71a in vo_render_frame_external (vo=vo@entry=0x555557490f90) at ../video/out/vo.c:898 #10 0x00005555557ab018 in vo_thread (ptr=0x555557490f90) at ../video/out/vo.c:1055 #11 0x00007ffff11175aa in start_thread (arg=0x7fffe4f45700) at pthread_create.c:463 #12 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 (gdb) list 755 struct pipe_resource **buf = 756 &drawable->textures[ST_ATTACHMENT_BACK_LEFT]; 757 struct pipe_resource *texture = images.back->texture; 758 759 dri_drawable->w = texture->width0; 760 dri_drawable->h = texture->height0; 761 762 pipe_resource_reference(buf, texture); 763 } 764 (gdb) p *(images.back) $1 = {texture = 0x58, level = 133, layer = 0, dri_format = 0, dri_components = 0, use = 3495495504, loader_private = 0x30060000100d, yuv_color_space = __DRI_YUV_COLOR_SPACE_UNDEFINED, sample_range = __DRI_YUV_RANGE_UNDEFINED, horizontal_siting = __DRI_YUV_CHROMA_SITING_UNDEFINED, vertical_siting = __DRI_YUV_CHROMA_SITING_UNDEFINED} (gdb) p *(images.back->texture) Cannot access memory at address 0x58 (gdb) disass $pc-32,$pc+32 Dump of assembler code from 0x7fffd64bd138 to 0x7fffd64bd178: 0x00007fffd64bd138 <dri2_allocate_textures+2504>: loop 0x7fffd64bd13c <dri2_allocate_textures+2508> 0x00007fffd64bd13a <dri2_allocate_textures+2506>: callq 0x7fffd6111de0 <memcpy@plt> 0x00007fffd64bd13f <dri2_allocate_textures+2511>: jmpq 0x7fffd64bcbfb <dri2_allocate_textures+1163> 0x00007fffd64bd144 <dri2_allocate_textures+2516>: mov 0x78(%rsp),%rax 0x00007fffd64bd149 <dri2_allocate_textures+2521>: mov 0x120(%r13),%rsi 0x00007fffd64bd150 <dri2_allocate_textures+2528>: mov 0x10(%rsp),%rdi 0x00007fffd64bd155 <dri2_allocate_textures+2533>: mov (%rax),%rbx => 0x00007fffd64bd158 <dri2_allocate_textures+2536>: movzwl 0x14(%rbx),%eax 0x00007fffd64bd15c <dri2_allocate_textures+2540>: mov 0x10(%rbx),%edx 0x00007fffd64bd15f <dri2_allocate_textures+2543>: cmp %rsi,%rbx 0x00007fffd64bd162 <dri2_allocate_textures+2546>: mov %edx,0x28(%rdi) 0x00007fffd64bd165 <dri2_allocate_textures+2549>: mov %eax,0x2c(%rdi) 0x00007fffd64bd168 <dri2_allocate_textures+2552>: je 0x7fffd64bd1c2 <dri2_allocate_textures+2642> 0x00007fffd64bd16a <dri2_allocate_textures+2554>: lock addl $0x1,(%rbx) 0x00007fffd64bd16e <dri2_allocate_textures+2558>: test %rsi,%rsi 0x00007fffd64bd171 <dri2_allocate_textures+2561>: je 0x7fffd64bd4ea <dri2_allocate_textures+3450> 0x00007fffd64bd177 <dri2_allocate_textures+2567>: mov $0xffffffff,%eax End of assembler dump. (gdb) info all-registers rax 0x7fffd137ebd0 140736703491024 rbx 0x58 88 rcx 0x7fffd0361530 140736686593328 rdx 0x5 5 rsi 0x0 0 rdi 0x7fffd0395af0 140736686807792 rbp 0x0 0x0 rsp 0x7fffe4f43fa0 0x7fffe4f43fa0 r8 0x0 0 r9 0x0 0 r10 0x0 0 r11 0x0 0 r12 0x7fffd039f3d0 140736686846928 r13 0x7fffd039d620 140736686839328 r14 0x7fffd0314770 140736686278512 r15 0x0 0 rip 0x7fffd64bd158 0x7fffd64bd158 <dri2_allocate_textures+2536> eflags 0x10202 [ IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 st0 -nan(0xff00ff00ff) (raw 0xffff000000ff00ff00ff) st1 -nan(0xff00ff00ff) (raw 0xffff000000ff00ff00ff) st2 -inf (raw 0xffff0000000000000000) st3 -nan(0xffffff00ffffff) (raw 0xffff00ffffff00ffffff) st4 -inf (raw 0xffff0000000000000000) st5 3 (raw 0x4000c000000000000000) st6 3 (raw 0x4000c000000000000000) st7 7 (raw 0x4001e000000000000000) fctrl 0x37f 895 fstat 0x0 0 ftag 0xffff 65535 fiseg 0x7fff 32767 fioff 0xefd69380 -271150208 foseg 0x7fff 32767 fooff 0xe4f3f768 -453773464 fop 0x0 0 mxcsr 0x9fe0 [ PE DAZ IM DM ZM OM UM PM FZ ] ymm0 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = { 0x00000000000000000000000000000000, 0x00000000000000000000000000000000}} ymm1 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x2, 0x0, 0xa0, 0x2, 0xd1, 0x0, 0x0, 0x0, 0x29, 0x0, 0xa0, 0x2, 0x2a, 0x0, 0xa0, 0x2, 0x0 <repeats 16 times>}, v16_int16 = {0x2, 0x2a0, 0xd1, 0x0, 0x29, 0x2a0, 0x2a, 0x2a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x2a00002, 0xd1, 0x2a00029, 0x2a0002a, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xd102a00002, 0x2a0002a02a00029, 0x0, 0x0}, v2_int128 = {0x02a0002a02a00029000000d102a00002, 0x00000000000000000000000000000000}} ymm2 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x2, 0x0, 0xa0, 0x2, 0xd1, 0x0, 0x0, 0x0, 0x29, 0x0, 0xa0, 0x2, 0x2a, 0x0, 0xa0, 0x2, 0x0 <repeats 16 times>}, v16_int16 = {0x2, 0x2a0, 0xd1, 0x0, 0x29, 0x2a0, 0x2a, 0x2a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x2a00002, 0xd1, 0x2a00029, 0x2a0002a, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xd102a00002, 0x2a0002a02a00029, 0x0, 0x0}, v2_int128 = {0x02a0002a02a00029000000d102a00002, 0x00000000000000000000000000000000}} ymm3 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x23, 0x94, 0xa4, 0x1, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0, 0x4, 0x0, 0xa0, 0x2, 0x0 <repeats 16 times>}, v16_int16 = {0x9423, 0x1a4, 0x0, 0x0, 0x2, 0x0, 0x4, 0x2a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x1a49423, 0x0, 0x2, 0x2a00004, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x1a49423, 0x2a0000400000002, 0x0, 0x0}, v2_int128 = {0x02a00004000000020000000001a49423, 0x00000000000000000000000000000000}} ymm4 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x2, 0x0, 0xa0, 0x2, 0xd1, 0x0, 0x0, 0x0, 0x29, 0x0, 0xa0, 0x2, 0x2a, 0x0, 0xa0, 0x2, 0x0 <repeats 16 times>}, v16_int16 = {0x2, 0x2a0, 0xd1, 0x0, 0x29, 0x2a0, 0x2a, 0x2a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x2a00002, 0xd1, 0x2a00029, 0x2a0002a, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xd102a00002, 0x2a0002a02a00029, 0x0, 0x0}, v2_int128 = {0x02a0002a02a00029000000d102a00002, 0x00000000000000000000000000000000}} ymm5 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x23, 0x94, 0xa4, 0x1, 0x0, 0x0, 0x0, 0x0, 0x2, 0x0, 0x0, 0x0, 0x4, 0x0, 0xa0, 0x2, 0x0 <repeats 16 times>}, v16_int16 = {0x9423, 0x1a4, 0x0, 0x0, 0x2, 0x0, 0x4, 0x2a0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x1a49423, 0x0, 0x2, 0x2a00004, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x1a49423, 0x2a0000400000002, 0x0, 0x0}, v2_int128 = {0x02a00004000000020000000001a49423, 0x00000000000000000000000000000000}} ymm6 {v8_float = {0x3d502000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x7f, 0x15, 0x96, 0xd1, 0x6, 0x0, 0x0, 0x0, 0x8f, 0xbb, 0x1a, 0x0 <repeats 21 times>}, v16_int16 = {0x157f, 0xd196, 0x6, 0x0, 0xbb8f, 0x1a, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0xd196157f, 0x6, 0x1abb8f, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x6d196157f, 0x1abb8f, 0x0, 0x0}, v2_int128 = {0x00000000001abb8f00000006d196157f, 0x00000000000000000000000000000000}} ymm7 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x1, 0x0, 0x0, 0x0, 0x4, 0x0, 0xa0, 0x2, 0x2, 0x0, 0xa0, 0x2, 0xd3, 0x0 <repeats 19 times>}, v16_int16 = {0x1, 0x0, 0x4, 0x2a0, 0x2, 0x2a0, 0xd3, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v8_int32 = {0x1, 0x2a00004, 0x2a00002, 0xd3, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x2a0000400000001, 0xd302a00002, 0x0, 0x0}, v2_int128 = {0x000000d302a0000202a0000400000001, 0x00000000000000000000000000000000}} ymm8 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = { 0x00000000000000000000000000000000, 0x00000000000000000000000000000000}} ymm9 {v8_float = {0x780, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0, 0x0, 0xf0, 0x44, 0x0 <repeats 28 times>}, v16_int16 = {0x0, 0x44f0, 0x0 <repeats 14 times>}, v8_int32 = {0x44f00000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x44f00000, 0x0, 0x0, 0x0}, v2_int128 = {0x00000000000000000000000044f00000, 0x00000000000000000000000000000000}} ymm10 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0xa1, 0xbd, 0x84, 0xbe, 0x0 <repeats 28 times>}, v16_int16 = {0xbda1, 0xbe84, 0x0 <repeats 14 times>}, v8_int32 = {0xbe84bda1, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0xbe84bda1, 0x0, 0x0, 0x0}, v2_int128 = {0x000000000000000000000000be84bda1, 0x00000000000000000000000000000000}} ymm11 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = { 0x00000000000000000000000000000000, 0x00000000000000000000000000000000}} ymm12 {v8_float = {0x2, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0xc8, 0x42, 0x36, 0x40, 0x0 <repeats 28 times>}, v16_int16 = {0x42c8, 0x4036, 0x0 <repeats 14 times>}, v8_int32 = {0x403642c8, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x403642c8, 0x0, 0x0, 0x0}, v2_int128 = {0x000000000000000000000000403642c8, 0x00000000000000000000000000000000}} ymm13 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = { 0x00000000000000000000000000000000, 0x00000000000000000000000000000000}} ymm14 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x0 <repeats 32 times>}, v16_int16 = {0x0 <repeats 16 times>}, v8_int32 = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x0, 0x0, 0x0, 0x0}, v2_int128 = { 0x00000000000000000000000000000000, 0x00000000000000000000000000000000}} ymm15 {v8_float = {0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_double = {0x0, 0x0, 0x0, 0x0}, v32_int8 = {0x8d, 0xe8, 0x2c, 0x3e, 0x0 <repeats 28 times>}, v16_int16 = {0xe88d, 0x3e2c, 0x0 <repeats 14 times>}, v8_int32 = {0x3e2ce88d, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0}, v4_int64 = {0x3e2ce88d, 0x0, 0x0, 0x0}, v2_int128 = {0x0000000000000000000000003e2ce88d, 0x00000000000000000000000000000000}} (gdb) thread apply all bt Thread 19 (Thread 0x7fffa2acc700 (LWP 13298)): #0 0x00007ffff111d4ec in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x555557defe8c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x555557defe38, cond=0x555557defe60) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=cond@entry=0x555557defe60, mutex=mutex@entry=0x555557defe38) at pthread_cond_wait.c:655 #3 0x00005555556f876b in wait_audio (ao=<optimized out>, lock=0x555557dec078) at ../audio/out/ao_pulse.c:146 #4 0x00005555556faf83 in playthread (arg=0x5555574f6600) at ../audio/out/push.c:404 #5 0x00007ffff11175aa in start_thread (arg=0x7fffa2acc700) at pthread_create.c:463 #6 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 18 (Thread 0x7fffa32cd700 (LWP 13297)): #0 0x00007ffff0e425d9 in __GI___poll (fds=0x7fff9c00bd60, nfds=3, timeout=1305) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00007ffff61b1671 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #2 0x00007ffff61a3030 in pa_mainloop_poll () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #3 0x00007ffff61a36c0 in pa_mainloop_iterate () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #4 0x00007ffff61a3750 in pa_mainloop_run () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #5 0x00007ffff61b15b9 in ?? () from /usr/lib/x86_64-linux-gnu/libpulse.so.0 #6 0x00007ffff04ddc78 in ?? () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-11.1.so #7 0x00007ffff11175aa in start_thread (arg=0x7fffa32cd700) at pthread_create.c:463 #8 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 17 (Thread 0x7fffc57fa700 (LWP 13296)): #0 0x00007ffff111d4ec in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fffd03614a8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7fffd0361458, cond=0x7fffd0361480) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=cond@entry=0x7fffd0361480, mutex=mutex@entry=0x7fffd0361458) at pthread_cond_wait.c:655 #3 0x00007fffd63d7f3b in cnd_wait (mtx=0x7fffd0361458, cond=0x7fffd0361480) at ../../include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x7fffd0317990) at u_queue.c:255 #5 0x00007fffd63d7cc7 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87 #6 0x00007ffff11175aa in start_thread (arg=0x7fffc57fa700) at pthread_create.c:463 #7 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 16 (Thread 0x7fffc5ffb700 (LWP 13295)): #0 0x00007ffff111d4ec in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fffd0291d68) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7fffd0291d18, cond=0x7fffd0291d40) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=cond@entry=0x7fffd0291d40, mutex=mutex@entry=0x7fffd0291d18) at pthread_cond_wait.c:655 #3 0x00007fffd63d7f3b in cnd_wait (mtx=0x7fffd0291d18, cond=0x7fffd0291d40) at ../../include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x7fffd0294970) at u_queue.c:255 #5 0x00007fffd63d7cc7 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87 #6 0x00007ffff11175aa in start_thread (arg=0x7fffc5ffb700) at pthread_create.c:463 #7 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 15 (Thread 0x7fffc67fc700 (LWP 13294)): #0 0x00007ffff111d4ec in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fffd0291d6c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7fffd0291d18, cond=0x7fffd0291d40) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=cond@entry=0x7fffd0291d40, mutex=mutex@entry=0x7fffd0291d18) at pthread_cond_wait.c:655 #3 0x00007fffd63d7f3b in cnd_wait (mtx=0x7fffd0291d18, cond=0x7fffd0291d40) at ../../include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x7fffd0294760) at u_queue.c:255 #5 0x00007fffd63d7cc7 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87 #6 0x00007ffff11175aa in start_thread (arg=0x7fffc67fc700) at pthread_create.c:463 #7 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 14 (Thread 0x7fffc6ffd700 (LWP 13293)): #0 0x00007ffff111d4ec in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fffd0291c58) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7fffd0291c08, cond=0x7fffd0291c30) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=cond@entry=0x7fffd0291c30, mutex=mutex@entry=0x7fffd0291c08) at pthread_cond_wait.c:655 #3 0x00007fffd63d7f3b in cnd_wait (mtx=0x7fffd0291c08, cond=0x7fffd0291c30) at ../../include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x7fffd0294120) at u_queue.c:255 #5 0x00007fffd63d7cc7 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87 #6 0x00007ffff11175aa in start_thread (arg=0x7fffc6ffd700) at pthread_create.c:463 #7 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 13 (Thread 0x7fffc77fe700 (LWP 13292)): #0 0x00007ffff111d4ec in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fffd0291c5c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7fffd0291c08, cond=0x7fffd0291c30) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=cond@entry=0x7fffd0291c30, mutex=mutex@entry=0x7fffd0291c08) at pthread_cond_wait.c:655 #3 0x00007fffd63d7f3b in cnd_wait (mtx=0x7fffd0291c08, cond=0x7fffd0291c30) at ../../include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x7fffd0293f10) at u_queue.c:255 #5 0x00007fffd63d7cc7 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87 #6 0x00007ffff11175aa in start_thread (arg=0x7fffc77fe700) at pthread_create.c:463 #7 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 12 (Thread 0x7fffc7fff700 (LWP 13291)): #0 0x00007ffff111d4ec in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fffd0291c5c) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7fffd0291c08, cond=0x7fffd0291c30) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=cond@entry=0x7fffd0291c30, mutex=mutex@entry=0x7fffd0291c08) at pthread_cond_wait.c:655 #3 0x00007fffd63d7f3b in cnd_wait (mtx=0x7fffd0291c08, cond=0x7fffd0291c30) at ../../include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x7fffd0297de0) at u_queue.c:255 #5 0x00007fffd63d7cc7 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87 #6 0x00007ffff11175aa in start_thread (arg=0x7fffc7fff700) at pthread_create.c:463 #7 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 11 (Thread 0x7fffcc976700 (LWP 13290)): ---Type <return> to continue, or q <return> to quit--- #0 0x00007ffff111d4ec in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fffd0297ec4) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7fffd0297e70, cond=0x7fffd0297e98) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=cond@entry=0x7fffd0297e98, mutex=mutex@entry=0x7fffd0297e70) at pthread_cond_wait.c:655 #3 0x00007fffd63d7f3b in cnd_wait (mtx=0x7fffd0297e70, cond=0x7fffd0297e98) at ../../include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x7fffd0293b10) at u_queue.c:255 #5 0x00007fffd63d7cc7 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87 #6 0x00007ffff11175aa in start_thread (arg=0x7fffcc976700) at pthread_create.c:463 #7 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 10 (Thread 0x7fffd4fc5700 (LWP 13289)): #0 0x00007ffff111d4ec in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fffd028f094) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7fffd028f040, cond=0x7fffd028f068) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=cond@entry=0x7fffd028f068, mutex=mutex@entry=0x7fffd028f040) at pthread_cond_wait.c:655 #3 0x00007fffd63d7f3b in cnd_wait (mtx=0x7fffd028f040, cond=0x7fffd028f068) at ../../include/c11/threads_posix.h:155 #4 util_queue_thread_func (input=input@entry=0x7fffd0297450) at u_queue.c:255 #5 0x00007fffd63d7cc7 in impl_thrd_routine (p=<optimized out>) at ../../include/c11/threads_posix.h:87 #6 0x00007ffff11175aa in start_thread (arg=0x7fffd4fc5700) at pthread_create.c:463 #7 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 8 (Thread 0x7fffe4f45700 (LWP 13285)): #0 dri2_allocate_textures (ctx=0x7fffd0314770, drawable=0x7fffd039d620, statts=<optimized out>, statts_count=1) at dri2.c:760 #1 0x00007fffd64b83fc in dri_st_framebuffer_validate (stctx=<optimized out>, stfbi=<optimized out>, statts=0x7fffd039f3d0, count=1, out=0x7fffe4f44180) at dri_drawable.c:85 #2 0x00007fffd6316e0e in st_framebuffer_validate (stfb=stfb@entry=0x7fffd039efa0, st=st@entry=0x7fffd038a7d0) at state_tracker/st_manager.c:201 #3 0x00007fffd631869b in st_manager_validate_framebuffers (st=0x7fffd038a7d0) at state_tracker/st_manager.c:1117 #4 0x00007fffd62d72b5 in st_validate_state (st=st@entry=0x7fffd038a7d0, pipeline=pipeline@entry=ST_PIPELINE_CLEAR) at state_tracker/st_atom.c:203 #5 0x00007fffd62deb9b in st_Clear (ctx=0x7fffd0368e80, mask=2) at state_tracker/st_cb_clear.c:379 #6 0x00005555557a5edd in gl_clear (ra=<optimized out>, dst=<optimized out>, color=0x7fffe4f443e0, scissor=0x7fffe4f443b0) at ../video/out/opengl/ra_gl.c:662 #7 0x000055555579a79f in gl_video_render_frame (p=0x7fffd03dd980, frame=frame@entry=0x7fffd1370c80, fbo=..., flags=flags@entry=3) at ../video/out/gpu/video.c:3052 #8 0x00005555557aca2b in draw_frame (vo=0x555557490f90, frame=0x7fffd1370c80) at ../video/out/vo_gpu.c:87 #9 0x00005555557aa71a in vo_render_frame_external (vo=vo@entry=0x555557490f90) at ../video/out/vo.c:898 #10 0x00005555557ab018 in vo_thread (ptr=0x555557490f90) at ../video/out/vo.c:1055 #11 0x00007ffff11175aa in start_thread (arg=0x7fffe4f45700) at pthread_create.c:463 #12 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 7 (Thread 0x7fffe57da700 (LWP 13284)): #0 0x00007ffff111d4ec in futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x7fffd02106d8) at ../sysdeps/unix/sysv/linux/futex-internal.h:88 #1 __pthread_cond_wait_common (abstime=0x0, mutex=0x7fffd0210688, cond=0x7fffd02106b0) at pthread_cond_wait.c:502 #2 __pthread_cond_wait (cond=cond@entry=0x7fffd02106b0, mutex=mutex@entry=0x7fffd0210688) at pthread_cond_wait.c:655 #3 0x0000555555705dc8 in demux_thread (pctx=0x7fffd0210670) at ../demux/demux.c:1658 #4 0x00007ffff11175aa in start_thread (arg=0x7fffe57da700) at pthread_create.c:463 #5 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 5 (Thread 0x7fffe5fdb700 (LWP 13282)): #0 0x00007ffff111d8aa in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffe5fdaaf0, expected=0, futex_word=0x555557475de0) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fffe5fdaaf0, mutex=0x555557475d90, cond=0x555557475db8) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=cond@entry=0x555557475db8, mutex=mutex@entry=0x555557475d90, abstime=abstime@entry=0x7fffe5fdaaf0) at pthread_cond_wait.c:667 #3 0x0000555555744f03 in wait_wakeup (ctx=ctx@entry=0x555557475cf0, end=end@entry=9223372036854775807) at ../player/client.c:327 #4 0x0000555555746bfb in mpv_wait_event (ctx=0x555557475cf0, timeout=1e+20) at ../player/client.c:841 #5 0x000055555575cca1 in script_wait_event (L=0x40040378) at ../player/lua.c:475 #6 0x00007ffff3284dd7 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #7 0x000055555575bf08 in load_scripts (L=0x40040378) at ../player/lua.c:268 #8 0x00007ffff3284dd7 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #9 0x00007ffff32d222c in lua_pcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #10 0x000055555575d932 in run_lua (L=0x40040378) at ../player/lua.c:354 #11 0x00007ffff3284dd7 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #12 0x00007ffff32d2369 in lua_cpcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #13 0x000055555575aa9d in load_lua (client=<optimized out>, fname=0x5555574751a0 "@stats.lua") at ../player/lua.c:387 #14 0x0000555555764969 in script_thread (p=0x555557463900) at ../player/scripting.c:95 #15 0x00007ffff11175aa in start_thread (arg=0x7fffe5fdb700) at pthread_create.c:463 #16 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 4 (Thread 0x7fffe67dc700 (LWP 13281)): #0 0x00007ffff111d8aa in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffe67dbaf0, expected=0, futex_word=0x555557475724) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fffe67dbaf0, mutex=0x5555574756d0, cond=0x5555574756f8) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=cond@entry=0x5555574756f8, mutex=mutex@entry=0x5555574756d0, abstime=abstime@entry=0x7fffe67dbaf0) at pthread_cond_wait.c:667 #3 0x0000555555744f03 in wait_wakeup (ctx=ctx@entry=0x555557475630, end=end@entry=9223372036854775807) at ../player/client.c:327 #4 0x0000555555746bfb in mpv_wait_event (ctx=0x555557475630, timeout=1e+20) at ../player/client.c:841 #5 0x000055555575cca1 in script_wait_event (L=0x40020378) at ../player/lua.c:475 #6 0x00007ffff3284dd7 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #7 0x000055555575bf08 in load_scripts (L=0x40020378) at ../player/lua.c:268 #8 0x00007ffff3284dd7 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #9 0x00007ffff32d222c in lua_pcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #10 0x000055555575d932 in run_lua (L=0x40020378) at ../player/lua.c:354 #11 0x00007ffff3284dd7 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #12 0x00007ffff32d2369 in lua_cpcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #13 0x000055555575aa9d in load_lua (client=<optimized out>, fname=0x555557475a50 "@ytdl_hook.lua") at ../player/lua.c:387 #14 0x0000555555764969 in script_thread (p=0x555557468d70) at ../player/scripting.c:95 #15 0x00007ffff11175aa in start_thread (arg=0x7fffe67dc700) at pthread_create.c:463 #16 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 3 (Thread 0x7fffe6fdd700 (LWP 13280)): #0 0x00007ffff111d8aa in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffe6fdcaf0, expected=0, futex_word=0x555557474f04) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 ---Type <return> to continue, or q <return> to quit--- #1 __pthread_cond_wait_common (abstime=0x7fffe6fdcaf0, mutex=0x555557474eb0, cond=0x555557474ed8) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=cond@entry=0x555557474ed8, mutex=mutex@entry=0x555557474eb0, abstime=abstime@entry=0x7fffe6fdcaf0) at pthread_cond_wait.c:667 #3 0x0000555555744f03 in wait_wakeup (ctx=ctx@entry=0x555557474e10, end=end@entry=9223372036854775807) at ../player/client.c:327 #4 0x0000555555746bfb in mpv_wait_event (ctx=0x555557474e10, timeout=1e+20) at ../player/client.c:841 #5 0x000055555575cca1 in script_wait_event (L=0x40000378) at ../player/lua.c:475 #6 0x00007ffff3284dd7 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #7 0x000055555575bf08 in load_scripts (L=0x40000378) at ../player/lua.c:268 #8 0x00007ffff3284dd7 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #9 0x00007ffff32d222c in lua_pcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #10 0x000055555575d932 in run_lua (L=0x40000378) at ../player/lua.c:354 #11 0x00007ffff3284dd7 in ?? () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #12 0x00007ffff32d2369 in lua_cpcall () from /usr/lib/x86_64-linux-gnu/libluajit-5.1.so.2 #13 0x000055555575aa9d in load_lua (client=<optimized out>, fname=0x555557475260 "@osc.lua") at ../player/lua.c:387 #14 0x0000555555764969 in script_thread (p=0x555557461ba0) at ../player/scripting.c:95 #15 0x00007ffff11175aa in start_thread (arg=0x7fffe6fdd700) at pthread_create.c:463 #16 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 2 (Thread 0x7fffe77de700 (LWP 13279)): #0 0x00007ffff0e425d9 in __GI___poll (fds=fds@entry=0x7fffe77dddb0, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../sysdeps/unix/sysv/linux/poll.c:29 #1 0x00005555557c9b55 in polldev (fds=fds@entry=0x7fffe77dddb0, nfds=nfds@entry=2, timeout=timeout@entry=-1) at ../osdep/polldev.c:73 #2 0x00005555557c8f8a in terminal_thread (ptr=<optimized out>) at ../osdep/terminal-unix.c:395 #3 0x00007ffff11175aa in start_thread (arg=0x7fffe77de700) at pthread_create.c:463 #4 0x00007ffff0e4ccbf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95 Thread 1 (Thread 0x7ffff7f98840 (LWP 13274)): #0 0x00007ffff111d8aa in futex_abstimed_wait_cancelable (private=<optimized out>, abstime=0x7fffffffe320, expected=0, futex_word=0x555557411340) at ../sysdeps/unix/sysv/linux/futex-internal.h:205 #1 __pthread_cond_wait_common (abstime=0x7fffffffe320, mutex=0x5555574112f0, cond=0x555557411318) at pthread_cond_wait.c:539 #2 __pthread_cond_timedwait (cond=cond@entry=0x555557411318, mutex=mutex@entry=0x5555574112f0, abstime=abstime@entry=0x7fffffffe320) at pthread_cond_wait.c:667 #3 0x0000555555730e40 in mp_dispatch_queue_process (queue=0x5555574112e0, timeout=0.04966900000000081) at ../misc/dispatch.c:294 #4 0x0000555555761308 in mp_wait_events (mpctx=0x555557410e20) at ../player/playloop.c:60 #5 0x00005555557632b2 in run_playloop (mpctx=0x555557410e20) at ../player/playloop.c:1119 #6 0x000055555575a883 in play_current_file (mpctx=0x555557410e20) at ../player/loadfile.c:1366 #7 mp_play_files (mpctx=mpctx@entry=0x555557410e20) at ../player/loadfile.c:1537 #8 0x000055555575e8e8 in mpv_main (argc=<optimized out>, argv=<optimized out>) at ../player/main.c:449 #9 0x00007ffff0d77a87 in __libc_start_main (main=0x5555556ea670 <main>, argc=10, argv=0x7fffffffe508, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffe4f8) at ../csu/libc-start.c:310 #10 0x00005555556ea6aa in _start ()
Additional system info: libdrm 2.4.91 Linux debi2 4.16.0-1-amd64 #1 SMP Debian 4.16.5-1 (2018-04-29) x86_64 GNU/Linux libva 2.1.0
The issue is not reproducible with Mesa 18.1.1 build from Debian testing repo. Hence I (originator) close the issue. Btw, is it possible that nobody cared about this bug?
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.