Index | Thread | Search

From:
Stuart Henderson <stu@spacehopper.org>
Subject:
Re: [BUG] net/iamb: segfaults in latest 8.0 snapshot
To:
Theo Buehler <tb@theobuehler.org>
Cc:
Enzo Nicosia <me@katolaz.net>, ports@openbsd.org
Date:
Mon, 5 Oct 2026 17:52:37 +0100

Download raw body.

Thread
  • Stuart Henderson:

    [BUG] net/iamb: segfaults in latest 8.0 snapshot

  • On 2026/10/05 18:11, Theo Buehler wrote:
    > > #0  0x00000596746d498f in aws_lc_0_45_0_curve25519_x25519base_alt ()
    > 
    > That's going to be the usual aws-lc xonly thing
    
    indeed, that was a new dep in the last update
    
    <sym: net/iamb>$ cvsps -s 11 -g | grep aws
    +MODCARGO_CRATES +=     aws-lc-rs       1.18.1  # ISC AND (Apache-2.0 OR ISC)
    +MODCARGO_CRATES +=     aws-lc-sys      0.45.0  # ISC AND (Apache-2.0 OR ISC) AND Apache-2.0 AND MIT AND BSD-3-Clause AND (Apache-2.0 OR ISC OR MIT) AND (Apache-2.0 OR ISC OR MIT-0)
    +SHA256 (cargo/aws-lc-rs-1.18.1.tar.gz) = soHTB1iNY03pIIdIkHMmWeLnZy9yteEOgbrcGoqDYh4=
    +SHA256 (cargo/aws-lc-sys-0.45.0.tar.gz) = m/9sO1T615ouYLgQLK9WWBlxFJfB9fCS9JUI4vXDGyc=
    +SIZE (cargo/aws-lc-rs-1.18.1.tar.gz) = 249534
    +SIZE (cargo/aws-lc-sys-0.45.0.tar.gz) = 9725710
    
    > Index: Makefile
    > ===================================================================
    > RCS file: /cvs/ports/net/iamb/Makefile,v
    > diff -u -p -r1.10 Makefile
    > --- Makefile	26 Sep 2026 16:54:28 -0000	1.10
    > +++ Makefile	5 Oct 2026 16:11:02 -0000
    > @@ -2,11 +2,18 @@
    >  NOT_FOR_ARCHS =		sparc64
    >  BROKEN-i386 =		compile fails, possibly out of memory ("fatal runtime error: Rust cannot catch foreign exception")
    >  
    > +# aws-lc-sys has constants in .text
    > +# https://github.com/awslabs/s2n-bignum/pull/242
    > +.if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "aarch64"
    > +USE_NOEXECONLY =	Yes
    > +.endif
    
    I'm ok with that, but I wonder if we should automate it, or if that's
    too much magic. Bumps included for all the ports pulling in aws-lc-sys
    that don't yet set USE_NOEXECONLY.
    
    Index: devel/cargo/cargo.port.mk
    ===================================================================
    RCS file: /cvs/ports/devel/cargo/cargo.port.mk,v
    diff -u -p -r1.54 cargo.port.mk
    --- devel/cargo/cargo.port.mk	8 Aug 2026 09:54:54 -0000	1.54
    +++ devel/cargo/cargo.port.mk	5 Oct 2026 16:51:27 -0000
    @@ -213,6 +213,12 @@ MODCARGO_post-extract += \
     .    elif "${_cratename}" == "ring" && "${_cratever}" == "0.17.8" && ${MACHINE_ARCH:Mi386}
     # Requires SSE2 on i386
     MODCARGO_RUSTFLAGS += "-Ctarget-cpu=pentium4"
    +.    elif "${_cratename}" == "aws-lc-sys" && "${_cratever:M0.[34]*}"
    +.      if ${MACHINE_ARCH} == "amd64" || ${MACHINE_ARCH} == "aarch64"
    +# aws-lc-sys has constants in .text
    +# https://github.com/awslabs/s2n-bignum/pull/242
    +USE_NOEXECONLY =     Yes
    +.      endif
     .    endif
     .  endfor
     .endif
    Index: audio/ncspot/Makefile
    ===================================================================
    RCS file: /cvs/ports/audio/ncspot/Makefile,v
    diff -u -p -r1.59 Makefile
    --- audio/ncspot/Makefile	27 Aug 2026 01:26:52 -0000	1.59
    +++ audio/ncspot/Makefile	5 Oct 2026 16:51:27 -0000
    @@ -8,6 +8,7 @@ COMMENT =		ncurses Spotify client
     GH_ACCOUNT =		hrkfdn
     GH_PROJECT =		ncspot
     GH_TAGNAME =		v1.4.0
    +REVISION =		0
     
     CATEGORIES =		audio
     
    Index: audio/spotifyd/Makefile
    ===================================================================
    RCS file: /cvs/ports/audio/spotifyd/Makefile,v
    diff -u -p -r1.20 Makefile
    --- audio/spotifyd/Makefile	2 Jun 2026 17:47:05 -0000	1.20
    +++ audio/spotifyd/Makefile	5 Oct 2026 16:51:27 -0000
    @@ -3,7 +3,7 @@ GH_ACCOUNT =		Spotifyd
     GH_PROJECT =		spotifyd
     GH_TAGNAME =		v0.4.2
     CATEGORIES =		audio net
    -REVISION =		0
    +REVISION =		1
     
     MAINTAINER =		Pascal Stumpf <pascal@stumpf.co>
     
    Index: devel/sccache/Makefile
    ===================================================================
    RCS file: /cvs/ports/devel/sccache/Makefile,v
    diff -u -p -r1.24 Makefile
    --- devel/sccache/Makefile	20 Sep 2026 13:15:46 -0000	1.24
    +++ devel/sccache/Makefile	5 Oct 2026 16:51:27 -0000
    @@ -6,6 +6,7 @@ COMMENT =		compiler cache for C/C++/Rust
     GH_ACCOUNT =		mozilla
     GH_PROJECT =		sccache
     GH_TAGNAME =		v0.18.0
    +REVISION =		0
     
     CATEGORIES =		devel
     
    Index: mail/stalwart-cli/Makefile
    ===================================================================
    RCS file: /cvs/ports/mail/stalwart-cli/Makefile,v
    diff -u -p -r1.5 Makefile
    --- mail/stalwart-cli/Makefile	21 Aug 2026 08:20:19 -0000	1.5
    +++ mail/stalwart-cli/Makefile	5 Oct 2026 16:51:27 -0000
    @@ -8,6 +8,7 @@ PERMIT_PACKAGE =	Yes
     
     GH_TAGNAME =		v1.0.12
     PKGNAME =		stalwart-cli-${GH_TAGNAME:S/v//}
    +REVISION =		0
     
     HOMEPAGE =	https://stalw.art/docs/management/cli/overview/
     
    Index: multimedia/gstreamer1/plugins-rs/Makefile
    ===================================================================
    RCS file: /cvs/ports/multimedia/gstreamer1/plugins-rs/Makefile,v
    diff -u -p -r1.17 Makefile
    --- multimedia/gstreamer1/plugins-rs/Makefile	23 Sep 2026 17:31:46 -0000	1.17
    +++ multimedia/gstreamer1/plugins-rs/Makefile	5 Oct 2026 16:51:27 -0000
    @@ -3,7 +3,7 @@ COMMENT=		GStreamer bindings for Rust
     V=			0.15.4
     DIST_TUPLE=		fdo gstreamer gst-plugins-rs ${V} .
     WRKDIST=		${WRKDIR}/gst-plugins-rs-${V}-1afff3711855238433862c0ce3bf34918e500386
    -REVISION=		0
    +REVISION=		1
     
     # see patch-Cargo_toml;
     # grep git+https Cargo.lock | sort -u
    Index: net/iamb/Makefile
    ===================================================================
    RCS file: /cvs/ports/net/iamb/Makefile,v
    diff -u -p -r1.10 Makefile
    --- net/iamb/Makefile	26 Sep 2026 16:54:28 -0000	1.10
    +++ net/iamb/Makefile	5 Oct 2026 16:51:27 -0000
    @@ -7,6 +7,7 @@ COMMENT =		matrix client for vim addicts
     GH_ACCOUNT =		ulyssa
     GH_PROJECT =		iamb
     GH_TAGNAME =		v0.0.12
    +REVISION =		0
     
     HOMEPAGE =		https://iamb.chat
     
    Index: net/mollysocket/Makefile
    ===================================================================
    RCS file: /cvs/ports/net/mollysocket/Makefile,v
    diff -u -p -r1.3 Makefile
    --- net/mollysocket/Makefile	26 Mar 2026 19:55:40 -0000	1.3
    +++ net/mollysocket/Makefile	5 Oct 2026 16:51:27 -0000
    @@ -6,6 +6,7 @@ COMMENT =		get Signal notifications via 
     GH_ACCOUNT =		mollyim
     GH_PROJECT =		mollysocket
     GH_TAGNAME =		1.7.1
    +REVISION =		0
     
     CATEGORIES =		net
     
    Index: net/telemt/Makefile
    ===================================================================
    RCS file: /cvs/ports/net/telemt/Makefile,v
    diff -u -p -r1.14 Makefile
    --- net/telemt/Makefile	12 Sep 2026 12:08:21 -0000	1.14
    +++ net/telemt/Makefile	5 Oct 2026 16:51:27 -0000
    @@ -1,6 +1,7 @@
     COMMENT =		MTProxy for Telegram
     CATEGORIES =		net
     DIST_TUPLE =		github	telemt	telemt	3.5.7	.
    +REVISION =		0
     
     MAINTAINER =		Klemens Nanni <kn@openbsd.org>
     
    Index: net/wstunnel/Makefile
    ===================================================================
    RCS file: /cvs/ports/net/wstunnel/Makefile,v
    diff -u -p -r1.13 Makefile
    --- net/wstunnel/Makefile	23 Jul 2026 04:16:20 -0000	1.13
    +++ net/wstunnel/Makefile	5 Oct 2026 16:51:27 -0000
    @@ -6,6 +6,7 @@ COMMENT =		tunnel all your traffic over 
     GH_ACCOUNT =		erebe
     GH_PROJECT =		wstunnel
     GH_TAGNAME =		v10.6.2
    +REVISION =		0
     
     CATEGORIES =		net
     
    Index: security/rust-openssl-tests/Makefile
    ===================================================================
    RCS file: /cvs/ports/security/rust-openssl-tests/Makefile,v
    diff -u -p -r1.222 Makefile
    --- security/rust-openssl-tests/Makefile	10 Sep 2026 10:37:23 -0000	1.222
    +++ security/rust-openssl-tests/Makefile	5 Oct 2026 16:51:27 -0000
    @@ -3,6 +3,7 @@ COMMENT =		source of the rust-openssl cr
     # Follows HEAD
     VERSION =		20260910
     DISTNAME =		rust-openssl-tests-${VERSION}
    +REVISION =		0
     
     GH_ACCOUNT =		rust-openssl
     GH_PROJECT =		rust-openssl
    Index: shells/nushell/Makefile
    ===================================================================
    RCS file: /cvs/ports/shells/nushell/Makefile,v
    diff -u -p -r1.31 Makefile
    --- shells/nushell/Makefile	6 Sep 2026 19:14:00 -0000	1.31
    +++ shells/nushell/Makefile	5 Oct 2026 16:51:27 -0000
    @@ -5,7 +5,7 @@ COMMENT =		new type of shell
     GH_ACCOUNT =		nushell
     GH_PROJECT =		nushell
     GH_TAGNAME =		0.114.1
    -REVISION =		0
    +REVISION =		1
     
     MAINTAINER =		Volker Schlecht <volker@openbsd.org>
     
    Index: textproc/cookcli/Makefile
    ===================================================================
    RCS file: /cvs/ports/textproc/cookcli/Makefile,v
    diff -u -p -r1.17 Makefile
    --- textproc/cookcli/Makefile	22 Sep 2026 16:51:26 -0000	1.17
    +++ textproc/cookcli/Makefile	5 Oct 2026 16:51:27 -0000
    @@ -3,6 +3,7 @@ COMMENT =		command line tool for working
     V =			0.36.0
     DISTNAME =		cook-$V-source
     PKGNAME =		cookcli-$V
    +REVISION =		0
     
     CATEGORIES =		textproc
     
    
    
  • Stuart Henderson:

    [BUG] net/iamb: segfaults in latest 8.0 snapshot