NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: bin/60150: named(8) crashes at startup on NetBSD/i386 11.0_RC2



The following reply was made to PR bin/60150; it has been noted by GNATS.

From: Christos Zoulas <christos%zoulas.com@localhost>
To: gnats-bugs%netbsd.org@localhost
Cc: gnats-admin%netbsd.org@localhost,
 netbsd-bugs%netbsd.org@localhost,
 tsutsui%ceres.dti.ne.jp@localhost
Subject: Re: bin/60150: named(8) crashes at startup on NetBSD/i386 11.0_RC2
Date: Sat, 4 Apr 2026 08:21:18 -0400

 --Apple-Mail=_AEC57C7E-7F2B-4F99-98BF-90BE5986B909
 Content-Transfer-Encoding: quoted-printable
 Content-Type: text/plain;
 	charset=utf-8
 
 
 
 > On Apr 4, 2026, at 12:50=E2=80=AFAM, Izumi Tsutsui via gnats =
 <gnats-admin%netbsd.org@localhost> wrote:
 >=20
 > The following reply was made to PR bin/60150; it has been noted by =
 GNATS.
 >=20
 > From: Izumi Tsutsui <tsutsui%ceres.dti.ne.jp@localhost>
 > To: gnats-bugs%netbsd.org@localhost
 > Cc: netbsd-bugs%netbsd.org@localhost, tsutsui%ceres.dti.ne.jp@localhost
 > Subject: Re: bin/60150: named(8) crashes at startup on NetBSD/i386 =
 11.0_RC2
 > Date: Sat, 4 Apr 2026 13:48:21 +0900
 >=20
 >> It might actually be the max_align_t value on i386 at the core of =
 this issue
 >> as I found out some years back.
 >=20
 > It looks the problem is not "sizeof(max_align_t) on i386 is 12 bytes"
 > but "upstream lib/isc/jemalloc_shim.h (local implementation of
 > non-standard mallocx() and variants) assumes sizeof(max_align_t)
 > is power of 2 (or multiple of 8)".
 >=20
 > Using in-tree jemalloc(3) by enabling HAVE_JEMALLOC explicitly in
 > src/external/mpl/bind/include/config.h also fixes the problem
 > (I'm not sure why it has been disabled by default):
 
 Great, thank you for finding the underlying cause, two questions:
 1. Does anything need to be done with vax and sun2 that don't
     use jemalloc?
 2. Should we fix the custom shim that removes the power of 2
     assumption so that it works anyway?
 
 Thanks,
 
 christos=
 
 --Apple-Mail=_AEC57C7E-7F2B-4F99-98BF-90BE5986B909
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
 	filename=signature.asc
 Content-Type: application/pgp-signature;
 	name=signature.asc
 Content-Description: Message signed with OpenPGP
 
 -----BEGIN PGP SIGNATURE-----
 Comment: GPGTools - http://gpgtools.org
 
 iF0EARECAB0WIQS+BJlbqPkO0MDBdsRxESqxbLM7OgUCadECPgAKCRBxESqxbLM7
 OqDeAJ4/9CGbgEGwXWc6DFyUqUlbSc/e1ACg83Qrpa4djhUwygi2uYD5mGnJZM4=
 =iy8H
 -----END PGP SIGNATURE-----
 
 --Apple-Mail=_AEC57C7E-7F2B-4F99-98BF-90BE5986B909--
 



Home | Main Index | Thread Index | Old Index