Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: firefox aarch64 pledge crashes
To:
ports <ports@openbsd.org>
Cc:
Christian Weisgerber <naddy@mips.inka.de>
Date:
Tue, 24 Sep 2024 20:23:05 +0100

Download raw body.

Thread
  • Theo de Raadt:

    firefox aarch64 pledge crashes

  • Equivalent diff for tor-browser. I did see a SIGSEGV after a bit of
    scrolling around (with swrast_dri.so in the backtrace) and have had
    network stop working after using it for a bit until ifconfig axen0
    down/up (even local pings didn't respond) - I've seen that before
    with older Firefox, but haven't run into it with 130.0.1 - but mostly
    seems to be working.
    
    Less important for release I think, but it is tested.
    
    The current firefox-esr version (128.2.0) is working without patches
    on M2.
    
    Index: browser/Makefile
    ===================================================================
    RCS file: /cvs/ports/www/tor-browser/browser/Makefile,v
    diff -u -p -r1.151 Makefile
    --- browser/Makefile	4 Sep 2024 19:23:02 -0000	1.151
    +++ browser/Makefile	24 Sep 2024 18:50:32 -0000
    @@ -8,6 +8,8 @@ MOZILLA_VERSION =	${TB_VERSION}
     MOZILLA_PROJECT =	${BROWSER_NAME}
     MOZILLA_CODENAME =	browser
     
    +REVISION =		0
    +
     EXTRACT_SUFX =		.tar.xz
     
     PKGNAME =		${TB_PREFIX}-browser-${TB_VERSION:S/a/alpha/}
    @@ -50,6 +52,14 @@ BUILD_DEPENDS +=	lang/wasi-sdk/compiler-
     # mach uses pkg_resources
     BUILD_DEPENDS +=	devel/py-setuptools${MODPY_FLAVOR}
     BUILD_DEPENDS +=	textproc/jq
    +
    +# vendored copy of dav1d needs patching to avoid these (or changing to the ports
    +# version, which already has relevant patches).
    +USE_NOBTCFI-aarch64 =	Yes
    +.if ${MACHINE_ARCH} == aarch64
    +USE_NOEXECONLY =	Yes
    +.endif
    +
     
     # uses pledge()
     # Extra:  Xcomposite.4 Xcursor.5 Xdamage.4 Xfixes.6 Xi.12 Xrender.6
    
    
    
  • Theo de Raadt:

    firefox aarch64 pledge crashes