From owner-freebsd-arm@freebsd.org Sat Aug 29 22:06:08 2015 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BC0149C4F1F for ; Sat, 29 Aug 2015 22:06:08 +0000 (UTC) (envelope-from prvs=676cd4fe7=julien.grall@citrix.com) Received: from SMTP02.CITRIX.COM (smtp02.citrix.com [66.165.176.63]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "mail.citrix.com", Issuer "Verizon Public SureServer CA G14-SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 512922E6; Sat, 29 Aug 2015 22:06:07 +0000 (UTC) (envelope-from prvs=676cd4fe7=julien.grall@citrix.com) X-IronPort-AV: E=Sophos;i="5.17,432,1437436800"; d="scan'208";a="299260537" Message-ID: <55E22CC0.9000306@citrix.com> Date: Sat, 29 Aug 2015 23:05:52 +0100 From: Julien Grall User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: , CC: freebsd-arm Subject: arm64: userspace broken with jemalloc 4.0.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-DLP: MIA2 X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 29 Aug 2015 22:06:08 -0000 Hi, I've built the latest freebsd master (r287263) for arm64 today. While trying to use the userspace I hit some ASSERT in jemalloc: # ls : /usr/src/freebsd/lib/libc/../../contrib/jemalloc/include/jemalloc/internal/arena.h:571: Failed assertion: "pageind >= map_bias" pid 21 (ls), uid 0: exited on signal 6 Abort trap It's happening every time with the command "ls". I tried to use the previous version of jemalloc (i.e reverting all the patches up to "Update jemalloc to version 4.0.0" included) and everything is working. Note that I'm using Freebsd as a Xen ARM guest although the only difference is the version of jemalloc (4.0.0 vs 3.6.0). Does anyone using arm64 have seen a similar ASSERT? BTW, is there any way to rebuild only the libc rather than doing make buildworld everytime I modified the jemalloc code? Regards, -- Julien Grall