Index | Thread | Search

From:
Walter Alejandro Iglesias <wai@roquesor.com>
Subject:
Re: mpv is crashing in my PC
To:
Theo Buehler <tb@theobuehler.org>, ports@openbsd.org, brad@comstyle.com
Date:
Tue, 23 Jun 2026 17:23:45 +0200

Download raw body.

Thread
On Tue, Jun 23, 2026 at 03:57:58PM +0100, Stuart Henderson wrote:
> On 2026/06/23 15:55, Theo Buehler wrote:
> > On Tue, Jun 23, 2026 at 02:51:46PM +0100, Stuart Henderson wrote:
> > > On 2026/06/23 15:09, Theo Buehler wrote:
> > > > On Sun, Jun 21, 2026 at 11:56:55AM +0200, 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
> > > > 
> > > > I can no longer crash mpv after downgrading to libplacebo-7.351.0p0
> > > > and rebuilding mpv. So it will most likely be the update to
> > > > libplacebo-7.360.1.
> > > > 
> > > > I don't have useful debug info beyond similar traces to those already
> > > > sent to the list. I won't have time to debug this in the coming days.
> > > > 
> > > 
> > > Seems to be some memory corruption going on. Trips more easily for me
> > > with hwdec=vaapi, but I have seen some without.
> > 
> > Yes, it looks pretty bad and scary. I think downgrading is the
> > appropriate move.
> > 
> > ok for your diff, thanks.
> > 
> 
> moving foward also seems to work. 65 reps on test file without issue,
> the most I had before was 20 or so.

Yes!  This patch also get rid of the warning message above.


> 
> the top few screens of https://github.com/haasn/libplacebo/commits/master/
> have all sorts of fixes that look like they might involve memory
> corruption, I didn't try to narrow it down further.
> 
> Index: Makefile
> ===================================================================
> RCS file: /cvs/ports/graphics/libplacebo/Makefile,v
> diff -u -p -r1.16 Makefile
> --- Makefile	17 Jun 2026 23:07:52 -0000	1.16
> +++ Makefile	23 Jun 2026 14:46:24 -0000
> @@ -2,10 +2,12 @@ COMMENT=	reusable library for GPU-accele
>  
>  GH_ACCOUNT=	haasn
>  GH_PROJECT=	libplacebo
> -GH_TAGNAME=	v7.360.1
> +#GH_TAGNAME=	v7.360.1
> +GH_COMMIT=	3be579e6c7f6b421d9ac3ab4860edc437c50b3eb
> +DISTNAME=	libplacebo-7.360.1pl20260612
>  CATEGORIES=	graphics
>  
> -SHARED_LIBS=	placebo	10.0
> +SHARED_LIBS=	placebo	11.0
>  
>  MAINTAINER=	Brad Smith <brad@comstyle.com>
>  
> @@ -18,6 +20,7 @@ WANTLIB +=	execinfo lcms2 m pthread shad
>  WANTLIB +=	GL epoxy
>  
>  MODULES=	devel/meson
> +DEBUG_PACKAGES=	${BUILD_PACKAGES}
>  
>  BUILD_DEPENDS=	devel/fast-float \
>  		graphics/glad \
> Index: distinfo
> ===================================================================
> RCS file: /cvs/ports/graphics/libplacebo/distinfo,v
> diff -u -p -r1.12 distinfo
> --- distinfo	17 Jun 2026 23:07:52 -0000	1.12
> +++ distinfo	23 Jun 2026 14:46:24 -0000
> @@ -1,2 +1,2 @@
> -SHA256 (libplacebo-7.360.1.tar.gz) = 0F/fkL6i9inqotEV6Qn9NWOIrGOeVPd7h6AYptdiJL0=
> -SIZE (libplacebo-7.360.1.tar.gz) = 862269
> +SHA256 (libplacebo-7.360.1pl20260612-3be579e6.tar.gz) = iR4fp0Kb1u54ah3Qg2iPt3iuQ7gJA61G9tlfwHmkrfI=
> +SIZE (libplacebo-7.360.1pl20260612-3be579e6.tar.gz) = 867856
> 

-- 
Walter