From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Building the igc branch on MS-Windows Date: Wed, 24 Apr 2024 19:07:54 +0300 Message-ID: <868r123fs5.fsf@gnu.org> References: <86il063imh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="32302"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Gerd =?utf-8?Q?M=C3=B6llmann?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 24 18:08:32 2024 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rzfAe-0008AM-8B for ged-emacs-devel@m.gmane-mx.org; Wed, 24 Apr 2024 18:08:32 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rzfA8-00022z-Gc; Wed, 24 Apr 2024 12:08:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzfA6-00021E-Cw for emacs-devel@gnu.org; Wed, 24 Apr 2024 12:07:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rzfA6-0002DY-3n; Wed, 24 Apr 2024 12:07:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=JMWOGcRuuTULJOKW3aUIjLUR8JCDUMvQ2ZAg4n3B+Dc=; b=dbKR1XGWcpunl+OUPlsE /81UUTh4o8bKTYy4cFYklS4QgeOBjmRtIwjziXk8uW2hK4gcZO2Dbkl4W6Bbo/G2ZhWnlSNlpYkce d8Fs/38xBvc0UtG/iQaMSFLzBj9uavdkFulD86Lka8YMaPzm9AXspvv8gmYpqs4yRjwR/iYU4iDK5 HOxafHI+TmsKgJL6MLLZyjTqYVIZ73F+dNjl8IR3R/xC1z1RUsD9CFQjzk2XdNSbcf/4+ST7ur0VZ C3RJhuhnP5cDSNjfJts1uF7X+XkV+9aGNh0+tVkP6F5V/ZMsIDQwD82YYJjL0LeNZybifIa5BIGNx JUozvzCtc//v8w==; In-Reply-To: (message from Gerd =?utf-8?Q?M=C3=B6llmann?= on Wed, 24 Apr 2024 17:20:53 +0200) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:318035 Archived-At: > From: Gerd Möllmann > Cc: emacs-devel@gnu.org > Date: Wed, 24 Apr 2024 17:20:53 +0200 > > > Loading d:/gnu/git/emacs/feature/lisp/faces.el (source)... > > > > poolamc.c:1291: Emacs fatal error: assertion failed: p == clientLimit > > > > and I have no idea where to go from here. (I'll later try to install > > a debug version of libmps and step with GDB through the code which > > hits the assertion violation, but I doubt that I will be any wiser > > after that, as the significance of what the function > > amcSegScanNailedRange, which hits the assertion, does evades me.) > > I think -lmps-debug will definitely help. It has many more assertions > and might detect a problem much earlier. I linked with -lmps-debug, and I got this assertion instead: Loading d:/gnu/git/emacs/feature/lisp/faces.el (source)... nailboard.c:205: Emacs fatal error: assertion failed: i < nailboardLevelBits(nailboardNails(board), level) Does this give more information about a possible reason? The relevant code in MPS is this: static Index nailboardIndex(Nailboard board, Index level, Addr addr) { Index i = AddrOffset(RangeBase(&board->range), addr) >> (board->alignShift + level * LEVEL_SHIFT); AVER_CRITICAL(i < nailboardLevelBits(nailboardNails(board), level)); return i; } and LEVEL_SHIFT is /* Log2 of scale factor between levels. . */ #define LEVEL_SHIFT MPS_WORD_SHIFT and MPS_WORD_SHIFT is 5 for this platform (as for all the other 32-bit platforms defined in mpstd.h).