From owner-freebsd-current@FreeBSD.ORG Sat Apr 21 18:54:03 2012 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 022D81065674; Sat, 21 Apr 2012 18:54:03 +0000 (UTC) (envelope-from david@catwhisker.org) Received: from albert.catwhisker.org (m209-73.dsl.rawbw.com [198.144.209.73]) by mx1.freebsd.org (Postfix) with ESMTP id B3B2D8FC1F; Sat, 21 Apr 2012 18:54:02 +0000 (UTC) Received: from albert.catwhisker.org (localhost [127.0.0.1]) by albert.catwhisker.org (8.14.5/8.14.5) with ESMTP id q3LIs28I016323; Sat, 21 Apr 2012 11:54:02 -0700 (PDT) (envelope-from david@albert.catwhisker.org) Received: (from david@localhost) by albert.catwhisker.org (8.14.5/8.14.5/Submit) id q3LIs2D8016322; Sat, 21 Apr 2012 11:54:02 -0700 (PDT) (envelope-from david) Date: Sat, 21 Apr 2012 11:54:02 -0700 From: David Wolfskill To: current@freebsd.org Message-ID: <20120421185402.GH1743@albert.catwhisker.org> Mail-Followup-To: David Wolfskill , current@freebsd.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vjQsMS/9MbKYGLq" Content-Disposition: inline User-Agent: Mutt/1.4.2.3i Cc: Subject: : jemalloc_arena.c:182: Failed assertion: "p[i] == 0" X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 21 Apr 2012 18:54:03 -0000 --5vjQsMS/9MbKYGLq Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable After applying Dimitry Andric's patches to contrib/jemalloc and replacing /usr/bin/as with one built last Sunday, I was finally(!) able to rebuild head as of 234536: FreeBSD freebeast.catwhisker.org 10.0-CURRENT FreeBSD 10.0-CURRENT #797 234= 536M: Sat Apr 21 10:23:33 PDT 2012 root@freebeast.catwhisker.org:/usr/o= bj/usr/src/sys/GENERIC i386 However, as I was copying a /usr/obj hierarchy via tar -- e.g.: root@freebeast:/common/home/david # (cd /var/tmp && rm -fr obj && mkdir obj= ) && (cd /usr && tar cpf - obj) | (cd /var/tmp && tar xpf -) it ran for a while, then: : jemalloc_arena.c:182: Failed assertion: "p[i] =3D=3D 0" Abort (core dumped)=20 root@freebeast:/common/home/david # echo $? 134 root@freebeast:/common/home/david # ls -lTio *.core ls: No match. root@freebeast:/common/home/david #=20 So ... no core file, apparently. freebeast(10.0-C)[2] find /usr/src/contrib/jemalloc -type f -name jemalloc_= arena.c freebeast(10.0-C)[3]=20 No file named "jemalloc_arena.c", either. But contrib/jemalloc/src/arena.c contains a function, arena_chunk_validate_zeroed(): 175 static inline void 176 arena_chunk_validate_zeroed(arena_chunk_t *chunk, size_t run_ind) 177 { 178 size_t i; 179 UNUSED size_t *p =3D (size_t *)((uintptr_t)chunk + (run_ind= << LG_PAGE)); 180 181 for (i =3D 0; i < PAGE / sizeof(size_t); i++) 182 assert(p[i] =3D=3D 0); 183 } Thoughts? Peace, david --=20 David H. Wolfskill david@catwhisker.org Depriving a girl or boy of an opportunity for education is evil. See http://www.catwhisker.org/~david/publickey.gpg for my public key. --5vjQsMS/9MbKYGLq Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk+TAkkACgkQmprOCmdXAD2jfQCfS94b38bxaweu790F6yhDbYXu f34An2WWlj/P1U3vrhqE0Ed6UNr1G2QZ =Wso1 -----END PGP SIGNATURE----- --5vjQsMS/9MbKYGLq--