From: Walter Alejandro Iglesias Subject: Re: mpv is crashing in my PC To: Brad Smith Cc: ports@openbsd.org Date: Mon, 22 Jun 2026 10:35:09 +0200 On Sun, Jun 21, 2026 at 06:13:41PM -0400, Brad Smith wrote: > On 2026-06-21 5:56 a.m., Walter Alejandro Iglesias wrote: > > Some times I can reproduce videos fine, some times I get screen > > corruption (horizontal lines or a black screen) followed by a core > > dump. > > > > I guess this waring message I get while reproducing isn't related but, > > anyways: > > > > [vo/gpu-next/libplacebo] Masking `storable` from wrapped texture because the corresponding format 'bgra8' does not support PL_FMT_CAP_STORABLE > There was a recent harfbuzz update and it looks like it could be a crash > there. > > But before doing anything I would make sure your -current system is up > to date with the latest > snapshot and run pkg_add -ui to ensure all of your packages are up to date. > > Today, after sysupgrade -s and pkg_add -u I got more crashes, each one with different gdb traces (two examples at bottom). I guess the real cause is deeper. I'm almost sure of what I had already been noticing since a long time, that what triggers these problems in mpv is *running a torrent application in the background*. I got the two crashes below starting qbittorrent before running mpv (also happens with trasmission-gtk). Lately I haven't used OpenBSD on this machine. Last year this same scenario (mpv + torrent app) didn't cause crashes or screen corruption, but I did notice weird random stutters in the frames (which nowadays happens to me all the time with mplayer). Program terminated with signal SIGSEGV, Segmentation fault. #0 mapper_unmap (mapper=0x5c6033be950) at ../mpv-0.41.0/video/out/hwdec/hwdec_vaapi.c:235 warning: 235 ../mpv-0.41.0/video/out/hwdec/hwdec_vaapi.c: No such file or directory [Current thread is 1 (process 487735)] (gdb) bt #0 mapper_unmap (mapper=0x5c6033be950) at ../mpv-0.41.0/video/out/hwdec/hwdec_vaapi.c:235 #1 0x000005c3ef11303c in ra_hwdec_mapper_unmap (mapper=0x5c6033be950) at ../mpv-0.41.0/video/out/gpu/hwdec.c:162 #2 0x000005c6730ce899 in ?? () from /usr/local/lib/libplacebo.so.10.0 #3 0x000005c6730cd35f in pl_render_image () from /usr/local/lib/libplacebo.so.10.0 #4 0x000005c6730d567a in pl_render_image_mix () from /usr/local/lib/libplacebo.so.10.0 #5 0x000005c3ef140f79 in draw_frame (vo=0x5c686d99690, frame=0x5c63a219690) at ../mpv-0.41.0/video/out/vo_gpu_next.c:1407 #6 0x000005c3ef130294 in render_frame (vo=0x5c686d99690) at ../mpv-0.41.0/video/out/vo.c:1009 #7 vo_thread (ptr=0x5c686d99690) at ../mpv-0.41.0/video/out/vo.c:1145 #8 0x000005c6a93b47b2 in _rthread_start (v=0x0) at /usr/src/lib/librthread/rthread.c:99 #9 0x000005c6b3b7a8fa in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:87 Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00000d57522f2371 in ?? () from /usr/X11R6/lib/libvulkan_intel.so [Current thread is 1 (process 435645)] (gdb) bt #0 0x00000d57522f2371 in ?? () from /usr/X11R6/lib/libvulkan_intel.so #1 0x00000d5752401260 in ?? () from /usr/X11R6/lib/libvulkan_intel.so #2 0x00000d57525cbc46 in ?? () from /usr/X11R6/lib/libvulkan_intel.so #3 0x00000d57525ca9e7 in ?? () from /usr/X11R6/lib/libvulkan_intel.so #4 0x00000d57525c8a41 in ?? () from /usr/X11R6/lib/libvulkan_intel.so #5 0x00000d576f5337c5 in ?? () from /usr/local/lib/libplacebo.so.10.0 #6 0x00000d576f4e6b05 in pl_pass_run () from /usr/local/lib/libplacebo.so.10.0 #7 0x00000d576f4eb462 in ?? () from /usr/local/lib/libplacebo.so.10.0 #8 0x00000d576f4e6b05 in pl_pass_run () from /usr/local/lib/libplacebo.so.10.0 #9 0x00000d576f4d5d78 in ?? () from /usr/local/lib/libplacebo.so.10.0 #10 0x00000d576f4d307b in pl_dispatch_finish () from /usr/local/lib/libplacebo.so.10.0 #11 0x00000d576f48c054 in ?? () from /usr/local/lib/libplacebo.so.10.0 #12 0x00000d576f486324 in pl_render_image () from /usr/local/lib/libplacebo.so.10.0 #13 0x00000d576f48e67a in pl_render_image_mix () from /usr/local/lib/libplacebo.so.10.0 #14 0x00000d54da744f79 in draw_frame (vo=0xd578b1fc050, frame=0xd56f68882d0) at ../mpv-0.41.0/video/out/vo_gpu_next.c:1407 #15 0x00000d54da734294 in render_frame (vo=0xd578b1fc050) at ../mpv-0.41.0/video/out/vo.c:1009 #16 vo_thread (ptr=0xd578b1fc050) at ../mpv-0.41.0/video/out/vo.c:1145 #17 0x00000d575c6c67b2 in _rthread_start (v=0x3c2203c43f7ff051) at /usr/src/lib/librthread/rthread.c:99 #18 0x00000d5778ded8fa in __tfork_thread () at /usr/src/lib/libc/arch/amd64/sys/tfork_thread.S:87 -- Walter